summaryrefslogtreecommitdiff
path: root/graphics/gd/patches
diff options
context:
space:
mode:
authordrochner <drochner>2011-01-06 18:01:21 +0000
committerdrochner <drochner>2011-01-06 18:01:21 +0000
commit0fbc48a8db70a6eaaa171cf48a434c95680d81fa (patch)
tree039033d2017d396b92d7914a5d4155fee8e9e8d6 /graphics/gd/patches
parentb966be06d74943764fef7662b6c2edd025690b14 (diff)
downloadpkgsrc-0fbc48a8db70a6eaaa171cf48a434c95680d81fa.tar.gz
add a patch from upstream to fix a bug which made that fontconfig
support could not be switched off once enabled (could make a difference for gnuplot but I couldn't find a testcase yet)
Diffstat (limited to 'graphics/gd/patches')
-rw-r--r--graphics/gd/patches/patch-ab13
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/gd/patches/patch-ab b/graphics/gd/patches/patch-ab
index f0706106731..0eeef451646 100644
--- a/graphics/gd/patches/patch-ab
+++ b/graphics/gd/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.8 2005/06/06 18:38:08 minskim Exp $
+$NetBSD: patch-ab,v 1.9 2011/01/06 18:01:21 drochner Exp $
---- gdft.c.orig 2004-11-02 15:00:48.000000000 -0600
+--- gdft.c.orig 2007-04-19 12:54:56.000000000 +0000
+++ gdft.c
@@ -25,6 +25,261 @@
#define R_OK 04 /* Needed in Windows */
@@ -264,3 +264,12 @@ $NetBSD: patch-ab,v 1.8 2005/06/06 18:38:08 minskim Exp $
/* number of antialised colors for indexed bitmaps */
#define NUMCOLORS 8
+@@ -1659,7 +1914,7 @@ static char * font_path(char **fontpath,
+ BGD_DECLARE(int) gdFTUseFontConfig(int flag)
+ {
+ #ifdef HAVE_LIBFONTCONFIG
+- fontConfigFlag = 1;
++ fontConfigFlag = flag;
+ return 1;
+ #else
+ return 0;