commit:     3a1364a6a38575dea322388e778a20d2d008f7db
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 11:46:01 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue May 16 11:50:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1364a6

dev-scheme/guile-lzlib: do not strip guile bytecode

Bug: https://bugs.gentoo.org/905898
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...guile-lzlib-0.0.2.ebuild => guile-lzlib-0.0.2-r1.ebuild} | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild 
b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r1.ebuild
similarity index 70%
rename from dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild
rename to dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r1.ebuild
index 390b88d1e1f5..099b269f0587 100644
--- a/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild
+++ b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-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=8
@@ -7,7 +7,8 @@ inherit autotools
 
 DESCRIPTION="GNU Guile library providing bindings to lzlib"
 HOMEPAGE="https://notabug.org/guile-lzlib/guile-lzlib/";
-SRC_URI="https://notabug.org/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://notabug.org/${PN}/${PN}/archive/${PV}.tar.gz
+       -> ${P}.tar.gz"
 S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-3+"
@@ -34,3 +35,11 @@ src_prepare() {
 
        eautoreconf
 }
+
+src_install() {
+       default
+
+       # Workaround llvm-strip problem of mangling guile ELF debug
+       # sections: https://bugs.gentoo.org/905898
+       dostrip -x "/usr/$(get_libdir)/guile"
+}

Reply via email to