diff options
Diffstat (limited to 'graphics/php80-gd')
-rw-r--r-- | graphics/php80-gd/Makefile | 13 | ||||
-rw-r--r-- | graphics/php80-gd/files/patch-gd.c | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/graphics/php80-gd/Makefile b/graphics/php80-gd/Makefile new file mode 100644 index 000000000000..de2d56a179cf --- /dev/null +++ b/graphics/php80-gd/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +CATEGORIES= graphics + +MASTERDIR= ${.CURDIR}/../../lang/php80 + +PKGNAMESUFFIX= -gd + +TEST_TARGET= test + +.include "${MASTERDIR}/Makefile" + +LIB_DEPENDS+= libgd.so:graphics/gd diff --git a/graphics/php80-gd/files/patch-gd.c b/graphics/php80-gd/files/patch-gd.c new file mode 100644 index 000000000000..37de5d8772fc --- /dev/null +++ b/graphics/php80-gd/files/patch-gd.c @@ -0,0 +1,11 @@ +--- gd.c.orig 2020-09-29 22:36:51 UTC ++++ gd.c +@@ -72,7 +72,7 @@ static int le_gd_font; + # include FT_FREETYPE_H + #endif + +-#if defined(HAVE_GD_XPM) && defined(HAVE_GD_BUNDLED) ++#if defined(HAVE_XPM) && defined(HAVE_GD_XPM) && defined(HAVE_GD_BUNDLED) + # include "X11/xpm.h" + #endif + |