diff options
Diffstat (limited to 'libraries/CEGUI0.7')
-rw-r--r-- | libraries/CEGUI0.7/CEGUI.patch | 13 | ||||
-rw-r--r-- | libraries/CEGUI0.7/CEGUI0.7.SlackBuild | 3 |
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 \ |