aboutsummaryrefslogtreecommitdiff
path: root/graphics/php82-gd
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-06-11 20:59:05 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-06-11 21:02:49 +0000
commit665b149d2692ff6926a092568304091995e07d39 (patch)
tree43733e6164a8fac2635af7542a26e80c2524c28c /graphics/php82-gd
parent86d3a1352320828ae4d68b3a49ea1916d4ee3389 (diff)
downloadports-665b149d2692ff6926a092568304091995e07d39.tar.gz
ports-665b149d2692ff6926a092568304091995e07d39.zip
*/*php82*: Welcome php 8.2.0 Alpha 1
Please DO NOT use this version in production, it is an early test version. port-committers@ please DO NOT mark your ports IGNORE_WITH_PHP=82. A build is running to check all php ports with php82 and will be committed in batch tomorrow. Sponsored by: Bounce Experts
Diffstat (limited to 'graphics/php82-gd')
-rw-r--r--graphics/php82-gd/Makefile7
-rw-r--r--graphics/php82-gd/files/patch-gd.c11
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
+