summaryrefslogtreecommitdiff
path: root/dev-libs/libstrophe/libstrophe-0.12.2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-06 15:20:09 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-06 15:20:09 +0000
commit3d013ccac70a281416dccbb6757f76818222cbba (patch)
treeb44b7bc95d660905770332e3f649cae28ed8921d /dev-libs/libstrophe/libstrophe-0.12.2.ebuild
parent6003fc7a6eda56862fcff321f47e40cd34e60098 (diff)
gentoo auto-resync : 06:11:2022 - 15:20:09
Diffstat (limited to 'dev-libs/libstrophe/libstrophe-0.12.2.ebuild')
-rw-r--r--dev-libs/libstrophe/libstrophe-0.12.2.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-libs/libstrophe/libstrophe-0.12.2.ebuild b/dev-libs/libstrophe/libstrophe-0.12.2.ebuild
index a491acaf81f5..920bc564ac78 100644
--- a/dev-libs/libstrophe/libstrophe-0.12.2.ebuild
+++ b/dev-libs/libstrophe/libstrophe-0.12.2.ebuild
@@ -3,8 +3,12 @@
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"
+HOMEPAGE="https://strophe.im/libstrophe/"
+# 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=(