[114014] trunk/dports/python/py-pil

stromnov at macports.org stromnov at macports.org
Wed Nov 27 04:25:38 PST 2013


Revision: 114014
          https://trac.macports.org/changeset/114014
Author:   stromnov at macports.org
Date:     2013-11-27 04:25:38 -0800 (Wed, 27 Nov 2013)
Log Message:
-----------
py-pil: fix compiling with freetype

Modified Paths:
--------------
    trunk/dports/python/py-pil/Portfile

Added Paths:
-----------
    trunk/dports/python/py-pil/files/patch-_imagingft.c.diff

Modified: trunk/dports/python/py-pil/Portfile
===================================================================
--- trunk/dports/python/py-pil/Portfile	2013-11-27 11:56:10 UTC (rev 114013)
+++ trunk/dports/python/py-pil/Portfile	2013-11-27 12:25:38 UTC (rev 114014)
@@ -5,7 +5,7 @@
 
 name            py-pil
 version         1.1.7
-revision        6
+revision        7
 license         MIT
 maintainers     jmr openmaintainer
 description     Python Imaging Library
@@ -27,7 +27,8 @@
 
 if {$subport != $name} {
     patchfiles      patch-setup.py pil-2009-raclette-fb7ce579f5f9.diff \
-                    patch-PIL-TiffImagePlugin.py.diff
+                    patch-PIL-TiffImagePlugin.py.diff \
+                    patch-_imagingft.c.diff
 
     depends_lib-append  port:freetype \
                         port:lcms \

Added: trunk/dports/python/py-pil/files/patch-_imagingft.c.diff
===================================================================
--- trunk/dports/python/py-pil/files/patch-_imagingft.c.diff	                        (rev 0)
+++ trunk/dports/python/py-pil/files/patch-_imagingft.c.diff	2013-11-27 12:25:38 UTC (rev 114014)
@@ -0,0 +1,14 @@
+--- _imagingft.c.orig	2013-11-27 16:07:53.000000000 +0400
++++ _imagingft.c	2013-11-27 16:12:01.000000000 +0400
+@@ -70,7 +70,11 @@
+     const char* message;
+ } ft_errors[] =
+ 
++#if defined(USE_FREETYPE_2_1)
++#include FT_ERRORS_H
++#else
+ #include <freetype/fterrors.h>
++#endif
+ 
+ /* -------------------------------------------------------------------- */
+ /* font objects */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131127/27f1c63c/attachment.html>


More information about the macports-changes mailing list