summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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//./_}