Diff guile-3.0.8-r1 with a guile-3.0.9

/usr/portage/dev-scheme/guile/guile-3.0.9.ebuild 2023-10-09 14:52:30.900368386 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools
7

  
8 6
MAJOR="3.0"
9 7
DESCRIPTION="GNU Ubiquitous Intelligent Language for Extensions"
10 8
HOMEPAGE="https://www.gnu.org/software/guile/"
......
12 10

  
13 11
LICENSE="LGPL-3+"
14 12
SLOT="12/3.0-1" # libguile-2.2.so.1 => 2.2-1
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
13
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
16 14

  
17 15
IUSE="debug debug-malloc +deprecated +jit +networking +nls +regex +threads" # upstream recommended +networking +nls
18
REQUIRED_USE="regex" # workaround for bug 596322
16
REQUIRED_USE="regex" # workaround for bug #596322
19 17
RESTRICT="strip"
20 18

  
21 19
RDEPEND="
......
26 24
	dev-libs/libunistring:=
27 25
	sys-libs/ncurses:=
28 26
	sys-libs/readline:=
29
	virtual/libcrypt:="
27
	virtual/libcrypt:=
28
"
30 29
DEPEND="${RDEPEND}"
31 30
BDEPEND="
32 31
	virtual/pkgconfig
33 32
	sys-devel/libtool
34
	sys-devel/gettext"
33
	sys-devel/gettext
34
"
35 35

  
36 36
# guile generates ELF files without use of C or machine code
37 37
# It's false positive. bug #677600
38 38
QA_PREBUILT='*[.]go'
39 39

  
40
DOCS=( GUILE-VERSION HACKING README )
41

  
42
PATCHES=(
43
	"${FILESDIR}/${PN}-2.2.3-gentoo-sandbox.patch"
44
	"${FILESDIR}/${P}-configure-clang16.patch"
45
)
40
DOCS=( ABOUT-NLS AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README THANKS )
46 41

  
47
src_prepare() {
48
	default
49

  
50
	# Can drop once guile-3.0.8-configure-clang16.patch merged
51
	eautoreconf
52
}
42
PATCHES=( "${FILESDIR}"/${PN}-2.2.3-gentoo-sandbox.patch )
53 43

  
54 44
src_configure() {
55 45
	# see bug #676468
56 46
	mv prebuilt/32-bit-big-endian{,.broken} || die
57 47

  
58
	econf \
59
		--disable-error-on-warning \
60
		--disable-rpath \
61
		--disable-lto \
62
		--enable-posix \
63
		--without-libgmp-prefix \
64
		--without-libiconv-prefix \
65
		--without-libintl-prefix \
66
		--without-libreadline-prefix \
67
		--without-libunistring-prefix \
68
		$(use_enable debug guile-debug) \
69
		$(use_enable debug-malloc) \
70
		$(use_enable deprecated) \
71
		$(use_enable jit) \
72
		$(use_enable networking) \
73
		$(use_enable nls) \
74
		$(use_enable regex) \
48
	local -a myconf=(
49
		--disable-error-on-warning
50
		--disable-rpath
51
		--disable-lto
52
		--enable-posix
53
		--without-libgmp-prefix
54
		--without-libiconv-prefix
55
		--without-libintl-prefix
56
		--without-libreadline-prefix
57
		--without-libunistring-prefix
58
		$(use_enable debug guile-debug)
59
		$(use_enable debug-malloc)
60
		$(use_enable deprecated)
61
		$(use_enable jit)
62
		$(use_enable networking)
63
		$(use_enable nls)
64
		$(use_enable regex)
75 65
		$(use_with threads)
66
	)
67
	econf ${myconf[@]}
76 68
}
77 69

  
78 70
src_install() {
79 71
	default
80 72

  
81
	# From Novell
82
	# https://bugzilla.novell.com/show_bug.cgi?id=874028#c0
73
	# From Novell https://bugzilla.novell.com/show_bug.cgi?id=874028#c0
83 74
	dodir /usr/share/gdb/auto-load/$(get_libdir)
84 75
	mv "${ED}"/usr/$(get_libdir)/libguile-*-gdb.scm "${ED}"/usr/share/gdb/auto-load/$(get_libdir) || die
85 76

  
Thank you!