diff options
Diffstat (limited to 'graphics/php82-gd')
-rw-r--r-- | graphics/php82-gd/Makefile | 7 | ||||
-rw-r--r-- | graphics/php82-gd/files/patch-gd.c | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/graphics/php82-gd/Makefile b/graphics/php82-gd/Makefile new file mode 100644 index 000000000000..16f2315ea41c --- /dev/null +++ b/graphics/php82-gd/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= graphics + +MASTERDIR= ${.CURDIR}/../../lang/php82 + +PKGNAMESUFFIX= -gd + +.include "${MASTERDIR}/Makefile" diff --git a/graphics/php82-gd/files/patch-gd.c b/graphics/php82-gd/files/patch-gd.c new file mode 100644 index 000000000000..37de5d8772fc --- /dev/null +++ b/graphics/php82-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 + |