commit:     5131936f609a6174403bdeab29e97a7033b2faf6
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  2 20:56:33 2023 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Mar  2 21:05:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5131936f

x11-misc/bbppp: -Wregister fixes

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

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

 x11-misc/bbppp/bbppp-0.2.5-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild 
b/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild
index 5ae4a57762d3..bc6f3f4ff3ca 100644
--- a/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild
+++ b/x11-misc/bbppp/bbppp-0.2.5-r1.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=7
@@ -28,6 +28,9 @@ PATCHES=(
 src_prepare() {
        default
        mv configure.{in,ac} || die
+       sed -i \
+               -e 's|register ||' \
+               Image.cc LinkedList.cc || die
        eautoreconf
 }
 

Reply via email to