summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2021-12-25 08:31:10 -0600
committerJory Pratt <anarchy@gentoo.org>2021-12-25 08:31:21 -0600
commit50a963ea27eca0865dbba5eaa50a69275b28150b (patch)
tree3cf70712c8537fd1434fbbf40247a45b92448fdf /x11-misc
parentsys-apps/openrc: prefixify /lib and /etc by rootprefix. (diff)
downloadgentoo-50a963ea27eca0865dbba5eaa50a69275b28150b.tar.gz
gentoo-50a963ea27eca0865dbba5eaa50a69275b28150b.tar.bz2
gentoo-50a963ea27eca0865dbba5eaa50a69275b28150b.zip
x11-misc/slim: add missing libgen.h for musl users
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch11
-rw-r--r--x11-misc/slim/slim-1.3.6-r5.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch b/x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch
new file mode 100644
index 000000000000..f137d94e8367
--- /dev/null
+++ b/x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch
@@ -0,0 +1,11 @@
+diff -Naur slim-1.3.6.orig/panel.cpp slim-1.3.6/panel.cpp
+--- slim-1.3.6.orig/panel.cpp 2014-06-18 11:04:57.958630814 -0400
++++ slim-1.3.6/panel.cpp 2014-06-18 11:05:10.675631393 -0400
+@@ -11,6 +11,7 @@
+
+ #include <sstream>
+ #include <poll.h>
++#include <libgen.h>
+ #include <X11/extensions/Xrandr.h>
+ #include "panel.h"
+
diff --git a/x11-misc/slim/slim-1.3.6-r5.ebuild b/x11-misc/slim/slim-1.3.6-r5.ebuild
index ee566409d2d3..04b44a3e036f 100644
--- a/x11-misc/slim/slim-1.3.6-r5.ebuild
+++ b/x11-misc/slim/slim-1.3.6-r5.ebuild
@@ -43,6 +43,7 @@ PATCHES=(
"${FILESDIR}"/${P}-drop-zlib.patch
"${FILESDIR}"/${P}-freetype.patch
"${FILESDIR}"/${P}-envcpy-bad-pointer-arithmetic.patch
+ "${FILESDIR}"/${PN}-1.3.6-add-missing-libgen_h.patch
"${FILESDIR}"/${PN}-1.3.6-gcc11.patch
)