Subject: pkg/23589: www/htdig does not configure with gcc 3 (fix included)
To: None <>
From: Julian Coleman <>
List: netbsd-bugs
Date: 11/28/2003 12:26:31
>Number:         23589
>Category:       pkg
>Synopsis:       www/htdig does not configure with gcc 3 (fix included)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 28 12:27:00 UTC 2003
>Originator:     Julian Coleman
>Release:        NetBSD 1.6ZF
System: NetBSD 1.6ZF NetBSD 1.6ZF (PC164LX) #0: Thu Nov 13 16:43:12 GMT 2003 alpha
Architecture: alpha
Machine: alpha
	www/htdig fails to configure with gcc 3, as it can't find the
	deprecated c++ headers that it uses:

checking for ostream.h... no
checking for iostream.h... no
checking for fstream.h... no
configure: error: To compile ht://Dig, you will need a C++ library. Try installing libstdc++.

	cd /usr/pkgsrc/www/htdig && make
	Apply patch (tested on 1.6ZF/alpha/gcc3 and 1.6L/sparc/gcc2):

--- /usr/pkgsrc/www/htdig/Makefile	2003-07-18 04:46:21.000000000 +0100
+++ Makefile	2003-11-28 11:34:18.000000000 +0000
@@ -24,7 +24,7 @@
 		--with-database-dir=/var/db/htdig \
 		--with-image-dir=${PREFIX}/share/examples/htdig \
-CPPFLAGS+=	-I${PREFIX}/include/db2
+CPPFLAGS+=	-I/usr/include/g++/backward -Wno-deprecated -I${PREFIX}/include/db2