Ticket #46163: blockout2.diff

File blockout2.diff, 1.0 KB (added by jmroot (Joshua Root), 10 years ago)
  • Portfile

     
    4040                        patch-BlockOut-Utils.cpp.diff \
    4141                        patch-ImageLib-src-gif-gif.c.diff \
    4242                        patch-ImageLib-src-jpg-jpegdecoder.cpp.diff \
     43                        patch-ImageLib-src-png-hpng.c.diff \
    4344                        patch-ImageLib-src-Makefile.diff
    4445
    4546post-patch {
  • files/patch-ImageLib-src-Makefile.diff

     
    55 
    66 CXXFLAGS    = -O2 -Dlinux -c -I.
    77-CFLAGS      = -O2 -Dlinux -c -I.
    8 +CFLAGS      = -O2 -Dlinux -c -I. -I/usr/include/sys -DPNG_NO_ASSEMBLER_CODE -DPNG_NO_WRITE_tIME
     8+CFLAGS      = -O2 -Dlinux -c -I. -DPNG_NO_ASSEMBLER_CODE -DPNG_NO_WRITE_tIME
    99 
    1010 
    1111 #--------------------------------------------------------------------