commit: d8ef08c41699d3a61edad1997f1add6b1003eec4 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Thu Sep 3 12:48:28 2020 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Thu Sep 3 12:48:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8ef08c4
x11-wm/spectrwm: removed unused include to fix musl build Closes: https://bugs.gentoo.org/712976 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> x11-wm/spectrwm/files/spectrwm-3.4.1-musl.patch | 9 +++++++++ x11-wm/spectrwm/spectrwm-3.4.1.ebuild | 1 + 2 files changed, 10 insertions(+) diff --git a/x11-wm/spectrwm/files/spectrwm-3.4.1-musl.patch b/x11-wm/spectrwm/files/spectrwm-3.4.1-musl.patch new file mode 100644 index 00000000000..79c05c8e78a --- /dev/null +++ b/x11-wm/spectrwm/files/spectrwm-3.4.1-musl.patch @@ -0,0 +1,9 @@ +diff -ur a/linux/linux.c b/linux/linux.c +--- a/linux/linux.c 2020-09-03 07:25:24.937163198 -0500 ++++ b/linux/linux.c 2020-09-03 07:25:35.470882700 -0500 +@@ -1,5 +1,4 @@ + #include <sys/types.h> +-#include <sys/cdefs.h> + + #include <errno.h> + #include <errno.h> diff --git a/x11-wm/spectrwm/spectrwm-3.4.1.ebuild b/x11-wm/spectrwm/spectrwm-3.4.1.ebuild index 67195eaf70b..d70a5915120 100644 --- a/x11-wm/spectrwm/spectrwm-3.4.1.ebuild +++ b/x11-wm/spectrwm/spectrwm-3.4.1.ebuild @@ -26,6 +26,7 @@ DEPEND=" " PATCHES=( "${FILESDIR}"/${PN}-3.4.0-gentoo.patch + "${FILESDIR}"/${PN}-3.4.1-musl.patch ) S=${WORKDIR}/${PN}-${PN^^}_${PV//./_}
