Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,31 @@
From 6cb8069cfe08114f1dc7b50a7fcd4dc040cd1bbb Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 9 May 2023 20:19:23 -0700
Subject: [PATCH] include unistd.h for usleep()
clang16 flags the missing header
Fixes
../../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]
Upstream-Status: Submitted [https://github.com/libimobiledevice/libimobiledevice/pull/1444]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
tools/idevicedevmodectl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/idevicedevmodectl.c b/tools/idevicedevmodectl.c
index 739bc13..9fe8d6a 100644
--- a/tools/idevicedevmodectl.c
+++ b/tools/idevicedevmodectl.c
@@ -34,6 +34,7 @@
#ifndef WIN32
#include <signal.h>
#endif
+#include <unistd.h>
#ifdef WIN32
#include <windows.h>
--
2.40.1
@@ -0,0 +1,22 @@
SUMMARY = "A protocol library to access an iPhone or iPod Touch in Linux"
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
LIC_FILES_CHKSUM = "\
file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07 \
file://COPYING.LESSER;md5=6ab17b41640564434dda85c06b7124f7 \
"
HOMEPAGE = "http://www.libimobiledevice.org/"
DEPENDS = "libplist usbmuxd libusbmuxd libtasn1 gnutls libgcrypt libimobiledevice-glue openssl"
PV = "1.3.0+git${SRCPV}"
SRCREV = "860ffb707af3af94467d2ece4ad258dda957c6cd"
SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master \
file://0001-include-unistd.h-for-usleep.patch"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
EXTRA_OECONF = " --without-cython "
CFLAGS += "-D_GNU_SOURCE"