[spring] Try to fix the build (TID 2403169)
Aurelien Bompard
abompard at fedoraproject.org
Mon Aug 16 17:34:31 UTC 2010
commit 47042c7aa18d0ee00a48a876810c2e7d2f5592f7
Author: Aurelien Bompard <abompard at fedoraproject.org>
Date: Mon Aug 16 19:34:21 2010 +0200
Try to fix the build (TID 2403169)
spring-0.82.3-includes.patch | 11 +++++++++++
spring.spec | 3 +++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/spring-0.82.3-includes.patch b/spring-0.82.3-includes.patch
new file mode 100644
index 0000000..24c1a27
--- /dev/null
+++ b/spring-0.82.3-includes.patch
@@ -0,0 +1,11 @@
+diff -up ./rts/lib/lobby/Connection.h.includes ./rts/lib/lobby/Connection.h
+--- ./rts/lib/lobby/Connection.h.includes 2010-08-16 19:26:41.038040429 +0200
++++ ./rts/lib/lobby/Connection.h 2010-08-16 19:26:47.545100606 +0200
+@@ -7,6 +7,7 @@
+ #include <boost/asio/deadline_timer.hpp>
+ #include <boost/asio/ip/tcp.hpp>
+ #include <string>
++#include <list>
+
+ struct ClientStatus
+ {
diff --git a/spring.spec b/spring.spec
index ffda115..7dff8c8 100644
--- a/spring.spec
+++ b/spring.spec
@@ -16,6 +16,8 @@ URL: http://springrts.com
Source0: http://springrts.com/dl/spring_%{version}_src.tar.lzma
Source1: spring-README.Fedora
+Patch0: spring-0.82.3-includes.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake SDL-devel openal-soft-devel boost-devel DevIL-devel
@@ -54,6 +56,7 @@ great resource, read it here: http://spring.clan-sy.com/wiki/Main_Page
cp -p %{SOURCE1} README.Fedora
touch ./rts/build/cmake/FindAllegro.cmake
find rts/lib/7z -type f | xargs chmod -x
+%patch0 -p0 -b .includes
%build
More information about the scm-commits
mailing list