aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-GD1
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-03-19 17:55:45 +0800
committerdemon <demon@FreeBSD.org>2001-03-19 17:55:45 +0800
commit99582eecf1fe9400e548b0b6a30da94c9f1438ed (patch)
tree8fd54717d61a3be425e7c9e7184ef4c5e47e66c9 /graphics/p5-GD1
parentd0e88b503716df6a6b2f1541899a11c49a66c7b1 (diff)
downloadfreebsd-ports-gnome-99582eecf1fe9400e548b0b6a30da94c9f1438ed.tar.gz
freebsd-ports-gnome-99582eecf1fe9400e548b0b6a30da94c9f1438ed.tar.zst
freebsd-ports-gnome-99582eecf1fe9400e548b0b6a30da94c9f1438ed.zip
Replace Freetype1-specific call with one sutable to freetype2,
because gd depends on freetype2 for a while. Submitted by: David Bushong <david@bushong.net>
Diffstat (limited to 'graphics/p5-GD1')
-rw-r--r--graphics/p5-GD1/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/p5-GD1/files/patch-ab b/graphics/p5-GD1/files/patch-ab
new file mode 100644
index 000000000000..74379f65316f
--- /dev/null
+++ b/graphics/p5-GD1/files/patch-ab
@@ -0,0 +1,11 @@
+--- GD.xs.orig Thu Aug 24 18:41:47 2000
++++ GD.xs Mon Mar 19 12:45:05 2001
+@@ -1278,7 +1278,7 @@
+ img = NULL;
+ }
+
+- err = gdImageStringTTF(img,brect,fgcolor,fontname,ptsize,angle,x,y,string);
++ err = gdImageStringFT(img,brect,fgcolor,fontname,ptsize,angle,x,y,string);
+ if (err) {
+ errormsg = perl_get_sv("@",0);
+ if (errormsg != NULL)