diff options
author | 2022-08-02 23:16:42 +0200 | |
---|---|---|
committer | 2022-08-02 23:18:42 +0200 | |
commit | a7f22f13b174fa12cf4ed87db73d9ce9a9b08b86 (patch) | |
tree | 0155994de348556a301b629b30d238ab303fb78f /dev-lang/eisl | |
parent | sys-libs/glibc: version bump 2.36, no keywords (diff) | |
download | gentoo-a7f22f13b174fa12cf4ed87db73d9ce9a9b08b86.tar.gz gentoo-a7f22f13b174fa12cf4ed87db73d9ce9a9b08b86.tar.bz2 gentoo-a7f22f13b174fa12cf4ed87db73d9ce9a9b08b86.zip |
dev-lang/eisl: fix musl build - remove cdefs
Closes: https://bugs.gentoo.org/862963
Bug: https://github.com/sasagawa888/eisl/pull/186
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/eisl')
-rw-r--r-- | dev-lang/eisl/eisl-2.50.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/eisl/files/eisl-2.50-compat-no-cdefs.patch | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/dev-lang/eisl/eisl-2.50.ebuild b/dev-lang/eisl/eisl-2.50.ebuild index cad52bf1c3f0..d2ff0a7a86a7 100644 --- a/dev-lang/eisl/eisl-2.50.ebuild +++ b/dev-lang/eisl/eisl-2.50.ebuild @@ -20,7 +20,10 @@ DOCS=( README-ja.md README.md documents ) RDEPEND="sys-libs/ncurses:=" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/${P}-Makefile.patch ) +PATCHES=( + "${FILESDIR}"/${P}-Makefile.patch + "${FILESDIR}"/${P}-compat-no-cdefs.patch +) src_compile() { emake CC="$(tc-getCC)" clean all diff --git a/dev-lang/eisl/files/eisl-2.50-compat-no-cdefs.patch b/dev-lang/eisl/files/eisl-2.50-compat-no-cdefs.patch new file mode 100644 index 000000000000..d4cb1f6f2bf4 --- /dev/null +++ b/dev-lang/eisl/files/eisl-2.50-compat-no-cdefs.patch @@ -0,0 +1,11 @@ +--- a/compat/cdefs.h ++++ b/compat/cdefs.h +@@ -3,8 +3,6 @@ + #ifndef COMPAT_CDEFS_H + #define COMPAT_CDEFS_H + +-#include <sys/cdefs.h> +- + #ifndef __dead + #define __dead \ + __attribute__((__noreturn__)) |