summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice/0001-include-unistd.h-for-usleep.patch31
-rw-r--r--meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.4.0.bb (renamed from meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb)9
2 files changed, 3 insertions, 37 deletions
diff --git a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice/0001-include-unistd.h-for-usleep.patch b/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice/0001-include-unistd.h-for-usleep.patch
deleted file mode 100644
index 424a203e56..0000000000
--- a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice/0001-include-unistd.h-for-usleep.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 6cb8069cfe08114f1dc7b50a7fcd4dc040cd1bbb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 9 May 2023 20:19:23 -0700
4Subject: [PATCH] include unistd.h for usleep()
5
6clang16 flags the missing header
7
8Fixes
9../../git/tools/idevicedevmodectl.c:363:2: error: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
10
11Upstream-Status: Submitted [https://github.com/libimobiledevice/libimobiledevice/pull/1444]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 tools/idevicedevmodectl.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/tools/idevicedevmodectl.c b/tools/idevicedevmodectl.c
18index 739bc13..9fe8d6a 100644
19--- a/tools/idevicedevmodectl.c
20+++ b/tools/idevicedevmodectl.c
21@@ -34,6 +34,7 @@
22 #ifndef WIN32
23 #include <signal.h>
24 #endif
25+#include <unistd.h>
26
27 #ifdef WIN32
28 #include <windows.h>
29--
302.40.1
31
diff --git a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb b/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.4.0.bb
index 3c93c9a37b..eeae93e261 100644
--- a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
+++ b/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.4.0.bb
@@ -6,13 +6,10 @@ LIC_FILES_CHKSUM = "\
6" 6"
7HOMEPAGE = "http://www.libimobiledevice.org/" 7HOMEPAGE = "http://www.libimobiledevice.org/"
8 8
9DEPENDS = "libplist usbmuxd libusbmuxd libtasn1 gnutls libgcrypt libimobiledevice-glue openssl" 9DEPENDS = "libplist usbmuxd libusbmuxd libtasn1 gnutls libgcrypt libimobiledevice-glue openssl libtatsu"
10 10
11PV = "1.3.0+git" 11SRCREV = "149f7623c672c1fa73122c7119a12bfc0012f2ac"
12 12SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master;tag=${PV}"
13SRCREV = "860ffb707af3af94467d2ece4ad258dda957c6cd"
14SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master \
15 file://0001-include-unistd.h-for-usleep.patch"
16 13
17inherit autotools pkgconfig 14inherit autotools pkgconfig
18 15