aboutsummaryrefslogtreecommitdiff
path: root/games/ember
diff options
context:
space:
mode:
Diffstat (limited to 'games/ember')
-rw-r--r--games/ember/configure.patch11
-rw-r--r--games/ember/ember.SlackBuild19
-rw-r--r--games/ember/ember.info12
3 files changed, 32 insertions, 10 deletions
diff --git a/games/ember/configure.patch b/games/ember/configure.patch
new file mode 100644
index 0000000000000..415950c7f731c
--- /dev/null
+++ b/games/ember/configure.patch
@@ -0,0 +1,11 @@
+--- ember-0.7.2/configure.old 2016-02-06 13:43:10.960997615 +0700
++++ ember-0.7.2/configure 2016-02-06 13:43:40.090962492 +0700
+@@ -18020,7 +18020,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
+ $as_echo "$boost_cv_lib_version" >&6; }
+ # e.g. "134" for 1_34_1 or "135" for 1_35
+- boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
++ boost_major_version=159
+ case $boost_major_version in #(
+ '' | *[!0-9]*)
+ as_fn_error $? "invalid value: boost_major_version=$boost_major_version" "$LINENO" 5
diff --git a/games/ember/ember.SlackBuild b/games/ember/ember.SlackBuild
index 08d8ec6edf145..3fd14273d04f8 100644
--- a/games/ember/ember.SlackBuild
+++ b/games/ember/ember.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ember
-VERSION=${VERSION:-0.7.1}
+VERSION=${VERSION:-0.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,12 +67,23 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 755 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 755 {} \;
./autogen.sh
+
+sed -i "/#include <sigc++\/object_slot.h>/d" src/services/server/ServerService.h
+sed -i "/#include <sigc++\/object_slot.h>/d" src/services/logging/LoggingService.cpp
+sed -i "/#include <sigc++\/object_slot.h>/d" src/components/ogre/terrain/TerrainManager.cpp
+sed -i "/#include <sigc++\/object.h>/d" src/services/metaserver/MetaserverService.h
+sed -i "/#include <sigc++\/object.h>/d" src/services/server/OOGChat.h
+sed -i "/#include <sigc++\/object.h>/d" src/services/wfut/WfutService.h
+sed -i "/#include <sigc++\/object.h>/d" src/services/wfut/WfutSession.h
+# hard coded boost version!!!
+# make sure to update whenever new version is used
+patch -p1 < $CWD/configure.patch
mkdir -p `arch` && cd `arch`
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fpermissive" \
+CXXFLAGS="$SLKCFLAGS -fpermissive" \
../configure \
--prefix=/usr \
--bindir=/usr/bin \
diff --git a/games/ember/ember.info b/games/ember/ember.info
index 709012c17536b..4727be8a5fe88 100644
--- a/games/ember/ember.info
+++ b/games/ember/ember.info
@@ -1,12 +1,12 @@
PRGNAM="ember"
-VERSION="0.7.1"
+VERSION="0.7.2"
HOMEPAGE="https://sourceforge.net/projects/worldforge/"
-DOWNLOAD="http://sourceforge.net/projects/worldforge/files/Ember%20%28OGRE%20client%29/0.7.1/ember-0.7.1.tar.bz2 \
- http://sourceforge.net/projects/worldforge/files/Ember%20%28OGRE%20client%29/0.7.1/ember-media-0.7.1.tar.bz2"
-MD5SUM="bfcd6f5a9980b05172c45791dba611cf \
- 773df69df42628c4d9933a74f109335c"
+DOWNLOAD="http://sourceforge.net/projects/worldforge/files/Ember%20%28OGRE%20client%29/0.7.2/ember-0.7.2.tar.bz2 \
+ http://sourceforge.net/projects/worldforge/files/Ember%20%28OGRE%20client%29/0.7.2/ember-media-0.7.2.tar.bz2"
+MD5SUM="5fa2cf860ebe66674d5e5e05c8e87009 \
+ fb36fc4770fcea24f0fc839986b786b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="FreeImage tolua++ freealut ogre CEGUI0.7 eris libwfut varconf"
+REQUIRES="FreeImage tolua++ freealut ogre CEGUI eris libwfut varconf"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"