From amdmi3@amdmi3.ru  Thu Dec 27 17:56:07 2007
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BDA9216A46C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Dec 2007 17:56:07 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from cp65.agava.net (cp65.agava.net [89.108.66.215])
	by mx1.freebsd.org (Postfix) with ESMTP id 769D113C4E9
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Dec 2007 17:56:07 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.63 (FreeBSD))
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1J7wyt-000N2g-TY
	for FreeBSD-gnats-submit@freebsd.org; Thu, 27 Dec 2007 20:57:19 +0300
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id 32B7B659C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Dec 2007 20:55:57 +0300 (MSK)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 347F417030; Thu, 27 Dec 2007 20:56:09 +0300 (MSK)
Message-Id: <20071227175609.347F417030@hades.panopticon>
Date: Thu, 27 Dec 2007 20:56:09 +0300 (MSK)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
Reply-To: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] games/blobandconquer: try to fix build on sparc64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         119071
>Category:       ports
>Synopsis:       [MAINTAINER] games/blobandconquer: try to fix build on sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 18:00:02 UTC 2007
>Closed-Date:    Thu Jan 03 21:05:43 UTC 2008
>Last-Modified:  Thu Jan  3 21:10:03 UTC 2008
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 27 18:00:10 UTC 2007 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119071 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Jan 3 21:05:42 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119071 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/119071: commit references a PR
Date: Thu,  3 Jan 2008 21:03:30 +0000 (UTC)

 miwi        2008-01-03 21:03:27 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games/blobandconquer Makefile 
   Added files:
     games/blobandconquer/files patch-src-world-bsp.cpp 
   Log:
   - Fix build on sparc64
   
   PR:             119071
   Submitted by:   Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
   
   Revision  Changes    Path
   1.15      +1 -0      ports/games/blobandconquer/Makefile
   1.1       +11 -0     ports/games/blobandconquer/files/patch-src-world-bsp.cpp (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
