Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting9.git;a=commitdiff;h=57687ad88678571f592a20549a319415c1b375dc

commit 57687ad88678571f592a20549a319415c1b375dc
Author: James Buren <[email protected]>
Date:   Tue Jan 1 08:14:46 2013 -0600

freeorion-0.4.1-3-x86_64
* rebuild with boost

diff --git a/source/games-extra/freeorion/FrugalBuild 
b/source/games-extra/freeorion/FrugalBuild
index 54caf97..3f7e3b3 100644
--- a/source/games-extra/freeorion/FrugalBuild
+++ b/source/games-extra/freeorion/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=freeorion
pkgver=0.4.1
-pkgrel=2
+pkgrel=3
pkgdesc="Free Clone of Master of Orion. Static linked version."
url="http://freeorion.org/";
_F_desktop_name="Freeorion"
@@ -17,13 +17,15 @@ _F_sourceforge_name="FreeOrion"
_F_cmake_confopts="-DRELEASE_COMPILE_FLAGS=-DNDEBUG"
archs=('i686' 'x86_64')
groups=('games-extra')
-depends=('boost>=1.46' 'fmod' 'sdl>=1.2.14' 'openal' 'libvorbis' 'gigi>=1044' 
'python' 'freealut' 'bullet' 'ogre>=1.8.1')
+depends=('fmod' 'sdl>=1.2.14' 'openal' 'libvorbis' 'gigi>=1074-3' 'python' 
'freealut' 'bullet' 'ogre>=1.8.1-2')
+makedepends=('boost>=1.50.0')
Finclude sourceforge cmake
up2date="lynx --dump http://www.freeorion.org/index.php/Compile | grep -m1 
'FreeOrion v' | sed 's/.*FreeOrion v\([\.0-9]*\)/\1/'"
source=(http://ftp.frugalware.org/pub/other/sources/freeorion/FreeOrion-$pkgver.tar.xz
 \
-       $pkgname.png)
+       $pkgname.png boost.patch)
sha1sums=('ef13f197846941c36fa46c2c1728233495cf13cf' \
-          '51d7d9a9e9e9555f2646e693f0e48d28a5f06f2e')
+          '51d7d9a9e9e9555f2646e693f0e48d28a5f06f2e' \
+          '7b275adfe6a1ea463bd872a99f43da10bce44a5a')

build()
{
diff --git a/source/games-extra/freeorion/boost.patch 
b/source/games-extra/freeorion/boost.patch
new file mode 100644
index 0000000..3fb9338
--- /dev/null
+++ b/source/games-extra/freeorion/boost.patch
@@ -0,0 +1,12 @@
+diff -ur a/util/MultiplayerCommon.cpp b/util/MultiplayerCommon.cpp
+--- a/util/MultiplayerCommon.cpp       2012-07-18 00:17:10.000000000 -0500
++++ b/util/MultiplayerCommon.cpp       2013-01-01 08:01:00.154415323 -0600
+@@ -411,7 +411,7 @@
+ void Sleep(int ms)
+ {
+     boost::xtime t;
+-    boost::xtime_get(&t, boost::TIME_UTC);
++    boost::xtime_get(&t, boost::TIME_UTC_);
+     int ns_sum = t.nsec + ms * 1000000;
+     const int NANOSECONDS_PER_SECOND = 1000000000;
+     int delta_secs = ns_sum / NANOSECONDS_PER_SECOND;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to