commit:     4171bfcb004899aa0e96aad951f19a13f1d325c3
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 11:42:05 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=4171bfcb

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

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

 .../{guile-zstd-0.1.1.ebuild => guile-zstd-0.1.1-r1.ebuild} | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild 
b/dev-scheme/guile-zstd/guile-zstd-0.1.1-r1.ebuild
similarity index 81%
rename from dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild
rename to dev-scheme/guile-zstd/guile-zstd-0.1.1-r1.ebuild
index efd8811afedd..7d00f87e4450 100644
--- a/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild
+++ b/dev-scheme/guile-zstd/guile-zstd-0.1.1-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 bindings to the zstd compression library"
 HOMEPAGE="https://notabug.org/guile-zstd/guile-zstd/";
-SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz
+       -> ${P}.tar.gz"
 S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-3+"
@@ -46,3 +47,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