libimobiledevice: update to 2020-02-19
authorRosen Penev <redacted>
Wed, 26 Feb 2020 09:36:05 +0000 (01:36 -0800)
committerRosen Penev <redacted>
Wed, 26 Feb 2020 09:37:18 +0000 (01:37 -0800)
Added config directory patch.

Signed-off-by: Rosen Penev <redacted>
libs/libimobiledevice/Makefile
libs/libimobiledevice/patches/020-config.patch [new file with mode: 0644]

index e5b879cd4ce92b4c16715d8f7ededbb6f973e5e7..8c12e7861f784b77af4d37848b4ec845005efee5 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libimobiledevice
-PKG_SOURCE_DATE:=2020-01-20
-PKG_SOURCE_VERSION:=61babf5f54e7734ebf3044af4c6294524d4b29b5
+PKG_SOURCE_DATE:=2020-02-19
+PKG_SOURCE_VERSION:=3d8d13f0a70cefc1b12571b7f6aa2d1d4c58cffb
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/libimobiledevice/libimobiledevice
-PKG_MIRROR_HASH:=7e3bb5dbb252bb49caed15dffdecc1269a688f0c3af9e8fcad2624c5e60851c5
+PKG_MIRROR_HASH:=4239f90c68ecd250a900b5256eafc364c658dcb8cc7767c58bd59b6d6b249d4e
 
 PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
 PKG_LICENSE:=LGPL-2.1-or-later
diff --git a/libs/libimobiledevice/patches/020-config.patch b/libs/libimobiledevice/patches/020-config.patch
new file mode 100644 (file)
index 0000000..da65a72
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/common/userpref.c
++++ b/common/userpref.c
+@@ -159,7 +159,7 @@ const char *userpref_get_config_dir()
+ #ifdef __APPLE__
+       base_config_dir = strdup("/var/db");
+ #else
+-      base_config_dir = strdup("/var/lib");
++      base_config_dir = strdup("/etc");
+ #endif
+ #endif
+       __config_dir = string_concat(base_config_dir, DIR_SEP_S, USERPREF_CONFIG_DIR, NULL);
git clone https://git.99rst.org/PROJECT