summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-06 12:39:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-06 12:39:04 +0700
commit113a2b0ee09805de3749cbc0d7b722047aaa10fb (patch)
tree30e8bac30830b983896261423c36350fedf0d2fd /libraries
parent6e7754137e8dc9f24f252b26f4e39658a93a2bb0 (diff)
downloadslackbuilds-113a2b0ee09805de3749cbc0d7b722047aaa10fb.tar.gz
libraries/CEGUI0.7: Fix Build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/CEGUI0.7/CEGUI.patch13
-rw-r--r--libraries/CEGUI0.7/CEGUI0.7.SlackBuild3
2 files changed, 15 insertions, 1 deletions
diff --git a/libraries/CEGUI0.7/CEGUI.patch b/libraries/CEGUI0.7/CEGUI.patch
new file mode 100644
index 0000000000..bdbe203855
--- /dev/null
+++ b/libraries/CEGUI0.7/CEGUI.patch
@@ -0,0 +1,13 @@
+--- CEGUI-0.7.9/cegui/include/RendererModules/Ogre/CEGUIOgreRenderer.h.orig 2016-02-06 11:05:31.177684112 +0700
++++ CEGUI-0.7.9/cegui/include/RendererModules/Ogre/CEGUIOgreRenderer.h 2016-02-06 11:06:00.183625951 +0700
+@@ -54,7 +54,9 @@
+ class Root;
+ class RenderSystem;
+ class RenderTarget;
+-class TexturePtr;
++class Texture;
++template<typename T> class SharedPtr;
++typedef SharedPtr<Texture> TexturePtr;
+ class Matrix4;
+ }
+
diff --git a/libraries/CEGUI0.7/CEGUI0.7.SlackBuild b/libraries/CEGUI0.7/CEGUI0.7.SlackBuild
index ffc3e6620f..91fa0df1dd 100644
--- a/libraries/CEGUI0.7/CEGUI0.7.SlackBuild
+++ b/libraries/CEGUI0.7/CEGUI0.7.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=CEGUI0.7
SRCNAM=CEGUI
VERSION=${VERSION:-0.7.9}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/CEGUI.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \