summaryrefslogtreecommitdiffstats
path: root/games/ember/ember.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 00:23:05 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-09 09:20:16 +0700
commitd1169f089b23d0d9c83afe7d6f5d8d31f624f5dd (patch)
tree3a755594e5411233ada1a0097db6d334c1cdaf6d /games/ember/ember.SlackBuild
parentc1fa7ec228392481904847a3a36ec30fd3fe431b (diff)
downloadslackbuilds-d1169f089b23d0d9c83afe7d6f5d8d31f624f5dd.tar.gz
slackbuilds-d1169f089b23d0d9c83afe7d6f5d8d31f624f5dd.tar.xz
games/ember: Updated for version 0.7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/ember/ember.SlackBuild')
-rw-r--r--games/ember/ember.SlackBuild19
1 files changed, 15 insertions, 4 deletions
diff --git a/games/ember/ember.SlackBuild b/games/ember/ember.SlackBuild
index 08d8ec6edf..3fd14273d0 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 \