From 19dcb04cd20a36ac87f37a23fceb48559cb269a1 Mon Sep 17 00:00:00 2001 From: Dmitry Sivachenko Date: Mon, 19 Mar 2001 09:55:45 +0000 Subject: Replace Freetype1-specific call with one sutable to freetype2, because gd depends on freetype2 for a while. Submitted by: David Bushong --- graphics/p5-GD/files/patch-ab | 11 +++++++++++ graphics/p5-GD1/files/patch-ab | 11 +++++++++++ graphics/p5-GD2/files/patch-ab | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 graphics/p5-GD/files/patch-ab create mode 100644 graphics/p5-GD1/files/patch-ab create mode 100644 graphics/p5-GD2/files/patch-ab diff --git a/graphics/p5-GD/files/patch-ab b/graphics/p5-GD/files/patch-ab new file mode 100644 index 000000000000..74379f65316f --- /dev/null +++ b/graphics/p5-GD/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) 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) diff --git a/graphics/p5-GD2/files/patch-ab b/graphics/p5-GD2/files/patch-ab new file mode 100644 index 000000000000..74379f65316f --- /dev/null +++ b/graphics/p5-GD2/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) -- cgit v1.2.3