From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 19 18:10:11 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6854816A406 for ; Thu, 19 Jul 2007 18:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9E813C4AA for ; Thu, 19 Jul 2007 18:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6JIABYK054557 for ; Thu, 19 Jul 2007 18:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6JIAA94054553; Thu, 19 Jul 2007 18:10:10 GMT (envelope-from gnats) Resent-Date: Thu, 19 Jul 2007 18:10:10 GMT Resent-Message-Id: <200707191810.l6JIAA94054553@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Sund Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D4D116A407 for ; Thu, 19 Jul 2007 18:08:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (groups.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 6E00F13C4D0 for ; Thu, 19 Jul 2007 18:08:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l6JI8f0G089597 for ; Thu, 19 Jul 2007 18:08:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l6JI8fvf089596; Thu, 19 Jul 2007 18:08:41 GMT (envelope-from nobody) Message-Id: <200707191808.l6JI8fvf089596@www.freebsd.org> Date: Thu, 19 Jul 2007 18:08:41 GMT From: Matthias Sund To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/114745: [devel/upp]: fix GCC 4.2 builds X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2007 18:10:11 -0000 >Number: 114745 >Category: ports >Synopsis: [devel/upp]: fix GCC 4.2 builds >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jul 19 18:10:09 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Matthias Sund >Release: FreeBSD 6 stable >Organization: >Environment: FreeBSD travelmate 6.2-STABLE FreeBSD 6.2-STABLE #1: Sat Jun 23 15:51:05 CEST 2007 masu@travelmate:/usr/obj/usr/src/sys/TRAVELMATE i386 >Description: Fixed build error when using GCC 4.2 where atomicity.h is located in ext instead of bits. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN upp_orig/Makefile upp/Makefile --- upp_orig/Makefile Thu Jul 19 20:04:20 2007 +++ upp/Makefile Thu Jul 19 20:04:00 2007 @@ -7,7 +7,7 @@ PORTNAME= upp PORTVERSION= 2007.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel x11-toolkits MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} diff -ruN upp_orig/files/patch-uppsrc-Core-Core.h upp/files/patch-uppsrc-Core-Core.h --- upp_orig/files/patch-uppsrc-Core-Core.h Thu Jan 1 01:00:00 1970 +++ upp/files/patch-uppsrc-Core-Core.h Thu Jul 19 20:02:19 2007 @@ -0,0 +1,19 @@ +--- uppsrc/Core/Core.h.orig Thu Jul 19 19:57:53 2007 ++++ uppsrc/Core/Core.h Thu Jul 19 19:59:16 2007 +@@ -300,8 +300,16 @@ + #include + + #ifdef PLATFORM_POSIX ++#ifdef COMPILER_GCC ++#if __GNUC__ > 3 ++#include ++#else ++#include ++#endif ++#else + #include + #endif ++#endif + + // fix MSC8 beta problem.... + #ifdef COMPILER_MSC >Release-Note: >Audit-Trail: >Unformatted: