diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-07-07 23:14:30 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-07-07 23:14:30 +0800 |
commit | 77c108d771fb5f106fc51a1b179b75aaddd1329e (patch) | |
tree | feb01d8c8c99efb652f8f26edabf419446ca51b7 /graphics/osg/files/patch-src-OpenThreads-pthreads-PThread.c++ | |
parent | 90ac1ba1901df3dda37d47369cfc4ae7b592c564 (diff) | |
download | marcuscom-ports-77c108d771fb5f106fc51a1b179b75aaddd1329e.tar marcuscom-ports-77c108d771fb5f106fc51a1b179b75aaddd1329e.tar.gz marcuscom-ports-77c108d771fb5f106fc51a1b179b75aaddd1329e.tar.bz2 marcuscom-ports-77c108d771fb5f106fc51a1b179b75aaddd1329e.tar.lz marcuscom-ports-77c108d771fb5f106fc51a1b179b75aaddd1329e.tar.xz marcuscom-ports-77c108d771fb5f106fc51a1b179b75aaddd1329e.tar.zst marcuscom-ports-77c108d771fb5f106fc51a1b179b75aaddd1329e.zip |
Chase poppler and poppler-glib shlib dump.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14305 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/osg/files/patch-src-OpenThreads-pthreads-PThread.c++')
-rw-r--r-- | graphics/osg/files/patch-src-OpenThreads-pthreads-PThread.c++ | 37 |
1 files changed, 37 insertions, 0 deletions
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 000000000..d1997c322 --- /dev/null +++ b/graphics/osg/files/patch-src-OpenThreads-pthreads-PThread.c++ @@ -0,0 +1,37 @@ +--- src/OpenThreads/pthreads/PThread.c++.orig 2008-11-05 13:27:49.000000000 +0300 ++++ src/OpenThreads/pthreads/PThread.c++ 2009-02-04 18:06:28.000000000 +0300 +@@ -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> +@@ -125,7 +126,7 @@ + #if defined(__sgi) + pthread_setrunon_np( pd->cpunum ); + #elif defined(HAVE_PTHREAD_SETAFFINITY_NP) || defined(HAVE_THREE_PARAM_SCHED_SETAFFINITY) || defined(HAVE_TWO_PARAM_SCHED_SETAFFINITY) +- cpu_set_t cpumask; ++ cpuset_t cpumask; + CPU_ZERO( &cpumask ); + CPU_SET( pd->cpunum, &cpumask ); + +@@ -541,7 +542,7 @@ + + if (pd->isRunning && Thread::CurrentThread()==this) + { +- cpu_set_t cpumask; ++ cpuset_t cpumask; + CPU_ZERO( &cpumask ); + CPU_SET( pd->cpunum, &cpumask ); + #if defined(HAVE_PTHREAD_SETAFFINITY_NP) +@@ -975,7 +976,7 @@ + else + { + #if defined(HAVE_PTHREAD_SETAFFINITY_NP) || defined(HAVE_THREE_PARAM_SCHED_SETAFFINITY) || defined(HAVE_TWO_PARAM_SCHED_SETAFFINITY) +- cpu_set_t cpumask; ++ cpuset_t cpumask; + CPU_ZERO( &cpumask ); + CPU_SET( cpunum, &cpumask ); + |