[Qgis-developer] Link issues on mac

Tom Elwertowski telwertowski at comcast.net
Thu Apr 3 22:05:38 EDT 2008

If I am in my build directory and extract the patch file to my desktop, the following works:

patch -p0 -d .. < ~/Desktop/find.diff

I did notice that the patch files has an extra eol for each line. Files in the cmake directory do not have the svn:eol-style property set to native and are extracted on my Mac with DOS line terminators. Perhaps this is affecting you; the patch works for me when extracted from my own message after reverting the files.


John C. Tull wrote:
> I tried your patch and got an error. I am on rev 8315 also, so this 
> might be a problem with how I tried to patch. I put your patch text in a 
> file 'mac.diff' in the root of my svn directory.
> patch -p0 < mac.diff
> patching file cmake/FindExpat.cmake
> patch: **** malformed patch at line 31: FIND_LIBRARY(EXPAT_LIBRARY NAMES 
> expat libexpat PATHS

More information about the Qgis-developer mailing list