Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 13:40:48 -0400 (EDT)
From:      Alexander Kabaev <ak03@gte.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kuriyama@FreeBSD.org
Subject:   ports/39301: Unbreak textproc/jade port for GCC 3.1
Message-ID:  <200206141740.g5EHemrx056106@kanpc.gte.com>

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

>Number:         39301
>Category:       ports
>Synopsis:       Unbreak textproc/jade port for GCC 3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 14 10:50:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Kabaev
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kanpc.gte.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Jun 13 12:38:33 EDT 2002 root@kanpc.gte.com:/usr/obj/usr/src/sys/KANPC i386


	
>Description:
	Jade port faild to build on -CURRENT due to GCC upgrade. The patch
	at the end allows it to compile successfully.
>How-To-Repeat:
	Build the port on -CURRENT.
>Fix:

Index: files/patch-config.h
===================================================================
RCS file: files/patch-config.h
diff -N files/patch-config.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-config.h	14 Jun 2002 17:01:40 -0000
@@ -0,0 +1,13 @@
+--- include/config.h.orig	Fri Jun 14 12:58:51 2002
++++ include/config.h	Fri Jun 14 13:01:00 2002
+@@ -31,6 +31,10 @@
+ #define SP_ANSI_LIB
+ #define SP_NO_STD_NAMESPACE
+ #undef SP_NEW_H_MISSING
++#if __GNUC__ > 2
++#define SP_HAVE_TYPENAME
++#undef SP_NO_STD_NAMESPACE
++#endif
+ #endif
+ 
+ #endif /* __GNUG__ */
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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