[114139] trunk/dports/gnome/libgnomeprint
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 30 02:14:48 PST 2013
Revision: 114139
https://trac.macports.org/changeset/114139
Author: ryandesign at macports.org
Date: 2013-11-30 02:14:48 -0800 (Sat, 30 Nov 2013)
Log Message:
-----------
libgnomeprint: fix build with freetype 2.5.1 (#41613)
Modified Paths:
--------------
trunk/dports/gnome/libgnomeprint/Portfile
Added Paths:
-----------
trunk/dports/gnome/libgnomeprint/files/patch-freetype-2.5.1.diff
Modified: trunk/dports/gnome/libgnomeprint/Portfile
===================================================================
--- trunk/dports/gnome/libgnomeprint/Portfile 2013-11-30 09:17:59 UTC (rev 114138)
+++ trunk/dports/gnome/libgnomeprint/Portfile 2013-11-30 10:14:48 UTC (rev 114139)
@@ -39,6 +39,9 @@
# https://bugzilla.gnome.org/show_bug.cgi?id=653388
patchfiles missing-stdio.patch
+# https://bugzilla.gnome.org/show_bug.cgi?id=719592
+patchfiles-append patch-freetype-2.5.1.diff
+
configure.args --disable-gtk-doc
livecheck.type gnome
Added: trunk/dports/gnome/libgnomeprint/files/patch-freetype-2.5.1.diff
===================================================================
--- trunk/dports/gnome/libgnomeprint/files/patch-freetype-2.5.1.diff (rev 0)
+++ trunk/dports/gnome/libgnomeprint/files/patch-freetype-2.5.1.diff 2013-11-30 10:14:48 UTC (rev 114139)
@@ -0,0 +1,38 @@
+Fix build with freetype 2.5.1.
+https://bugzilla.gnome.org/show_bug.cgi?id=719592
+--- libgnomeprint/gnome-font-face.c.orig 2010-02-09 06:32:51.000000000 -0600
++++ libgnomeprint/gnome-font-face.c 2013-11-30 04:10:52.000000000 -0600
+@@ -36,7 +36,8 @@
+ #include <stdarg.h>
+ #include <locale.h>
+
+-#include <freetype/ftoutln.h>
++#include <ft2build.h>
++#include FT_OUTLINE_H
+
+ #include <libgnomeprint/gnome-print-private.h>
+ #include <libgnomeprint/gnome-font-private.h>
+--- libgnomeprint/gnome-print-gdi.c.orig 2010-02-09 06:32:51.000000000 -0600
++++ libgnomeprint/gnome-print-gdi.c 2013-11-30 04:10:07.000000000 -0600
+@@ -36,7 +36,7 @@
+ #include <libgnomeprint/gp-gc-private.h>
+
+ #include <ft2build.h>
+-#include <freetype/freetype.h>
++#include FT_FREETYPE_H
+
+ #define WIN32_LEAN_AND_MEAN
+ #include <windows.h>
+--- libgnomeprint/gnome-rfont.c.orig 2010-02-09 06:32:51.000000000 -0600
++++ libgnomeprint/gnome-rfont.c 2013-11-30 04:09:50.000000000 -0600
+@@ -28,8 +28,8 @@
+
+ #include <ft2build.h>
+ #include FT_FREETYPE_H
+-#include <freetype/ftglyph.h>
+-#include <freetype/ftbbox.h>
++#include FT_GLYPH_H
++#include FT_BBOX_H
+ #include <libart_lgpl/art_misc.h>
+ #include <libart_lgpl/art_affine.h>
+ #include <libart_lgpl/art_vpath.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131130/2f0ca2d2/attachment-0001.html>
More information about the macports-changes
mailing list