diff --git a/srcpkgs/refind/patches/force-inline-musl.patch b/srcpkgs/refind/patches/force-inline-musl.patch new file mode 100644 index 0000000000..98b985fc3a --- /dev/null +++ b/srcpkgs/refind/patches/force-inline-musl.patch @@ -0,0 +1,33 @@ +--- filesystems/zstd/fse_decompress.c.orig 2019-11-11 17:00:57.423347660 +0700 ++++ filesystems/zstd/fse_decompress.c 2019-11-11 17:01:52.654692140 +0700 +@@ -40,7 +40,7 @@ + /* ************************************************************** + * Compiler specifics + ****************************************************************/ +-#define FORCE_INLINE static __always_inline ++#define FORCE_INLINE static inline __attribute__((__always_inline__)) + + /* ************************************************************** + * Includes +--- filesystems/zstd/zstd_internal.h.orig 2019-11-11 15:56:42.258217148 +0700 ++++ filesystems/zstd/zstd_internal.h 2019-11-11 16:04:09.433867777 +0700 +@@ -20,7 +20,7 @@ + /*-******************************************************* + * Compiler specifics + *********************************************************/ +-#define FORCE_INLINE static __always_inline ++#define FORCE_INLINE static inline __attribute__((__always_inline__)) + #define FORCE_NOINLINE static /*noinline*/ + + /*-************************************* +--- filesystems/zstd/huf_decompress.c.orig 2019-11-11 17:00:46.487280468 +0700 ++++ filesystems/zstd/huf_decompress.c 2019-11-11 17:01:20.095488026 +0700 +@@ -40,7 +40,7 @@ + /* ************************************************************** + * Compiler specifics + ****************************************************************/ +-#define FORCE_INLINE static __always_inline ++#define FORCE_INLINE static inline __attribute__((__always_inline__)) + + /* ************************************************************** + * Dependencies diff --git a/srcpkgs/refind/template b/srcpkgs/refind/template index 2765acd5b5..55bda99520 100644 --- a/srcpkgs/refind/template +++ b/srcpkgs/refind/template @@ -13,8 +13,7 @@ checksum=39baf140603951da098238c1cbf4176fdd7d4a45fab0399e9985ad7368034dae conf_files="/etc/default/refind-kernel-hook.conf" case "$XBPS_TARGET_MACHINE" in - x86_64|i686|aarch64) ;; - *-musl) broken="requires patching on musl arches" ;; + x86_64*|i686*|aarch64*) ;; *) broken="${XBPS_TARGET_MACHINE} is unsupported" ;; esac