summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile2
-rw-r--r--graphics/php82-exif/Makefile7
-rw-r--r--graphics/php82-gd/Makefile7
-rw-r--r--graphics/php82-gd/files/patch-gd.c11
4 files changed, 27 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index fb33a45f4a9c..61435e177464 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -766,7 +766,9 @@
SUBDIR += php80-exif
SUBDIR += php80-gd
SUBDIR += php81-exif
+ SUBDIR += php82-exif
SUBDIR += php81-gd
+ SUBDIR += php82-gd
SUBDIR += phplot
SUBDIR += picpuz
SUBDIR += piddle
diff --git a/graphics/php82-exif/Makefile b/graphics/php82-exif/Makefile
new file mode 100644
index 000000000000..82cafcb1fbf5
--- /dev/null
+++ b/graphics/php82-exif/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= graphics
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -exif
+
+.include "${MASTERDIR}/Makefile"
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
+