summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2023-03-02 14:53:58 -0600
committerBen Kohler <bkohler@gentoo.org>2023-03-02 15:05:14 -0600
commit3a7a90b723e8f8b06adfbcb31d0a6862d63156de (patch)
treec98ad700a8ada6de6dd0abbab21b6888d9fb0e56 /x11-misc/bbdate
parentnet-p2p/transmission: require dev-qt/linguist-tools regardless of USE=nls (diff)
downloadgentoo-3a7a90b723e8f8b06adfbcb31d0a6862d63156de.tar.gz
gentoo-3a7a90b723e8f8b06adfbcb31d0a6862d63156de.tar.bz2
gentoo-3a7a90b723e8f8b06adfbcb31d0a6862d63156de.zip
x11-misc/bbdate: -Wregister fixes
Closes: https://bugs.gentoo.org/898868 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-misc/bbdate')
-rw-r--r--x11-misc/bbdate/bbdate-0.2.4-r3.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11-misc/bbdate/bbdate-0.2.4-r3.ebuild b/x11-misc/bbdate/bbdate-0.2.4-r3.ebuild
index e6e27136388f..f1e4c0f5b75e 100644
--- a/x11-misc/bbdate/bbdate-0.2.4-r3.ebuild
+++ b/x11-misc/bbdate/bbdate-0.2.4-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -25,6 +25,9 @@ src_prepare() {
sed -i \
-e 's|-helvetica-|-*-|g' \
resource.cc data/${PN}.{nobb,style} || die
+ sed -i \
+ -e 's|register ||' \
+ Image.cc LinkedList.cc || die
eautoreconf
}