Fix the detection of png.h.
PR: ports/70529 Submitted by: maintainer Reported by: kris / pointyhat.
This commit is contained in:
parent
35d837f584
commit
44c7d4cd0b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116437
1 changed files with 11 additions and 0 deletions
11
www/wml/files/patch-gd_png.c
Normal file
11
www/wml/files/patch-gd_png.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- wml_common/gd/libgd/gd_png.c.orig Mon Aug 16 11:51:29 2004
|
||||
+++ wml_common/gd/libgd/gd_png.c Mon Aug 16 11:51:37 2004
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "gd.h"
|
||||
|
||||
#ifdef HAVE_LIBPNG
|
||||
-#include <png.h> /* includes zlib.h and setjmp.h */
|
||||
+#include <libpng/png.h> /* includes zlib.h and setjmp.h */
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
Loading…
Reference in a new issue