making a patch for blender?

Hi, now that I’ve been able to compile blender, I was wondering how to create a patch, not apply one. Using tortoiseCVS’s make patch tool works for my projects, but for blender it says there is no CVSROOT, repository, or entries, even clicking to initialize them dosen’t work. Does anyone know of a program other than toroiseCVS to make patch files? or how to make tortoiseCVS work to make them? or does anyone know how to use cvs diff to make patches. thanks…

If you can use a command line, try

 cvs -z3 -q diff -u > filename.diff

That works under GNU/Linux, not sure about Windows.

I use tortoiseCVS on Windows and it works OK.

it seems that you didn’t get the sources from tortoiseCVS, try downloading the sources again but this time via tortoiseCVS, so it will add a green icon in the bottom corner of the folder, saying that it’s up to date, when you modify a file it gets an orange icon, and then you can right-click > CVS > Make Patch, it will compare your file with the one in CVS, and give you a file with all those changes named file.c.patch

True, I downloaded them not from cvs, but, they do have the CVS icons

and from do i get it ???

for more and likely better help programming and compiling blender, visit the blender.org forum.

http://www.blender3d.org/forum/

I saw the patch on some blender website how can I use it ?

You need to install patch, search for GNUwin32 on sourceforge.net if you’re on windows. then after it’s installed, run patch -v from the command line to see if the program is recognized, if it’s not, then set an environment variable to the dir you have patch installed to. then run patch -p0 < yourpatch.patch. you can follow this guide also. http://www.blender.org/cms/Using_Patches.142.0.html

1 Like

Hey thank for reply, anyone try the new patch with cvs + new particle system grab it from graphicall.com -ok
What happen to the verse patch any update yet?
With the patch do I need the blender source code, I want to use either bloodshed dev c++ or ms express c++ - so that ok?

I saw this patch but it osx only, is there an equivalent in windows or linux?
Copy and Paste to Mac OS X clipboard from Blender text editor
https://projects.blender.org/tracker/index.php?func=detail&aid=4292&group_id=9&atid=127