void-packages/srcpkgs/refind/patches/force-inline-musl.patch

34 lines
1.5 KiB
Diff

--- a/filesystems/zstd/fse_decompress.c 2019-11-11 17:00:57.423347660 +0700
+++ b/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
--- a/filesystems/zstd/zstd_internal.h 2019-11-11 15:56:42.258217148 +0700
+++ b/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*/
/*-*************************************
--- a/filesystems/zstd/huf_decompress.c 2019-11-11 17:00:46.487280468 +0700
+++ b/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