Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2007 03:30:24 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113303: Update port: science/euler
Message-ID:  <20070604033024.211130f4.tkato432@yahoo.com>
Resent-Message-ID: <200706031840.l53Ie5Aj014799@freefall.freebsd.org>

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

>Number:         113303
>Category:       ports
>Synopsis:       Update port: science/euler
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 03 18:40:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix build with gcc4

New file:
euler/files/patch-src__command.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/science/euler/Makefile science/euler/Makefile
--- /usr/ports/science/euler/Makefile	Sun May 27 12:26:19 2007
+++ science/euler/Makefile	Sun May 27 14:08:39 2007
@@ -22,10 +22,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700042
-BROKEN=		Broken with gcc 4.2
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g ; \
 		 /^install-data-am/s|install-eulerdocDATA||g' ${WRKSRC}/Makefile.in
diff -urN /usr/ports/science/euler/files/patch-src__command.c science/euler/files/patch-src__command.c
--- /usr/ports/science/euler/files/patch-src__command.c	Thu Jan  1 09:00:00 1970
+++ science/euler/files/patch-src__command.c	Sun May 27 14:08:21 2007
@@ -0,0 +1,11 @@
+--- src/command.c.orig	Mon Oct 24 09:38:24 2005
++++ src/command.c	Sun May 27 14:08:14 2007
+@@ -732,7 +732,7 @@
+ }
+ 
+ 
+-static int command_count;
++int command_count;
+ 
+ commandtyp command_list[] = {
+ 	{"quit",c_quit,do_quit},
>Release-Note:
>Audit-Trail:
>Unformatted:



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