summaryrefslogtreecommitdiffstats
path: root/main/xulrunner/get_nproc.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-12 10:47:20 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-12 10:47:20 +0000
commit2df82e3d3d783c51aaba69c49ddb00a9f25ab138 (patch)
treec729c1aba3f4aded953cc04247a9255250507c7d /main/xulrunner/get_nproc.patch
parent69c09e1e4a0b3ff3e0b26151807922bd7b44e607 (diff)
downloadaports-2df82e3d3d783c51aaba69c49ddb00a9f25ab138.tar.bz2
aports-2df82e3d3d783c51aaba69c49ddb00a9f25ab138.tar.xz
main/xulrunner: fix musl build
Based heavily on GregorR's musl-pkgsrc-patches firefox patch, but slightly differs at places to suit Alpine needs.
Diffstat (limited to 'main/xulrunner/get_nproc.patch')
-rw-r--r--main/xulrunner/get_nproc.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/xulrunner/get_nproc.patch b/main/xulrunner/get_nproc.patch
index 3e58a9a00..6ee7fd323 100644
--- a/main/xulrunner/get_nproc.patch
+++ b/main/xulrunner/get_nproc.patch
@@ -14,7 +14,7 @@
"Available number of cores:%d", number_of_cores_);
-#elif defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) && !defined(WEBRTC_GONK)
-+#elif defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) && !defined(WEBRTC_GONK) && !defined(__UCLIBC__)
++#elif defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) && !defined(WEBRTC_GONK) && defined(__GLIBC__) && !defined(__UCLIBC__)
number_of_cores_ = get_nprocs();
WEBRTC_TRACE(kTraceStateInfo, kTraceUtility, -1,
"Available number of cores:%d", number_of_cores_);