Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-pda/libimobiledevice/files/, app-pda/libimobiledevice/
Date: Mon, 03 May 2021 21:50:36
Message-Id: 1620078618.351b3e27c158d85dc35b3e5438a5d223018ef126.gyakovlev@gentoo
1 commit: 351b3e27c158d85dc35b3e5438a5d223018ef126
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 21:49:45 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 21:50:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351b3e27
7
8 app-pda/libimobiledevice: fix build
9
10 Closes: https://bugs.gentoo.org/787962
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
13
14 .../libimobiledevice-1.3.0-missing_libflags.patch | 31 ++++++++++++++++++++++
15 .../libimobiledevice-1.3.0-r1.ebuild | 5 +++-
16 2 files changed, 35 insertions(+), 1 deletion(-)
17
18 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
19 new file mode 100644
20 index 00000000000..b52bf89355d
21 --- /dev/null
22 +++ b/app-pda/libimobiledevice/files/libimobiledevice-1.3.0-missing_libflags.patch
23 @@ -0,0 +1,31 @@
24 +From 4b2f17e8cce8fa078aa55f5da5f726c20eac3e2e Mon Sep 17 00:00:00 2001
25 +From: Nikias Bassen <nikias@×××.li>
26 +Date: Tue, 13 Apr 2021 05:36:03 +0200
27 +Subject: [PATCH] common: Add missing *_LIBS and *_CFLAGS to fix build
28 +
29 +---
30 + common/Makefile.am | 5 +++++
31 + 1 file changed, 5 insertions(+)
32 +
33 +diff --git a/common/Makefile.am b/common/Makefile.am
34 +index 4e3facba..ab01b834 100644
35 +--- a/common/Makefile.am
36 ++++ b/common/Makefile.am
37 +@@ -8,12 +8,17 @@ AM_CFLAGS = \
38 + $(libplist_CFLAGS) \
39 + $(libgnutls_CFLAGS) \
40 + $(libtasn1_CFLAGS) \
41 ++ $(libgcrypt_CFLAGS) \
42 + $(openssl_CFLAGS) \
43 + $(LFS_CFLAGS)
44 +
45 + AM_LDFLAGS = \
46 + $(libusbmuxd_LIBS) \
47 + $(libplist_LIBS) \
48 ++ $(libgnutls_LIBS) \
49 ++ $(libtasn1_LIBS) \
50 ++ $(libgcrypt_LIBS) \
51 ++ $(openssl_LIBS) \
52 + ${libpthread_LIBS}
53 +
54 + noinst_LTLIBRARIES = libinternalcommon.la
55
56 diff --git a/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild
57 index f7ab373516b..a2de4548e90 100644
58 --- a/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild
59 +++ b/app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild
60 @@ -46,7 +46,10 @@ BDEPEND="
61
62 BUILD_DIR="${S}_build"
63
64 -PATCHES=( "${FILESDIR}"/${P}-slibtool.patch )
65 +PATCHES=(
66 + "${FILESDIR}/${P}-slibtool.patch"
67 + "${FILESDIR}/${P}-missing_libflags.patch" #787962
68 +)
69
70 src_prepare() {
71 default