diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2016-06-07 14:54:06 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-08 08:33:44 +0700 |
commit | 8717b9bf608841c2bff28e188a3b6ce871f917fa (patch) | |
tree | 7b5f6ec004dbaea64af5a63aa7fc5b06506fd38e | |
parent | 8f9859211579cd41f7785d979f193bdd70564b7e (diff) | |
download | slackbuilds-8717b9bf608841c2bff28e188a3b6ce871f917fa.tar.gz |
games/ember: Fix building on -current.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r-- | games/ember/World.patch | 11 | ||||
-rw-r--r-- | games/ember/ember.SlackBuild | 6 |
2 files changed, 15 insertions, 2 deletions
diff --git a/games/ember/World.patch b/games/ember/World.patch new file mode 100644 index 0000000000..bfadeb1f1e --- /dev/null +++ b/games/ember/World.patch @@ -0,0 +1,11 @@ +--- ember-0.7.2/src/components/ogre/World.h.orig 2016-06-06 21:36:18.577010745 +0300 ++++ ember-0.7.2/src/components/ogre/World.h 2016-06-07 13:12:05.176490278 +0300 +@@ -19,6 +19,8 @@ + #ifndef EMBEROGRE_WORLD_H_ + #define EMBEROGRE_WORLD_H_ + ++#include "GraphicalChangeAdapter.h" ++ + #include "OgreIncludes.h" + #include <sigc++/signal.h> + #include <sigc++/trackable.h> diff --git a/games/ember/ember.SlackBuild b/games/ember/ember.SlackBuild index 3fd14273d0..4dd87a5eb3 100644 --- a/games/ember/ember.SlackBuild +++ b/games/ember/ember.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ember -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=ember VERSION=${VERSION:-0.7.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -81,6 +81,8 @@ 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 +patch -p1 < $CWD/World.patch + mkdir -p `arch` && cd `arch` CFLAGS="$SLKCFLAGS -fpermissive" \ CXXFLAGS="$SLKCFLAGS -fpermissive" \ |