[114130] trunk/dports/devel/libgdiplus
ryandesign at macports.org
ryandesign at macports.org
Fri Nov 29 15:30:24 PST 2013
Revision: 114130
https://trac.macports.org/changeset/114130
Author: ryandesign at macports.org
Date: 2013-11-29 15:30:23 -0800 (Fri, 29 Nov 2013)
Log Message:
-----------
libgdiplus: fix build with freetype 2.5.1
Modified Paths:
--------------
trunk/dports/devel/libgdiplus/Portfile
trunk/dports/devel/libgdiplus/files/patch-libpng-1.5.diff
Added Paths:
-----------
trunk/dports/devel/libgdiplus/files/patch-freetype-2.5.1.diff
Modified: trunk/dports/devel/libgdiplus/Portfile
===================================================================
--- trunk/dports/devel/libgdiplus/Portfile 2013-11-29 22:54:51 UTC (rev 114129)
+++ trunk/dports/devel/libgdiplus/Portfile 2013-11-29 23:30:23 UTC (rev 114130)
@@ -36,7 +36,8 @@
port:xorg-libsm \
port:xrender
-patchfiles patch-libpng-1.5.diff
+patchfiles patch-freetype-2.5.1.diff \
+ patch-libpng-1.5.diff
post-patch {
reinplace "s/-pthread/-lpthread/g" ${worksrcpath}/configure
Added: trunk/dports/devel/libgdiplus/files/patch-freetype-2.5.1.diff
===================================================================
--- trunk/dports/devel/libgdiplus/files/patch-freetype-2.5.1.diff (rev 0)
+++ trunk/dports/devel/libgdiplus/files/patch-freetype-2.5.1.diff 2013-11-29 23:30:23 UTC (rev 114130)
@@ -0,0 +1,14 @@
+Fix build with freetype 2.5.1.
+https://bugzilla.xamarin.com/show_bug.cgi?id=16521
+--- src/gdiplus-private.h.orig 2011-12-02 11:23:12.000000000 -0600
++++ src/gdiplus-private.h 2013-11-29 17:26:34.000000000 -0600
+@@ -30,7 +30,8 @@
+ #include <stdio.h>
+ #include <math.h>
+ #include <glib.h>
+-#include <freetype/tttables.h>
++#include <ft2build.h>
++#include FT_TRUETYPE_TABLES_H
+ #include <pthread.h>
+ #include <unistd.h>
+
Modified: trunk/dports/devel/libgdiplus/files/patch-libpng-1.5.diff
===================================================================
--- trunk/dports/devel/libgdiplus/files/patch-libpng-1.5.diff 2013-11-29 22:54:51 UTC (rev 114129)
+++ trunk/dports/devel/libgdiplus/files/patch-libpng-1.5.diff 2013-11-29 23:30:23 UTC (rev 114130)
@@ -1,5 +1,5 @@
-Fix build with png-1.5.
-
+Fix build with libpng 1.5.
+https://bugzilla.xamarin.com/show_bug.cgi?id=1632
--- src/pngcodec.c.orig 2010-11-03 16:52:54.000000000 +0000
+++ src/pngcodec.c
@@ -116,10 +116,15 @@ gdip_load_png_properties (png_structp pn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131129/25fee80d/attachment-0001.html>
More information about the macports-changes
mailing list