ports/119071: [MAINTAINER] games/blobandconquer: try to fix build on sparc64
Dmitry Marakasov
amdmi3 at amdmi3.ru
Thu Dec 27 18:00:02 UTC 2007
>Number: 119071
>Category: ports
>Synopsis: [MAINTAINER] games/blobandconquer: try to fix build on sparc64
>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 Dec 27 18:00:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Marakasov
>Release: FreeBSD 7.0-BETA4 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Thu Dec 20 13:28:17 MSK 2007 root at hades.panopticon:/usr/obj/usr/src/sys/HADES i386
>Description:
Declare function before it's used to fix error reported by gcc (for some reason, only on sparc64)
Link to build error log:
http://pointyhat.freebsd.org/errorlogs/sparc64-errorlogs/e.7.2007121804/blobandconquer-0.91.1.log
>How-To-Repeat:
>Fix:
--- blobandconquer.patch begins here ---
diff -ruN blobandconquer.orig/Makefile blobandconquer/Makefile
--- blobandconquer.orig/Makefile 2007-12-27 19:31:01.000000000 +0300
+++ blobandconquer/Makefile 2007-12-27 20:53:11.000000000 +0300
@@ -7,6 +7,7 @@
PORTNAME= blobandconquer
DISTVERSION= 0.91-1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.amdmi3.ru/distfiles/ \
http://www.parallelrealities.co.uk/download.php?type=zip&file=
diff -ruN blobandconquer.orig/files/patch-src-world-bsp.cpp blobandconquer/files/patch-src-world-bsp.cpp
--- blobandconquer.orig/files/patch-src-world-bsp.cpp 1970-01-01 03:00:00.000000000 +0300
+++ blobandconquer/files/patch-src-world-bsp.cpp 2007-12-27 19:33:51.000000000 +0300
@@ -0,0 +1,11 @@
+--- src/world/bsp.cpp.orig 2007-05-22 00:26:13.000000000 +0400
++++ src/world/bsp.cpp 2007-12-27 19:33:21.000000000 +0300
+@@ -22,6 +22,8 @@
+
+ #define TESSELATION 10
+
++float swapBytes(float f);
++
+ TextureSpec *getTextureSpec(char *basename)
+ {
+ // ignore this texture
--- blobandconquer.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list