mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Replace Freetype1-specific call with one sutable to freetype2,
because gd depends on freetype2 for a while. Submitted by: David Bushong <david@bushong.net>
This commit is contained in:
parent
27b6c96d7e
commit
19dcb04cd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40040
11
graphics/p5-GD/files/patch-ab
Normal file
11
graphics/p5-GD/files/patch-ab
Normal file
@ -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)
|
11
graphics/p5-GD1/files/patch-ab
Normal file
11
graphics/p5-GD1/files/patch-ab
Normal file
@ -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)
|
11
graphics/p5-GD2/files/patch-ab
Normal file
11
graphics/p5-GD2/files/patch-ab
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user