summaryrefslogtreecommitdiff
path: root/games/ember/ember.SlackBuild
diff options
context:
space:
mode:
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 \