Subject: pkg/23083: package biology/glimmer build fails w/ gcc3
To: None <gnats-bugs@gnats.netbsd.org>
From: Tyler R.Retzlaff <rtr@NetBSD.org>
List: netbsd-bugs
Date: 10/08/2003 03:04:39
>Number: 23083
>Category: pkg
>Synopsis: package biology/glimmer build fails w/ gcc3
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 07 17:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Tyler R. Retzlaff
>Release: NetBSD 1.6ZC
>Organization:
>Environment:
System: NetBSD silence 1.6ZC NetBSD 1.6ZC (silence) #5: Fri Sep 26 22:31:33 EST 2003 rtr@silence:/usr/obj/netbsd/silence i386
Architecture: i386
Machine: i386
>Description:
package uses .h instead of c++ includes and fails to declare using namespace std
>How-To-Repeat:
cd /usr/pkgsrc/biology/glimmer && make
>Fix:
--- distinfo 30 Sep 2003 02:11:06 -0000 1.1.1.1
+++ distinfo 7 Oct 2003 16:53:30 -0000
@@ -3,3 +3,4 @@
SHA1 (glimmer21.tar.gz) = 676bf2150389b4eb817ef2db7c646a332151eaf7
Size (glimmer21.tar.gz) = 79091 bytes
SHA1 (patch-aa) = ceb45f887c32e91bd96b9d2c8dae39c9cc6fc658
+SHA1 (patch-ab) = f66c2504ba74cd14cfe80bb58337fabe2115e7ea
patch-ab
--- delcher.h.orig 2003-10-08 02:48:41.000000000 +1000
+++ delcher.h 2003-10-08 02:49:07.000000000 +1000
@@ -18,9 +18,9 @@
#include <stdio.h>
#include <stdlib.h>
-#include <iostream.h>
-#include <iomanip.h>
-#include <fstream.h>
+#include <iostream>
+#include <iomanip>
+#include <fstream>
#include <math.h>
#include <string.h>
#include <ctype.h>
@@ -31,6 +31,8 @@
#include <errno.h>
#include <unistd.h>
+using namespace std;
+
#define TRUE 1
#define FALSE 0
>Release-Note:
>Audit-Trail:
>Unformatted: