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>
This commit is contained in:
Georgy Yakovlev 2021-05-03 14:49:45 -07:00
parent d9ec599657
commit 351b3e27c1
No known key found for this signature in database
GPG Key ID: A272C8F015129D52
2 changed files with 35 additions and 1 deletions

View File

@ -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

View File

@ -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