aboutsummaryrefslogtreecommitdiffstats
path: root/main/boost/boost-uclibc-thread.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-15 19:13:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-15 19:13:45 +0000
commit33d41acb4318bd395f6b57ddc14ab27767ca06aa (patch)
treef010369cd1b1e308d1ee79169292880b942f72f9 /main/boost/boost-uclibc-thread.patch
parentd15964ab95df39fe1a0633800cd5d886dfabf074 (diff)
downloadaports-33d41acb4318bd395f6b57ddc14ab27767ca06aa.tar.bz2
aports-33d41acb4318bd395f6b57ddc14ab27767ca06aa.tar.xz
main/boost: moved from testing
abiword needs it
Diffstat (limited to 'main/boost/boost-uclibc-thread.patch')
-rw-r--r--main/boost/boost-uclibc-thread.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/boost/boost-uclibc-thread.patch b/main/boost/boost-uclibc-thread.patch
new file mode 100644
index 0000000000..e9e6b79e10
--- /dev/null
+++ b/main/boost/boost-uclibc-thread.patch
@@ -0,0 +1,11 @@
+--- ./libs/thread/src/pthread/thread.cpp.orig
++++ ./libs/thread/src/pthread/thread.cpp
+@@ -380,7 +380,7 @@
+ {
+ #if defined(PTW32_VERSION) || defined(__hpux)
+ return pthread_num_processors_np();
+-#elif defined(_GNU_SOURCE)
++#elif defined(_GNU_SOURCE) && !defined(__UCLIBC__)
+ return get_nprocs();
+ #elif defined(__APPLE__) || defined(__FreeBSD__)
+ int count;