From fd7b56a69c4e0bebca868362186a08356556941f Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 29 May 2015 11:00:31 +0100 Subject: libraries/OpenSceneGraph: Patched to fix build on -current. Signed-off-by: David Spencer Signed-off-by: Willy Sudiarto Raharjo --- libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild') 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 ||' 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" \ -- cgit v1.2.3