commit:     6933af393f4d09ee7e10b6386e3d62f957b86e07
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 29 05:07:33 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 29 18:45:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6933af39

gnome-base/libglade: avoid QA warning for deprecated/useless autoconf macro

Alternatively we could define it by adding another bdep on more archaic
unmaintained software. But it does nothing...

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gnome-base/libglade/libglade-2.6.4-r3.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnome-base/libglade/libglade-2.6.4-r3.ebuild 
b/gnome-base/libglade/libglade-2.6.4-r3.ebuild
index 27bc8a768063..658e633a8348 100644
--- a/gnome-base/libglade/libglade-2.6.4-r3.ebuild
+++ b/gnome-base/libglade/libglade-2.6.4-r3.ebuild
@@ -45,6 +45,10 @@ src_prepare() {
                sed 's/ tests//' -i Makefile.am Makefile.in || die "sed failed"
        fi
 
+       # Deprecated macro that does nothing. Provided by 
gnome-base/gnome-common
+       # but adding an additional bdep for this is silly.
+       sed -i '/GNOME_COMMON_INIT/d' configure.in || die
+
        mv configure.in configure.ac || die
        gnome2_src_prepare
 }

Reply via email to