why doesn't patch work?

Hi, I’m trying to apply the 1-27-07 particle rewrite patch onto the 1-24-07 source (I don’t think this is problem because CVS is frozen so there shouln’t be that much change in three days) anyway, I’ve tried several versions of the GNUwin32 patch.exe, and they don’t work, they say
"patching file ‘projectfiles_vc7/blender/blender.vcproj’
Assertion failed: hunk, file patch.c, line 321

This application has requested the runtime to terminate in an unusual way.
Please contact the application’s support team for more information.

this is using patch version 2.5, I got the same with 2.5.9-6, and I got absolutely nothing with version 2.5.9. How do other people apply patches? help would be greatly appreciated

wrong forum.

try http://blender.org/forum/ for programming assistance.

Open the patch in wordpad or other “advanced” editor and save, normally it works after, the patch is in linux text format (don’t know exactly the terms).

Thank you! with the help of using a *.txt instead of a *.patch, and the advice from the other forum of not using the full patch, I am now cygwin making! (will edit to say if it’s succesful)

this is probably because my source is out of date, but just in case it isn’t, here is my cygwin output:

 
====> make all in intern
====> make all in intern/string
====> make all in intern/string/intern
====> make debug in intern/string/intern
    libstring.a already installed
    libstring.a already installed
    STR_HashedString.h already installed
    STR_String.h already installed
====> make all in intern/ghost
====> make all in intern/ghost/intern
====> make debug in intern/ghost/intern
    libghost.a already installed
    libghost.a already installed
    GHOST_C-api.h already installed
    GHOST_IEvent.h already installed
    GHOST_IEventConsumer.h already installed
    GHOST_ISystem.h already installed
    GHOST_ITimerTask.h already installed
    GHOST_IWindow.h already installed
    GHOST_Rect.h already installed
    GHOST_Types.h already installed
====> make all in intern/guardedalloc
====> make all in intern/guardedalloc/intern
====> make debug in intern/guardedalloc/intern
    libguardedalloc.a already installed
    libguardedalloc.a already installed
    MEM_guardedalloc.h already installed
====> make all in intern/bmfont
====> make all in intern/bmfont/intern
====> make debug in intern/bmfont/intern
    libbmfont.a already installed
    libbmfont.a already installed
    BMF_Api.h already installed
    BMF_Fonts.h already installed
    BMF_Settings.h already installed
====> make all in intern/moto
====> make all in intern/moto/intern
====> make debug in intern/moto/intern
    libmoto.a already installed
    libmoto.a already installed
    GEN_List.h already installed
    GEN_Map.h already installed
    MT_CmMatrix4x4.h already installed
    MT_Matrix3x3.h already installed
    MT_Matrix4x4.h already installed
    MT_MinMax.h already installed
    MT_Optimize.h already installed
    MT_Plane3.h already installed
    MT_Point2.h already installed
    MT_Point3.h already installed
    MT_Quaternion.h already installed
    MT_Scalar.h already installed
    MT_Stream.h already installed
    MT_Transform.h already installed
    MT_Tuple2.h already installed
    MT_Tuple3.h already installed
    MT_Tuple4.h already installed
    MT_Vector2.h already installed
    MT_Vector3.h already installed
    MT_Vector4.h already installed
    MT_assert.h already installed
    MT_random.h already installed
    NM_Scalar.h already installed
====> make all in intern/container
====> make all in intern/container/intern
====> make debug in intern/container/intern
    libcontainer.a already installed
    libcontainer.a already installed
    CTR_List.h already installed
    CTR_Map.h already installed
    CTR_TaggedIndex.h already installed
    CTR_TaggedSetOps.h already installed
    CTR_UHeap.h already installed
====> make all in intern/memutil
====> make all in intern/memutil/intern
====> make debug in intern/memutil/intern
    libmemutil.a already installed
    libmemutil.a already installed
    MEM_Allocator.h already installed
    MEM_CacheLimiter.h already installed
    MEM_CacheLimiterC-Api.h already installed
    MEM_NonCopyable.h already installed
    MEM_RefCountPtr.h already installed
    MEM_RefCounted.h already installed
    MEM_RefCountedC-Api.h already installed
    MEM_SmartPtr.h already installed
====> make all in intern/decimation
====> make all in intern/decimation/intern
====> make debug in intern/decimation/intern
    libdecimation.a already installed
    libdecimation.a already installed
    LOD_decimation.h already installed
====> make all in intern/iksolver
====> make all in intern/iksolver/intern
====> make debug in intern/iksolver/intern
    libiksolver.a already installed
    libiksolver.a already installed
    IK_solver.h already installed
====> make all in intern/bsp
====> make all in intern/bsp/intern
====> make debug in intern/bsp/intern
    libbsp.a already installed
    libbsp.a already installed
    CSG_BooleanOps.h already installed
====> make all in intern/SoundSystem
====> make all in intern/SoundSystem/intern
====> make all in intern/SoundSystem/dummy
====> make all in intern/SoundSystem/fmod
====> make all in intern/SoundSystem/openal
====> make all in intern/SoundSystem/sdl
====> make debug in intern/SoundSystem/intern
====> make debug in intern/SoundSystem/dummy
====> make debug in intern/SoundSystem/fmod
====> make debug in intern/SoundSystem/openal
====> make debug in intern/SoundSystem/sdl
    libSoundSystem.a already installed
    libSoundSystem.a already installed
    SND_C-api.h already installed
    SND_CDObject.h already installed
    SND_DependKludge.h already installed
    SND_DeviceManager.h already installed
    SND_IAudioDevice.h already installed
    SND_Object.h already installed
    SND_Scene.h already installed
    SND_SoundListener.h already installed
    SND_SoundObject.h already installed
    SND_Utils.h already installed
    SND_WaveCache.h already installed
    SND_WaveSlot.h already installed
    SoundDefines.h already installed
====> make all in intern/opennl
====> make all in intern/opennl/intern
====> make all in intern/opennl/superlu
====> make debug in intern/opennl/intern
====> make debug in intern/opennl/superlu
    libopennl.a already installed
    libopennl.a already installed
    ONL_opennl.h already installed
    libsuperlu.a already installed
    libsuperlu.a already installed
====> make all in intern/elbeem
====> make all in intern/elbeem/intern
====> make debug in intern/elbeem/intern
    libelbeem.a already installed
    libelbeem.a already installed
    LBM_fluidsim.h already installed
    elbeem.h already installed
====> make all in intern/boolop
====> make all in intern/boolop/intern
====> make debug in intern/boolop/intern
    libboolop.a already installed
    libboolop.a already installed
    BOP_Interface.h already installed
====> make all in source
****> Make all by @ at 11:12:47 29-Jan-2007 on windows
====> make all in source/creator
====> make all in source/blender
====> make all in source/blender/blenloader
====> make all in source/blender/blenloader/intern
gcc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -pipe -mno-cygwin -mwindows -DNDEBUG -O2
 -funsigned-char  -DFREE_WINDOWS  -I/cygdrive/c/build/bf-blender/blender/../lib/
windows/python/include/python2.4 -I/cygdrive/c/build/bf-blender/blender/../lib/w
indows/zlib/include -I../../writestreamglue -I../../readstreamglue -I../../readb
lenfile -I../../../kernel/gen_messaging -I../../makesdna -I../../blenlib -I/cygd
rive/c/build/bf-blender/blender/../lib/windows/guardedalloc/include -I../../blen
kernel -I../../render/extern/include/ -I../../python -I../../include -I.. readfi
le.c -o /cygdrive/c/build/bf-blender/blender/obj/windows/blender/blenloader/read
file.o
readfile.c: In function `direct_link_modifiers':
readfile.c:2928: error: `eModifierType_ParticleSystem' undeclared (first use in
this function)
readfile.c:2928: error: (Each undeclared identifier is reported only once
readfile.c:2928: error: for each function it appears in.)
make[4]: *** [/cygdrive/c/build/bf-blender/blender/obj/windows/blender/blenloade
r/readfile.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
Sam Fisher@Present /cygdrive/c/build/bf-blender/blender
$

(entire output wouln’t fit into console, and what I could get wasn’t allowed into this post)