[114082] trunk/dports/python/py-Pillow
Ryan Schmidt
ryandesign at macports.org
Sat Nov 30 19:28:27 PST 2013
On Nov 28, 2013, at 07:15, stromnov at macports.org wrote:
> Revision
> 114082
> Author
> stromnov at macports.org
> Date
> 2013-11-28 05:15:51 -0800 (Thu, 28 Nov 2013)
> Log Message
>
> py-Pillow: fix compiling with FreeType 2.5.1
> Modified Paths
>
> • trunk/dports/python/py-Pillow/Portfile
> Added Paths
>
> • trunk/dports/python/py-Pillow/files/patch-_imagingft.c.diff
> Diff
>
> Modified: trunk/dports/python/py-Pillow/Portfile (114081 => 114082)
>
> --- trunk/dports/python/py-Pillow/Portfile 2013-11-28 11:02:55 UTC (rev 114081)
> +++ trunk/dports/python/py-Pillow/Portfile 2013-11-28 13:15:51 UTC (rev 114082)
>
> @@ -6,7 +6,7 @@
>
>
>
> name py-Pillow
>
> version 2.2.1
>
> -revision 0
>
> +revision 1
>
Thanks for fixing this. But since this only fixed a compile problem, not a runtime problem, a revision increase probably wasn’t needed.
> --- trunk/dports/python/py-Pillow/files/patch-_imagingft.c.diff (rev 0)
> +++ trunk/dports/python/py-Pillow/files/patch-_imagingft.c.diff 2013-11-28 13:15:51 UTC (rev 114082)
>
> @@ -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 */
>
More information about the macports-dev
mailing list