Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 12:14:39 +0200 (CEST)
From:      Christian Lackas <delta@lackas.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   ports/70529: [maintainer-update] www/wml: fixed compilation error
Message-ID:  <200408161014.i7GAEdIX055453@zel726.zel.kfa-juelich.de>
Resent-Message-ID: <200408161020.i7GAKEfW081893@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70529
>Category:       ports
>Synopsis:       [maintainer-update] www/wml: fixed compilation error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 16 10:20:14 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christian Lackas
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
Delta Consulting
>Environment:
System: FreeBSD zel726.zel.kfa-juelich.de 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #17: Sat Aug 7 14:53:22 CEST 2004 root@zel726.zel.kfa-juelich.de:/usr/obj/usr/src/sys/KERNEL.ZEL726 i386


>Description:
	
	png.h not found

>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)

>Fix:

	Apply attached patch:

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



Reported by Kris Kennaway <kris@obsecurity.org>

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408161014.i7GAEdIX055453>