xload: unbreak musl build.
This commit is contained in:
parent
f43361e72e
commit
68e5104a62
2 changed files with 12 additions and 1 deletions
11
srcpkgs/xload/patches/musl.patch
Normal file
11
srcpkgs/xload/patches/musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- get_rload.c.orig 2015-05-09 08:26:13.771594964 +0200
|
||||||
|
+++ get_rload.c 2015-05-09 08:26:26.139581651 +0200
|
||||||
|
@@ -9,7 +9,7 @@
|
||||||
|
/* Not all OS supports get_rload
|
||||||
|
steal the STUB idea from get_load
|
||||||
|
*/
|
||||||
|
-#if defined(QNX4) || defined(__CYGWIN__)
|
||||||
|
+#if defined(QNX4) || defined(__CYGWIN__) || !defined(__GLIBC__)
|
||||||
|
#define RLOADSTUB
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xload'
|
# Template file for 'xload'
|
||||||
pkgname=xload
|
pkgname=xload
|
||||||
version=1.1.2
|
version=1.1.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config xorg-util-macros"
|
hostmakedepends="pkg-config xorg-util-macros"
|
||||||
makedepends="libXaw-devel"
|
makedepends="libXaw-devel"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue