summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2021-07-15 13:56:48 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-07-16 12:51:44 +0300
commit67223872158b0a243523fb9aacefed3233dbd4fa (patch)
treea11fb489121ea8e263b8e1fc865473be102f99b5 /x11-misc/dunst
parentdev-ruby/dalli: cleanup (diff)
downloadgentoo-67223872158b0a243523fb9aacefed3233dbd4fa.tar.gz
gentoo-67223872158b0a243523fb9aacefed3233dbd4fa.tar.bz2
gentoo-67223872158b0a243523fb9aacefed3233dbd4fa.zip
x11-misc/dunst: Use sed instead of patch file in -9999
This way it won’t fail when config.mk changes upstream. Closes: https://bugs.gentoo.org/790854 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Thomas Schneider <qsx@chaotikum.eu> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/dunst')
-rw-r--r--x11-misc/dunst/dunst-9999.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-misc/dunst/dunst-9999.ebuild b/x11-misc/dunst/dunst-9999.ebuild
index 9e6ef65b51bb..37ee134187e0 100644
--- a/x11-misc/dunst/dunst-9999.ebuild
+++ b/x11-misc/dunst/dunst-9999.ebuild
@@ -40,7 +40,15 @@ BDEPEND="
wayland? ( dev-libs/wayland-protocols )
"
-PATCHES=( "${FILESDIR}"/${PN}-1.6.1-no-Os.patch )
+src_prepare() {
+ default
+
+ sed -i \
+ -e "/^DEFAULT_CFLAGS/s/-g //" \
+ -e "/^DEFAULT_CFLAGS/s/-Os //" \
+ config.mk \
+ || die "sed failed"
+}
src_configure() {
tc-export CC PKG_CONFIG