From owner-freebsd-ports Fri Jun 14 10:50:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 14DB637B40E for ; Fri, 14 Jun 2002 10:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5EHo1922352; Fri, 14 Jun 2002 10:50:01 -0700 (PDT) (envelope-from gnats) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by hub.freebsd.org (Postfix) with ESMTP id 0548537B40F; Fri, 14 Jun 2002 10:40:49 -0700 (PDT) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.3/8.12.3) with ESMTP id g5EHemAW056107; Fri, 14 Jun 2002 13:40:48 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.4/8.12.4/Submit) id g5EHemrx056106; Fri, 14 Jun 2002 13:40:48 -0400 (EDT) Message-Id: <200206141740.g5EHemrx056106@kanpc.gte.com> Date: Fri, 14 Jun 2002 13:40:48 -0400 (EDT) From: Alexander Kabaev Reply-To: Alexander Kabaev To: FreeBSD-gnats-submit@FreeBSD.org Cc: kuriyama@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/39301: Unbreak textproc/jade port for GCC 3.1 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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