summaryrefslogtreecommitdiff
path: root/dev-libs/libgpg-error/libgpg-error-1.38.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
commitfeb0daf81d888e9160f9f94502de09b66f2a63fd (patch)
treeb6e5c40ce2abef3da27ed50a023153f475e0ddef /dev-libs/libgpg-error/libgpg-error-1.38.ebuild
parent9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff)
gentoo resync : 21.06.2020
Diffstat (limited to 'dev-libs/libgpg-error/libgpg-error-1.38.ebuild')
-rw-r--r--dev-libs/libgpg-error/libgpg-error-1.38.ebuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/dev-libs/libgpg-error/libgpg-error-1.38.ebuild b/dev-libs/libgpg-error/libgpg-error-1.38.ebuild
index f6fa282fbe08..3a45f44afdf9 100644
--- a/dev-libs/libgpg-error/libgpg-error-1.38.ebuild
+++ b/dev-libs/libgpg-error/libgpg-error-1.38.ebuild
@@ -7,7 +7,8 @@ inherit autotools libtool multilib-minimal toolchain-funcs prefix
DESCRIPTION="Contains error handling functions used by GnuPG software"
HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error"
-SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2
+ https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob_plain;f=src/gen-lock-obj.sh;hb=libgpg-error-1.38 -> gen-lock-obj-1.38.sh"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
@@ -26,7 +27,17 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/gpgrt.h
)
-PATCHES=( "${FILESDIR}/${PN}-1.37-remove_broken_check.patch" )
+PATCHES=(
+ "${FILESDIR}/${PN}-1.37-remove_broken_check.patch"
+ "${FILESDIR}/${P}-cross_compile.patch" #726520
+)
+
+src_unpack() {
+ [[ ${PV} == 1.38 ]] || die "Please remove gen-lock-obj.sh from SRC_URI and drop src_unpack"
+ unpack ${P}.tar.bz2
+ cp "${DISTDIR}"/gen-lock-obj-1.38.sh "${S}"/src/gen-lock-obj.sh || die
+ chmod +x "${S}"/src/gen-lock-obj.sh || die
+}
src_prepare() {
default