mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
xload: fix musl builds.
This commit is contained in:
parent
d8e3ac2e8f
commit
a119517137
1 changed files with 11 additions and 0 deletions
11
srcpkgs/xload/patches/fix-musl.patch
Normal file
11
srcpkgs/xload/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- get_rload.c
|
||||
+++ get_rload.c
|
||||
@@ -9,7 +9,7 @@
|
||||
/* Not all OS supports get_rload
|
||||
steal the STUB idea from get_load
|
||||
*/
|
||||
-#if defined(QNX4) || defined(__CYGWIN__) || defined(_WIN32)
|
||||
+#if defined(QNX4) || defined(__CYGWIN__) || defined(_WIN32) || !defined(__GLIBC__)
|
||||
#define RLOADSTUB
|
||||
#endif
|
||||
|
Loading…
Add table
Reference in a new issue