Fix the detection of png.h.

PR:		ports/70529
Submitted by:	maintainer
Reported by:	kris / pointyhat.
This commit is contained in:
Thierry Thomas 2004-08-16 20:33:03 +00:00
parent 35d837f584
commit 44c7d4cd0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116437

View 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