Bug 70529 - [maintainer-update] www/wml: fixed compilation error
Summary: [maintainer-update] www/wml: fixed compilation error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 11:20 UTC by Christian Lackas
Modified: 2004-08-16 21:33 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lackas 2004-08-16 11:20:14 UTC
	
	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)
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2004-08-16 21:33:26 UTC
State Changed
From-To: open->closed


Committed, thanks!