commit:     a518db94e168e101fdad9e81c3fcc87db092960d
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  2 21:04:38 2023 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Mar  2 21:05:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a518db94

x11-misc/bbweather: -Wregister fixes

Closes: https://bugs.gentoo.org/898874

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 x11-misc/bbweather/bbweather-0.6.3-r2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/x11-misc/bbweather/bbweather-0.6.3-r2.ebuild 
b/x11-misc/bbweather/bbweather-0.6.3-r2.ebuild
index 7f45dd7000ed..d232bb5c4dbf 100644
--- a/x11-misc/bbweather/bbweather-0.6.3-r2.ebuild
+++ b/x11-misc/bbweather/bbweather-0.6.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -25,12 +25,16 @@ PATCHES=( "${FILESDIR}"/${PN}-asneeded.patch )
 src_prepare() {
        default
        gunzip doc/*.gz || die
+       mv configure.{in,ac} || die
        sed -i \
                -e "s:man_DATA:man1_MANS:;s:.gz::g;/^mandir/d" \
                doc/Makefile.am || die
        sed -i \
                -e 's|-helvetica-|-*-|g' \
                resource.cpp data/${PN}.{nobb,style} || die
+       sed -i \
+               -e 's|register ||' \
+               Image.cpp || die
        eautoreconf
 }
 

Reply via email to