aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vtk/pthreads_declaration.patch
diff options
context:
space:
mode:
authorMarian Buschsieweke <marian.buschsieweke@ovgu.de>2019-10-15 10:22:01 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-10-21 04:46:20 -0300
commit724eff291377354f05c9e135ff79c0bfdc6b81eb (patch)
tree2cafe3d17b4c9e8f0c167dd5ef564600294635ba /testing/vtk/pthreads_declaration.patch
parent63dc6b50e39cd6e6a899d1589cff3a87c91d4580 (diff)
downloadaports-724eff291377354f05c9e135ff79c0bfdc6b81eb.tar.bz2
aports-724eff291377354f05c9e135ff79c0bfdc6b81eb.tar.xz
testing/vtk: new aport
Diffstat (limited to 'testing/vtk/pthreads_declaration.patch')
-rw-r--r--testing/vtk/pthreads_declaration.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/vtk/pthreads_declaration.patch b/testing/vtk/pthreads_declaration.patch
new file mode 100644
index 0000000000..dc8cfd79d2
--- /dev/null
+++ b/testing/vtk/pthreads_declaration.patch
@@ -0,0 +1,11 @@
+--- VTK-8.2.0.bak/ThirdParty/libxml2/vtklibxml2/threads.c
++++ VTK-8.2.0/ThirdParty/libxml2/vtklibxml2/threads.c
+@@ -49,7 +49,7 @@
+ #ifdef HAVE_PTHREAD_H
+
+ static int libxml_is_threaded = -1;
+-#ifdef __GNUC__
++#if 0
+ #ifdef linux
+ #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
+ extern int pthread_once (pthread_once_t *__once_control,