Diff qu-prolog-10.6 with a qu-prolog-10.7

/usr/portage/dev-lang/qu-prolog/qu-prolog-10.7.ebuild 2024-08-08 10:48:51.212781933 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2024 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..11} )
6
PYTHON_COMPAT=( python3_{10..12} )
7 7

  
8
inherit autotools multilib python-any-r1 qmake-utils
8
inherit autotools flag-o-matic python-any-r1 qmake-utils
9 9

  
10 10
MY_P=qp${PV}
11 11

  
12 12
DESCRIPTION="Extended Prolog supporting quantifiers, object-variables and substitutions"
13
HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/QuPrologHome.html"
14
SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/QPFiles/${MY_P}.tar.gz"
13
HOMEPAGE="https://staff.itee.uq.edu.au/pjr/HomePages/QuPrologHome.html"
14
SRC_URI="https://staff.itee.uq.edu.au/pjr/HomePages/QPFiles/${MY_P}.tar.gz"
15 15

  
16 16
LICENSE="Apache-2.0 GPL-2+"
17 17
SLOT="0"
18
KEYWORDS="amd64 ppc x86"
19
IUSE="debug doc examples pedro qt5 readline threads"
18
KEYWORDS="~amd64 ~ppc ~x86"
19
IUSE="debug doc examples pcre pedro qt5 readline threads"
20 20

  
21 21
RDEPEND="
22
	!dev-util/mpatch
23 22
	!dev-util/rej
24 23
	qt5? (
25 24
		dev-qt/qtwidgets:5
26 25
		dev-qt/qtgui:5
27 26
	 )
27
	pcre? ( dev-libs/libpcre2 )
28 28
	pedro? ( net-misc/pedro )
29 29
	readline? ( app-misc/rlwrap )"
30 30
DEPEND="${RDEPEND}
......
36 36
src_prepare() {
37 37
	eapply "${FILESDIR}"/${PN}-10.x-qt5.patch
38 38
	eapply "${FILESDIR}"/${PN}-10.x-compiler-flags.patch
39
	eapply "${FILESDIR}"/${PN}-10.x-qa-compiler-flags.patch
39 40
	eapply_user
40 41

  
42
	mv configure.in configure.ac || die
41 43
	eautoconf
42 44

  
43 45
	python_fix_shebang "${S}"/bin/qc.in
44 46
}
45 47

  
46 48
src_configure() {
49
	# -Werror=strict-aliasing
50
	# https://bugs.gentoo.org/924768
51
	# Upstream's sole provided contact method is email. I have sent an email
52
	# describing the issue with a fairly rapid response saying there will be
53
	# a new release "shortly" and that hopefully it will include a fix. -- Eli
54
	append-flags -fno-strict-aliasing
55
	filter-lto
56

  
47 57
	econf \
48 58
		--libdir=/usr/$(get_libdir) \
49 59
		$(use_enable debug) \
Thank you!