aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vtk/pthreads_declaration.patch
diff options
context:
space:
mode:
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,