libimobiledevice: update to 2024-05-20
authorRosen Penev <[email protected]>
Mon, 27 May 2024 00:47:04 +0000 (17:47 -0700)
committerRosen Penev <[email protected]>
Mon, 27 May 2024 17:46:03 +0000 (10:46 -0700)
Add patch to fix compilation with GCC14.

Signed-off-by: Rosen Penev <[email protected]>
libs/libimobiledevice/Makefile
libs/libimobiledevice/patches/010-gcc14.patch [new file with mode: 0644]

index cc124cc57623da5df81d376fe82bfca932a6333e..f8a1afdec9e54bc6360929657ce3199ab4981bdf 100644 (file)
@@ -12,9 +12,9 @@ PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/libimobiledevice/libimobiledevice.git
-PKG_SOURCE_DATE:=2024-04-16
-PKG_SOURCE_VERSION:=5f083426b4ede24b2576f3a56eaf8ac3632c02f7
-PKG_MIRROR_HASH:=96d63f5a5cdfbc045aa58939fa0ab1ab81739b67b042b86bbbeee75d332e09d5
+PKG_SOURCE_DATE:=2024-05-20
+PKG_SOURCE_VERSION:=9ccc52222c287b35e41625cc282fb882544676c6
+PKG_MIRROR_HASH:=9d272d40515c5ba6be5fa22eb897724d8940a505163918120c005bbeed352475
 
 PKG_MAINTAINER:=Rosen Penev <[email protected]>
 PKG_LICENSE:=LGPL-2.1-or-later
diff --git a/libs/libimobiledevice/patches/010-gcc14.patch b/libs/libimobiledevice/patches/010-gcc14.patch
new file mode 100644 (file)
index 0000000..0913865
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/tools/afcclient.c
++++ b/tools/afcclient.c
+@@ -37,6 +37,7 @@
+ #include <ctype.h>
+ #include <unistd.h>
+ #include <dirent.h>
++#include <time.h>
+ #ifdef WIN32
+ #include <windows.h>