From 2df82e3d3d783c51aaba69c49ddb00a9f25ab138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Sat, 12 Oct 2013 10:47:20 +0000 Subject: main/xulrunner: fix musl build Based heavily on GregorR's musl-pkgsrc-patches firefox patch, but slightly differs at places to suit Alpine needs. --- main/xulrunner/get_nproc.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/xulrunner/get_nproc.patch') diff --git a/main/xulrunner/get_nproc.patch b/main/xulrunner/get_nproc.patch index 3e58a9a001..6ee7fd3233 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_); -- cgit v1.2.3