From a1195171374d495694380c9c11a3ad002a1a1962 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 10 Mar 2018 13:31:33 -0300 Subject: [PATCH] xload: fix musl builds. --- srcpkgs/xload/patches/fix-musl.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/xload/patches/fix-musl.patch diff --git a/srcpkgs/xload/patches/fix-musl.patch b/srcpkgs/xload/patches/fix-musl.patch new file mode 100644 index 0000000000..4328d8af30 --- /dev/null +++ b/srcpkgs/xload/patches/fix-musl.patch @@ -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 +