Le 19/11/2012 17:59, Schindler Karl-Michael a écrit :
For fink I do not really need options for fat binaries, but others might welcome them.
OK, but I would be interested that somebody checks these options.
When validating the fink package, the install_name of the
dylib was incorrect. In order to fix it, I had to do one more replacement in makefile.osx:
-dylib_install_name,$(notdir $(GRX20SHna))
-install_name ${libdir}/libgrx20X-$(GRX_VERSION).dylib
OK , corrected as
-install_name,$(libdir)/$(notdir $(GRX20SHna))
for consistency. The result is the same.
Another point is that new versions (1.4 or 1.5) of libpng cannot be used, because png_check_sig is referenced from querypng and readpng in png2ctx.c. A quick google on the topic revealed this page:
http://bugs.sun.com/view_bug.do?bug_id=6959123
They reference this patch
http://cr.openjdk.java.net/~andrew/libpng/webrev.01/src/share/native/sun/awt...
In analogy to it, this should be a patch for src/gformats/png2ctx.c:
- if( ! png_check_sig( buf,8 ) ) return -1;
- if(png_sig_cmp( buf,0,8 ) ) return -1;
OK, checked and included. Does not break anything anyway.
New version of macosx.diff uploaded
Maurice