Diff libstrophe-0.12.2 with a libstrophe-0.12.3

/usr/portage/dev-libs/libstrophe/libstrophe-0.12.3.ebuild 2023-10-09 14:52:29.528368351 +0300
1 1
# Copyright 1999-2023 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 6
inherit autotools
7 7

  
8 8
DESCRIPTION="A simple, lightweight C library for writing XMPP clients"
9 9
HOMEPAGE="https://strophe.im/libstrophe/"
10
# 2nd SRC is a backport of the /bin/sh -> dash fix, #877049, #879533
11 10
SRC_URI="
12 11
	https://github.com/strophe/${PN}/releases/download/${PV}/${P}.tar.xz
13
	https://github.com/strophe/libstrophe/commit/7352bd5cdbacf98771fdc0d32a606c4b6718077c.patch -> ${PN}-fix-configure-bashisms.patch
14 12
"
15 13
LICENSE="|| ( MIT GPL-3 )"
16 14
# Subslot: ${SONAME}.1 to differentiate from previous versions without SONAME
......
33 31
DOCS=( ChangeLog )
34 32

  
35 33
PATCHES=(
36
	# https://github.com/strophe/libstrophe/pull/218
37
	"${DISTDIR}/${PN}-fix-configure-bashisms.patch"
34
	"${FILESDIR}/${PN}-0.12.3-allow-tests-when-static.patch"
38 35
)
39 36

  
40 37
src_prepare() {
41 38
	default
42 39

  
43
	# Needed for bashisms patch which touches configure
40
	# tests patch touches Makefile.am, need to regenerate to avoid maintainer mode
44 41
	eautoreconf
45 42
}
46 43

  
47 44
src_configure() {
48
	# shellcheck disable=SC2207
49 45
	local myeconf=(
50 46
		--enable-tls
51 47
		$(use_with !expat libxml2)
Thank you!