pil-systempython27-1.1.7-7 build failure

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0Bb3NOZhz5r4wuaJirwmaiwgt_ijvdTjTqijE5+0fY0ug@mail.gmail.com>
Daniel,
     I am seeing the following build failure in pil-systempython27-1.1.7-7
on darwin15

cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common
-fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall
-Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall
-Wstrict-prototypes -DENABLE_DTRACE -pipe
-I/System/Library/Frameworks/Tcl.framework/Headers
-I/System/Library/Frameworks/Tk.framework/Headers -IlibImaging
-I/sw/include/freetype2 -I/sw/include
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include
-I/usr/include
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c _imagingft.c -o build/temp.macosx-10.11-intel-2.7/_imagingft.o
_imagingft.c:73:10: fatal error: 'fterrors.h' file not found
#include <fterrors.h>
         ^
1 error generated.

The following fix works here...

Index: pil-systempython.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/graphics/
pil-systempython.info,v
retrieving revision 1.3
diff -u -r1.3 pil-systempython.info
--- pil-systempython.info 6 Apr 2016 17:27:44 -0000 1.3
+++ pil-systempython.info 4 Oct 2016 15:00:37 -0000
@@ -21,7 +21,7 @@
 PatchFile-MD5: d4940dfb66a0168b61eb0c33dea352e5
 PatchScript: <<
   sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
-  perl -pi -e 's|freetype/fterrors.h|fterrors.h|' _imagingft.c
+  perl -pi -e 's|freetype/fterrors.h|freetype2/freetype/fterrors.h|'
_imagingft.c
 <<
 CompileScript: <<
  ARCHFLAGS=" " /usr/bin/python%type_raw[python] setup.py build

       Jack

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.