x11-misc/bbweather: -Wregister fixes

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

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler
2023-03-02 15:04:38 -06:00
parent 4fe6b54d0b
commit a518db94e1

View File

@@ -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
}