Diff ffcall-2.4-r1 with a ffcall-2.5

/usr/portage/dev-libs/ffcall/ffcall-2.5.ebuild 2025-10-16 18:21:11.313071628 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit flag-o-matic libtool
6
inherit dot-a flag-o-matic libtool
7 7

  
8 8
MY_PV="libffcall-${PV}"
9 9

  
......
19 19
SLOT="0"
20 20
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
21 21

  
22
PATCHES=(
23
	# bug 842915, drop on next version bump
24
	"${FILESDIR}"/${PN}-2.4-vacall-riscv-pic.patch
25
	"${FILESDIR}"/${PN}-2.4-slibtool.patch # 776976
26
)
27

  
28 22
src_prepare() {
29 23
	# The build system is a strange mix of autogenerated
30 24
	# files and manual tweaks on top. Uses $CFLAGS / $LDFLAGS randomly.
......
41 35

  
42 36
	default
43 37
	elibtoolize
38

  
39
	if use kernel_linux ; then
40
		QA_CONFIG_IMPL_DECL_SKIP=( PROT_MPROTECT )
41
	fi
42

  
44 43
}
45 44

  
46 45
src_configure() {
47 46
	append-flags -fPIC
47
	lto-guarantee-fat
48 48

  
49 49
	# Doc goes in datadir
50 50
	econf \
51 51
		--datadir="${EPREFIX}"/usr/share/doc/${PF} \
52
		--enable-shared \
53
		--disable-static
52
		--enable-shared
54 53
}
55 54

  
56 55
src_compile() {
57
	# TODO. Remove -j1
58 56
	emake -j1
59 57
}
60 58

  
......
63 61
	dodir /usr/share/man
64 62

  
65 63
	default
64
	strip-lto-bytecode
66 65

  
67 66
	find "${ED}" -name '*.la' -delete || die
68 67
}
Thank you!