mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-misc/bbweather: -Wregister fixes
Closes: https://bugs.gentoo.org/898874 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user