png.h not found Fix: Apply attached patch: Reported by Kris Kennaway <kris@obsecurity.org>--ctwfGUQ9ngXnxxUaF5pVc4Fj2FYxwu0FdpLMzGErHJmMCyj7 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" diff -urN /usr/ports/www/wml/files/patch-gd_png.c wml/files/patch-gd_png.c --- /usr/ports/www/wml/files/patch-gd_png.c Thu Jan 1 01:00:00 1970 +++ wml/files/patch-gd_png.c Mon Aug 16 11:58:03 2004 @@ -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 How-To-Repeat: cd /usr/ports/www/wml && make (worked for me before because I had an old png.h lying in /usr/local/include)
State Changed From-To: open->closed Committed, thanks!