[spring/f15/master] - Boost fix

Gilboa Davara gilboa at fedoraproject.org
Thu Mar 10 03:16:42 UTC 2011


commit 384b6023bc9b5a1878075b06d21dd5681d56786f
Author: Gilboa Davara <gilboa at gilboa-home-dev.localdomain>
Date:   Thu Mar 10 05:16:27 2011 +0200

    - Boost fix

 spring.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/spring.spec b/spring.spec
index 88d0be3..7dbbe12 100644
--- a/spring.spec
+++ b/spring.spec
@@ -1,6 +1,6 @@
 Name:           spring
 Version:        0.82.7.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Multiplayer, 3D realtime strategy combat game
 
 Group:          Amusements/Games
@@ -57,6 +57,9 @@ find rts/lib/7z -type f | xargs chmod -x
 
 
 %build
+# Use boost filesystem 2 explicitly (bug 654807)
+export CFLAGS="$CFLAGS -DBOOST_FILESYSTEM_VERSION=2"
+export CXXFLAGS="$CXXFLAGS -DBOOST_FILESYSTEM_VERSION=2"
 # BUILD_SHARED_LIBS = ON causes a build failure:
 # http://springrts.com/phpbb/viewtopic.php?f=12&t=21120&p=399610
 #       -DBUILD_SHARED_LIBS:BOOL=OFF \
@@ -137,6 +140,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Mar 10 2011 Gilboa Davara <gilboad [AT] gmail [DOT] com> - 0.82.7.1-3
+- Boost fix (req for F15).
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.82.7.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list