summaryrefslogtreecommitdiff
path: root/graphics/php80-gd/files/patch-gd.c
blob: 37de5d8772fc4154c39b877e804bdac710e4faf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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