mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
graphics/opengtl: Updated for version 0.9.16.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
f32d7f9e74
commit
32bf78acd6
3 changed files with 55 additions and 5 deletions
47
graphics/opengtl/opengtl-0.9.17-gcc-4.7.patch
Normal file
47
graphics/opengtl/opengtl-0.9.17-gcc-4.7.patch
Normal file
|
@ -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
|
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue