summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Schollmeyer <nex+b-g-o@nexadn.de>2022-11-05 20:23:46 +0100
committerFlorian Schmaus <flow@gentoo.org>2022-11-06 12:04:24 +0100
commitca475f37660c940516572a8c4eee6ec0e017c0f1 (patch)
tree9aa16ec322d28ebd7ccbf93329aeb897f40cbf71 /dev-libs/libstrophe/libstrophe-0.12.2.ebuild
parentdev-libs/libstrophe: drop 0.12.0, 0.12.1 (diff)
downloadgentoo-ca475f37660c940516572a8c4eee6ec0e017c0f1.tar.gz
gentoo-ca475f37660c940516572a8c4eee6ec0e017c0f1.tar.bz2
gentoo-ca475f37660c940516572a8c4eee6ec0e017c0f1.zip
dev-libs/libstrophe: Backport /bin/sh -> dash fix
Closes: https://bugs.gentoo.org/877049 Closes: https://bugs.gentoo.org/879533 Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de> Closes: https://github.com/gentoo/gentoo/pull/28148 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-libs/libstrophe/libstrophe-0.12.2.ebuild')
-rw-r--r--dev-libs/libstrophe/libstrophe-0.12.2.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-libs/libstrophe/libstrophe-0.12.2.ebuild b/dev-libs/libstrophe/libstrophe-0.12.2.ebuild
index a491acaf81f5..fcfff76abb4f 100644
--- a/dev-libs/libstrophe/libstrophe-0.12.2.ebuild
+++ b/dev-libs/libstrophe/libstrophe-0.12.2.ebuild
@@ -4,7 +4,11 @@
EAPI=7
DESCRIPTION="A simple, lightweight C library for writing XMPP clients"
HOMEPAGE="http://strophe.im/libstrophe/"
-SRC_URI="https://github.com/strophe/${PN}/releases/download/${PV}/${P}.tar.xz"
+# 2nd SRC is a backport of the /bin/sh -> dash fix, #877049, #879533
+SRC_URI="
+ https://github.com/strophe/${PN}/releases/download/${PV}/${P}.tar.xz
+ https://github.com/strophe/libstrophe/commit/7352bd5cdbacf98771fdc0d32a606c4b6718077c.patch -> ${PN}-fix-configure-bashisms.patch
+"
LICENSE="|| ( MIT GPL-3 )"
# Subslot: ${SONAME}.1 to differentiate from previous versions without SONAME
SLOT="0/0.1"
@@ -25,6 +29,11 @@ BDEPEND="
DOCS=( ChangeLog )
+PATCHES=(
+ # https://github.com/strophe/libstrophe/pull/218
+ "${DISTDIR}/${PN}-fix-configure-bashisms.patch"
+)
+
src_configure() {
# shellcheck disable=SC2207
local myeconf=(