summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/libimobiledevice
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-09-04 23:23:59 -0700
committerKhem Raj <raj.khem@gmail.com>2018-09-08 13:32:12 -0700
commitbfbcc00cb95633c2e55f5adb3f1969867e1d1f89 (patch)
treec2927231600bf9fa0ec957d676785c738a1cf15f /meta-oe/recipes-connectivity/libimobiledevice
parent412045dfaf6955142e46c23d7c0196403946d284 (diff)
downloadmeta-openembedded-bfbcc00cb95633c2e55f5adb3f1969867e1d1f89.tar.gz
libimobiledevice: Upgrade to latest
Needs several packages to be updates Fixes build with openSSL 1.1.x License-Update: Drop LGPL-2.1, its moved out to separate package Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/libimobiledevice')
-rw-r--r--meta-oe/recipes-connectivity/libimobiledevice/files/inline-without-definition.patch31
-rw-r--r--meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb (renamed from meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.1.4.bb)13
2 files changed, 6 insertions, 38 deletions
diff --git a/meta-oe/recipes-connectivity/libimobiledevice/files/inline-without-definition.patch b/meta-oe/recipes-connectivity/libimobiledevice/files/inline-without-definition.patch
deleted file mode 100644
index 9a7895fd4..000000000
--- a/meta-oe/recipes-connectivity/libimobiledevice/files/inline-without-definition.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1Fix link error with gcc 5 toolchains
2
3 afc.c:258: error: undefined reference to 'debug_buffer'
4 collect2: error: ld returned 1 exit status
5
6debug.h header was declaring things inline without providing a definition.
7Files that included this header then failed to link against the corresponding
8external symbol in debug.c, because the linker took the 'inline' keyword
9seriously rather than ignoring it.
10
11--- libimobiledevice-1.1.4/src/debug.h.orig 2015-10-03 16:24:08.758740386 -0700
12+++ libimobiledevice-1.1.4/src/debug.h 2015-10-03 16:24:22.706740355 -0700
13@@ -44,14 +44,14 @@
14 #define debug_plist(a)
15 #endif
16
17-LIBIMOBILEDEVICE_INTERNAL inline void debug_info_real(const char *func,
18+LIBIMOBILEDEVICE_INTERNAL void debug_info_real(const char *func,
19 const char *file,
20 int line,
21 const char *format, ...);
22
23-LIBIMOBILEDEVICE_INTERNAL inline void debug_buffer(const char *data, const int length);
24-LIBIMOBILEDEVICE_INTERNAL inline void debug_buffer_to_file(const char *file, const char *data, const int length);
25-LIBIMOBILEDEVICE_INTERNAL inline void debug_plist_real(const char *func,
26+LIBIMOBILEDEVICE_INTERNAL void debug_buffer(const char *data, const int length);
27+LIBIMOBILEDEVICE_INTERNAL void debug_buffer_to_file(const char *file, const char *data, const int length);
28+LIBIMOBILEDEVICE_INTERNAL void debug_plist_real(const char *func,
29 const char *file,
30 int line,
31 plist_t plist);
diff --git a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.1.4.bb b/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
index 32aca96fd..908b98d8c 100644
--- a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.1.4.bb
+++ b/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
@@ -7,17 +7,16 @@ LIC_FILES_CHKSUM = "\
7 7
8HOMEPAGE ="http://www.libimobiledevice.org/" 8HOMEPAGE ="http://www.libimobiledevice.org/"
9 9
10DEPENDS = "libplist usbmuxd libtasn1 gnutls libgcrypt" 10DEPENDS = "libplist usbmuxd libusbmuxd libtasn1 gnutls libgcrypt"
11 11
12SRC_URI = " \ 12SRCREV = "fb71aeef10488ed7b0e60a1c8a553193301428c0"
13 http://www.libimobiledevice.org/downloads/libimobiledevice-${PV}.tar.bz2 \ 13PV = "1.2.0+git${SRCPV}"
14SRC_URI = "\
15 git://github.com/libimobiledevice/libimobiledevice;protocol=https \
14 file://configure-fix-largefile.patch \ 16 file://configure-fix-largefile.patch \
15 file://inline-without-definition.patch \
16" 17"
17 18
18SRC_URI[md5sum] = "3f28cbc6a2e30d34685049c0abde5183" 19S = "${WORKDIR}/git"
19SRC_URI[sha256sum] = "67499cfaa6172f566ee6b0783605acffe484fb7ddc3b09881ab7ac58667ee5b8"
20
21inherit autotools pkgconfig 20inherit autotools pkgconfig
22 21
23EXTRA_OECONF = " --without-cython " 22EXTRA_OECONF = " --without-cython "