summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-09-03 07:48:28 -0500
committerBen Kohler <bkohler@gentoo.org>2020-09-03 07:48:48 -0500
commitd8ef08c41699d3a61edad1997f1add6b1003eec4 (patch)
treed6480231e2deab126c09262dc72e49f49300ad59 /x11-wm/spectrwm
parentsys-kernel/vanilla-sources: Automated version bump to {4.4.235,4.9.235,4.14.1... (diff)
downloadgentoo-d8ef08c41699d3a61edad1997f1add6b1003eec4.tar.gz
gentoo-d8ef08c41699d3a61edad1997f1add6b1003eec4.tar.bz2
gentoo-d8ef08c41699d3a61edad1997f1add6b1003eec4.zip
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@gentoo.org>
Diffstat (limited to 'x11-wm/spectrwm')
-rw-r--r--x11-wm/spectrwm/files/spectrwm-3.4.1-musl.patch9
-rw-r--r--x11-wm/spectrwm/spectrwm-3.4.1.ebuild1
2 files changed, 10 insertions, 0 deletions
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 000000000000..79c05c8e78a4
--- /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 67195eaf70bb..d70a5915120a 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//./_}