aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/osg-devel/files/patch-src-OpenThreads-pthreads-PThread.c++10
-rw-r--r--graphics/osg/files/patch-src-OpenThreads-pthreads-PThread.c++10
2 files changed, 20 insertions, 0 deletions
diff --git a/graphics/osg-devel/files/patch-src-OpenThreads-pthreads-PThread.c++ b/graphics/osg-devel/files/patch-src-OpenThreads-pthreads-PThread.c++
new file mode 100644
index 000000000000..351452e25e7c
--- /dev/null
+++ b/graphics/osg-devel/files/patch-src-OpenThreads-pthreads-PThread.c++
@@ -0,0 +1,10 @@
+--- src/OpenThreads/pthreads/PThread.c++.orig 2008-09-25 18:28:42.000000000 +0400
++++ src/OpenThreads/pthreads/PThread.c++ 2008-09-25 18:52:13.000000000 +0400
+@@ -21,6 +21,7 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <pthread.h>
++#include <pthread_np.h>
+
+ #if defined __linux || defined __sun || defined __APPLE__
+ #include <string.h>
diff --git a/graphics/osg/files/patch-src-OpenThreads-pthreads-PThread.c++ b/graphics/osg/files/patch-src-OpenThreads-pthreads-PThread.c++
new file mode 100644
index 000000000000..351452e25e7c
--- /dev/null
+++ b/graphics/osg/files/patch-src-OpenThreads-pthreads-PThread.c++
@@ -0,0 +1,10 @@
+--- src/OpenThreads/pthreads/PThread.c++.orig 2008-09-25 18:28:42.000000000 +0400
++++ src/OpenThreads/pthreads/PThread.c++ 2008-09-25 18:52:13.000000000 +0400
+@@ -21,6 +21,7 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <pthread.h>
++#include <pthread_np.h>
+
+ #if defined __linux || defined __sun || defined __APPLE__
+ #include <string.h>