diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/opengtl/opengtl-0.9.17-gcc-4.7.patch | 47 | ||||
-rw-r--r-- | graphics/opengtl/opengtl.SlackBuild | 7 | ||||
-rw-r--r-- | graphics/opengtl/opengtl.info | 6 |
3 files changed, 55 insertions, 5 deletions
diff --git a/graphics/opengtl/opengtl-0.9.17-gcc-4.7.patch b/graphics/opengtl/opengtl-0.9.17-gcc-4.7.patch new file mode 100644 index 000000000000..c209bb9e581f --- /dev/null +++ b/graphics/opengtl/opengtl-0.9.17-gcc-4.7.patch @@ -0,0 +1,47 @@ +diff -up OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h.gcc47 OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h +--- OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h.gcc47 2012-01-10 11:17:50.904275650 -0500 ++++ OpenGTL-0.9.15.2/OpenCTL/tests/library/TestCompileThreading.h 2012-01-10 11:17:57.860216380 -0500 +@@ -19,6 +19,8 @@ + + #include "GTLTest/Thread.h" + ++#include <unistd.h> ++ + #ifdef GTLTEST_HAVE_THREAD + + class MyThreadTCTLCT : public GTLTest::Thread +diff -up OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h.gcc47 OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h +--- OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h.gcc47 2012-01-10 11:18:19.128035026 -0500 ++++ OpenGTL-0.9.15.2/OpenCTL/tests/library/TestRuntimeThreading.h 2012-01-10 11:18:28.365717117 -0500 +@@ -19,6 +19,8 @@ + + #include "GTLTest/Thread.h" + ++#include <unistd.h> ++ + #ifdef GTLTEST_HAVE_THREAD + + class MyThreadTCTLRT : public GTLTest::Thread +diff -up OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h.gcc47 OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h +--- OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h.gcc47 2011-10-30 10:32:09.000000000 -0400 ++++ OpenGTL-0.9.15.2/OpenGTL/GTLCore/tests/TestMemoryManagerThread.h 2012-01-10 11:16:41.936863656 -0500 +@@ -18,6 +18,7 @@ + */ + + #include "GTLTest/Thread.h" ++#include <unistd.h> + + #ifdef GTLTEST_HAVE_THREAD + +diff -up OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h.gcc47 OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h +--- OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h.gcc47 2012-01-10 11:18:50.154530703 -0500 ++++ OpenGTL-0.9.15.2/OpenShiva/tests/library/TestKernelThreading.h 2012-01-10 11:18:59.409451568 -0500 +@@ -21,6 +21,8 @@ + #include "GTLCore/Image.h" + #include "GTLCore/Type.h" + ++#include <unistd.h> ++ + #ifdef GTLTEST_HAVE_THREAD + + class MyThreadTCTLKT : public GTLTest::Thread diff --git a/graphics/opengtl/opengtl.SlackBuild b/graphics/opengtl/opengtl.SlackBuild index 532c4aa7a5cd..5d8460cb7ad6 100644 --- a/graphics/opengtl/opengtl.SlackBuild +++ b/graphics/opengtl/opengtl.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for opengtl -# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=opengtl -VERSION=0.9.15.1 +VERSION=0.9.16 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,6 +71,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix compatibility with gcc 4.7 +patch -p1 -i $CWD/opengtl-0.9.17-gcc-4.7.patch + mkdir build cd build cmake \ diff --git a/graphics/opengtl/opengtl.info b/graphics/opengtl/opengtl.info index 88f159520345..df2cc5909730 100644 --- a/graphics/opengtl/opengtl.info +++ b/graphics/opengtl/opengtl.info @@ -1,8 +1,8 @@ PRGNAM="opengtl" -VERSION="0.9.15.1" +VERSION="0.9.16" HOMEPAGE="http://www.opengtl.org/" -DOWNLOAD="http://download.opengtl.org/OpenGTL-0.9.15.1.tar.bz2" -MD5SUM="052fc8504ced601e356e4d20621699f7" +DOWNLOAD="http://download.opengtl.org/OpenGTL-0.9.16.tar.bz2" +MD5SUM="fada53a8e2ac2456fd1adce57357655a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |