ports/120916: [patch] math/gambit unbreak on 64 bits platforms + adopt maintainship
Pietro Cerutti
gahr at gahr.ch
Wed Feb 20 21:40:03 UTC 2008
>Number: 120916
>Category: ports
>Synopsis: [patch] math/gambit unbreak on 64 bits platforms + adopt maintainship
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 20 21:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Pietro Cerutti
>Release: FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD 8.0-CURRENT #4: Wed Feb 13 18:13:34 CET 2008
root at gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034
>Description:
This should fix the build on 64 bits platforms.
The patch have been tested on sparc64.
Please test it also on amd64.
While at it, adopt maintainship...
>How-To-Repeat:
>Fix:
--- _gambit.diff begins here ---
--- Makefile.orig 2008-02-20 22:34:14.000000000 +0100
+++ Makefile 2008-02-20 22:34:30.000000000 +0100
@@ -11,7 +11,7 @@
CATEGORIES= math
MASTER_SITES= SF
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= gahr at gahr.ch
COMMENT= A library of tools for doing computation in game theory
USE_GNOME= gnometarget gtk20
@@ -26,13 +26,7 @@
CFLAGS+= -O2 -fno-strict-aliasing
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64"
-BROKEN= Does not compile
-.endif
-
post-patch:
@${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- /dev/null 2008-02-20 22:33:01.000000000 +0100
+++ files/patch-src-tools-enumpoly_pelqhull.cc 2008-02-20 22:34:11.000000000 +0100
@@ -0,0 +1,11 @@
+--- src/tools/enumpoly/pelqhull.cc.orig 2008-02-20 19:44:12.000000000 +0100
++++ src/tools/enumpoly/pelqhull.cc 2008-02-20 19:51:31.000000000 +0100
+@@ -939,7 +939,7 @@
+ else {
+ SETreturnsize_(set, size);
+ fprintf (fp, "%s set=%x maxsize=%d size=%d elems=",
+- string, (unsigned int) set, set->maxsize, size);
++ string, (size_t) set, set->maxsize, size);
+ if (size > (int)set->maxsize)
+ size= set->maxsize+1;
+ for (k=0; k<size; k++)
--- _gambit.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list