commit: 351b3e27c158d85dc35b3e5438a5d223018ef126 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Mon May 3 21:49:45 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Mon May 3 21:50:18 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351b3e27
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 <AT> gentoo.org> .../libimobiledevice-1.3.0-missing_libflags.patch | 31 ++++++++++++++++++++++ .../libimobiledevice-1.3.0-r1.ebuild | 5 +++- 2 files changed, 35 insertions(+), 1 deletion(-) 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 00000000000..b52bf89355d --- /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 <[email protected]> +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 f7ab373516b..a2de4548e90 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
