summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-05-03 14:49:45 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-05-03 14:50:18 -0700
commit351b3e27c158d85dc35b3e5438a5d223018ef126 (patch)
treee60234818669568ecc1436227fe698974fcca665 /app-pda
parentapp-portage/gs-elpa: Add GNU Emacs project as co-maintainer (diff)
downloadgentoo-351b3e27c158d85dc35b3e5438a5d223018ef126.tar.gz
gentoo-351b3e27c158d85dc35b3e5438a5d223018ef126.tar.bz2
gentoo-351b3e27c158d85dc35b3e5438a5d223018ef126.zip
app-pda/libimobiledevice: fix build
Closes: https://bugs.gentoo.org/787962 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/libimobiledevice/files/libimobiledevice-1.3.0-missing_libflags.patch31
-rw-r--r--app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild5
2 files changed, 35 insertions, 1 deletions
diff --git a/app-pda/libimobiledevice/files/libimobiledevice-1.3.0-missing_libflags.patch b/app-pda/libimobiledevice/files/libimobiledevice-1.3.0-missing_libflags.patch
new file mode 100644
index 000000000000..b52bf89355d9
--- /dev/null
+++ b/app-pda/libimobiledevice/files/libimobiledevice-1.3.0-missing_libflags.patch
@@ -0,0 +1,31 @@
+From 4b2f17e8cce8fa078aa55f5da5f726c20eac3e2e Mon Sep 17 00:00:00 2001
+From: Nikias Bassen <nikias@gmx.li>
+Date: Tue, 13 Apr 2021 05:36:03 +0200
+Subject: [PATCH] common: Add missing *_LIBS and *_CFLAGS to fix build
+
+---
+ common/Makefile.am | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/common/Makefile.am b/common/Makefile.am
+index 4e3facba..ab01b834 100644
+--- a/common/Makefile.am
++++ b/common/Makefile.am
+@@ -8,12 +8,17 @@ AM_CFLAGS = \
+ $(libplist_CFLAGS) \
+ $(libgnutls_CFLAGS) \
+ $(libtasn1_CFLAGS) \
++ $(libgcrypt_CFLAGS) \
+ $(openssl_CFLAGS) \
+ $(LFS_CFLAGS)
+
+ AM_LDFLAGS = \
+ $(libusbmuxd_LIBS) \
+ $(libplist_LIBS) \
++ $(libgnutls_LIBS) \
++ $(libtasn1_LIBS) \
++ $(libgcrypt_LIBS) \
++ $(openssl_LIBS) \
+ ${libpthread_LIBS}
+
+ noinst_LTLIBRARIES = libinternalcommon.la
diff --git a/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild
index f7ab373516b5..a2de4548e907 100644
--- a/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild
+++ b/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild
@@ -46,7 +46,10 @@ BDEPEND="
BUILD_DIR="${S}_build"
-PATCHES=( "${FILESDIR}"/${P}-slibtool.patch )
+PATCHES=(
+ "${FILESDIR}/${P}-slibtool.patch"
+ "${FILESDIR}/${P}-missing_libflags.patch" #787962
+)
src_prepare() {
default