[92005] trunk/dports/graphics/gd2
ryandesign at macports.org
ryandesign at macports.org
Sun Apr 15 15:35:26 PDT 2012
Revision: 92005
https://trac.macports.org/changeset/92005
Author: ryandesign at macports.org
Date: 2012-04-15 15:35:23 -0700 (Sun, 15 Apr 2012)
Log Message:
-----------
gd2: fix a fontconfig problem; see #26897
Modified Paths:
--------------
trunk/dports/graphics/gd2/Portfile
trunk/dports/graphics/gd2/files/patch-gdft.c.diff
Modified: trunk/dports/graphics/gd2/Portfile
===================================================================
--- trunk/dports/graphics/gd2/Portfile 2012-04-15 22:06:29 UTC (rev 92004)
+++ trunk/dports/graphics/gd2/Portfile 2012-04-15 22:35:23 UTC (rev 92005)
@@ -7,7 +7,7 @@
name gd2
version 2.0.35
-revision 11
+revision 12
categories graphics
maintainers ryandesign
license gd
Modified: trunk/dports/graphics/gd2/files/patch-gdft.c.diff
===================================================================
--- trunk/dports/graphics/gd2/files/patch-gdft.c.diff 2012-04-15 22:06:29 UTC (rev 92004)
+++ trunk/dports/graphics/gd2/files/patch-gdft.c.diff 2012-04-15 22:35:23 UTC (rev 92005)
@@ -1,6 +1,6 @@
---- gdft.c.org Sun Nov 14 04:21:18 2004
-+++ gdft.c Wed May 18 09:09:16 2005
-@@ -1363,7 +1363,7 @@
+--- gdft.c.orig
++++ gdft.c
+@@ -1402,7 +1402,7 @@ fprintf(stderr,"dpi=%d,%d metric_res=%d ptsize=%g\n",hdpi,vdpi,METRIC_RES,ptsize
#include <fontconfig/fontconfig.h>
@@ -9,3 +9,12 @@
#ifndef NO_POSTSCRIPT_ALIAS
typedef struct _PostscriptAlias {
char* name;
+@@ -1659,7 +1659,7 @@ static char * font_path(char **fontpath, char *name_list)
+ BGD_DECLARE(int) gdFTUseFontConfig(int flag)
+ {
+ #ifdef HAVE_LIBFONTCONFIG
+- fontConfigFlag = 1;
++ fontConfigFlag = flag;
+ return 1;
+ #else
+ return 0;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120415/62595300/attachment.html>
More information about the macports-changes
mailing list