Skip to content

Commit

Permalink
app-pda/libimobiledevice: fix build
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/787962
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
gyakovlev committed May 3, 2021
1 parent d9ec599 commit 351b3e2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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
5 changes: 4 additions & 1 deletion app-pda/libimobiledevice/libimobiledevice-1.3.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 351b3e2

Please sign in to comment.