Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2007 23:38:29 +0200 (CEST)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110885: [MAINTAINER] emulators/nonpareil: fix build with gcc41
Message-ID:  <20070326213829.0EB8F39DBA@pin.if.uz.zgora.pl>
Resent-Message-ID: <200703262130.l2QLUC7Q045602@freefall.freebsd.org>

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

>Number:         110885
>Category:       ports
>Synopsis:       [MAINTAINER] emulators/nonpareil: fix build with gcc41
>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:   Mon Mar 26 21:30:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Fix build with gcc41.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- nonpareil-0.78.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/emulators/nonpareil/files/patch-src_SConscript /home/trasz/nonpareil/files/patch-src_SConscript
--- /usr/ports/emulators/nonpareil/files/patch-src_SConscript	Wed Mar 21 10:59:03 2007
+++ /home/trasz/nonpareil/files/patch-src_SConscript	Mon Mar 26 23:37:38 2007
@@ -1,18 +1,18 @@
 --- src/SConscript.orig	Tue Oct 31 07:26:16 2006
-+++ src/SConscript	Mon Mar 19 08:45:58 2007
++++ src/SConscript	Mon Mar 26 23:12:06 2007
 @@ -41,16 +41,11 @@
  
  build_env.Append (CPPPATH = ['.'])
  build_env.Append (CPPPATH = ['#/build/common'])  # generated includes
 -build_env.Append (CCFLAGS = ['-Wall'])
-+build_env.Append (CCFLAGS = ['-Wall -O2 -fno-strict-aliasing -pipe -march=pentiumpro'])
++build_env.Append (CCFLAGS = "%%CFLAGS%%")
  build_env.Append (YACCFLAGS = [ '-d', '-v' ])
 -
 -if build_env ['debug'] :
 -    build_env.Append (CCFLAGS = ['-g'])
 -else:
 -    build_env.Append (CCFLAGS = ['-O2'])
-+build_env.Replace (CC = 'cc')
++build_env.Replace (CC = '%%CC%%')
  
  if cross and ming and build_target_only:
 -    build_env.Replace (CC = '/usr/local/mingw/bin/i586-mingw32msvc-gcc')
--- nonpareil-0.78.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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