[114216] trunk/dports/gnome/dia
ryandesign at macports.org
ryandesign at macports.org
Mon Dec 2 17:05:35 PST 2013
Revision: 114216
https://trac.macports.org/changeset/114216
Author: ryandesign at macports.org
Date: 2013-12-02 17:05:35 -0800 (Mon, 02 Dec 2013)
Log Message:
-----------
dia: fix build with freetype 2.5.1 (#41652)
Modified Paths:
--------------
trunk/dports/gnome/dia/Portfile
Added Paths:
-----------
trunk/dports/gnome/dia/files/patch-freetype-2.5.1.diff
Modified: trunk/dports/gnome/dia/Portfile
===================================================================
--- trunk/dports/gnome/dia/Portfile 2013-12-03 00:24:17 UTC (rev 114215)
+++ trunk/dports/gnome/dia/Portfile 2013-12-03 01:05:35 UTC (rev 114216)
@@ -43,6 +43,8 @@
patchfiles-append \
0004-7ac3e9ffac09f99a1aa2fe97a4dc0a688c9746b0.patch
+patchfiles-append patch-freetype-2.5.1.diff
+
post-patch {
reinplace s/isspecial/char_isspecial/ \
${worksrcpath}/objects/GRAFCET/boolequation.c
Added: trunk/dports/gnome/dia/files/patch-freetype-2.5.1.diff
===================================================================
--- trunk/dports/gnome/dia/files/patch-freetype-2.5.1.diff (rev 0)
+++ trunk/dports/gnome/dia/files/patch-freetype-2.5.1.diff 2013-12-03 01:05:35 UTC (rev 114216)
@@ -0,0 +1,16 @@
+Fix build with freetype 2.5.1.
+https://bugzilla.gnome.org/show_bug.cgi?id=719738
+--- a/plug-ins/postscript/diapsft2renderer.c 2009-11-07 11:13:53.000000000 -0600
++++ b/plug-ins/postscript/diapsft2renderer.c 2013-12-02 18:49:27.000000000 -0600
+@@ -29,8 +29,9 @@
+ #include <pango/pangoft2.h>
+ #include <pango/pango-engine.h>
+ /* I'd really rather avoid this */
+-#include <freetype/ftglyph.h>
+-#include <freetype/ftoutln.h>
++#include <ft2build.h>
++#include FT_GLYPH_H
++#include FT_OUTLINE_H
+
+ #define DPI 300
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131202/89c4f67a/attachment.html>
More information about the macports-changes
mailing list