1 |
commit: 67223872158b0a243523fb9aacefed3233dbd4fa |
2 |
Author: Thomas Schneider <qsx <AT> chaotikum <DOT> eu> |
3 |
AuthorDate: Thu Jul 15 11:56:48 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 16 09:51:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67223872 |
7 |
|
8 |
x11-misc/dunst: Use sed instead of patch file in -9999 |
9 |
|
10 |
This way it won’t fail when config.mk changes upstream. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/790854 |
13 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
14 |
Signed-off-by: Thomas Schneider <qsx <AT> chaotikum.eu> |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
x11-misc/dunst/dunst-9999.ebuild | 10 +++++++++- |
18 |
1 file changed, 9 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/x11-misc/dunst/dunst-9999.ebuild b/x11-misc/dunst/dunst-9999.ebuild |
21 |
index 9e6ef65b51b..37ee134187e 100644 |
22 |
--- a/x11-misc/dunst/dunst-9999.ebuild |
23 |
+++ b/x11-misc/dunst/dunst-9999.ebuild |
24 |
@@ -40,7 +40,15 @@ BDEPEND=" |
25 |
wayland? ( dev-libs/wayland-protocols ) |
26 |
" |
27 |
|
28 |
-PATCHES=( "${FILESDIR}"/${PN}-1.6.1-no-Os.patch ) |
29 |
+src_prepare() { |
30 |
+ default |
31 |
+ |
32 |
+ sed -i \ |
33 |
+ -e "/^DEFAULT_CFLAGS/s/-g //" \ |
34 |
+ -e "/^DEFAULT_CFLAGS/s/-Os //" \ |
35 |
+ config.mk \ |
36 |
+ || die "sed failed" |
37 |
+} |
38 |
|
39 |
src_configure() { |
40 |
tc-export CC PKG_CONFIG |