summaryrefslogtreecommitdiff
path: root/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-05-29 11:00:31 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitfd7b56a69c4e0bebca868362186a08356556941f (patch)
tree5706b60f9e38cdf5ed15edb31aa1b11827c49a3c /libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
parent205a9a194666779ef17b105898d76cdf24c51d41 (diff)
downloadslackbuilds-fd7b56a69c4e0bebca868362186a08356556941f.tar.gz
libraries/OpenSceneGraph: Patched to fix build on -current.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild')
-rw-r--r--libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
index 4720604deb..bd24ea73e2 100644
--- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
+++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
@@ -54,7 +54,10 @@ find -L . \
sed -i 's|#include <curl/types.h>||' src/osgPlugins/curl/ReaderWriterCURL.cpp
-# Our ffmpeg is incompatible ATM
+# Fix building with giflib-5.1.1 -- thanks to Arch Linux
+# https://projects.archlinux.org/svntogit/community.git/plain/trunk/giflib.patch?h=packages/openscenegraph
+patch -p1 < $CWD/giflib.patch
+
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS -D__STDC_CONSTANT_MACROS" \