Browse Source

libimobiledevice: update to 2020-02-19

Added config directory patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
7a1435e5f4
2 changed files with 14 additions and 3 deletions
  1. +3
    -3
      libs/libimobiledevice/Makefile
  2. +11
    -0
      libs/libimobiledevice/patches/020-config.patch

+ 3
- 3
libs/libimobiledevice/Makefile View File

@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libimobiledevice 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_RELEASE:=1
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/libimobiledevice/libimobiledevice PKG_SOURCE_URL:=https://github.com/libimobiledevice/libimobiledevice
PKG_MIRROR_HASH:=7e3bb5dbb252bb49caed15dffdecc1269a688f0c3af9e8fcad2624c5e60851c5
PKG_MIRROR_HASH:=4239f90c68ecd250a900b5256eafc364c658dcb8cc7767c58bd59b6d6b249d4e
PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com> PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
PKG_LICENSE:=LGPL-2.1-or-later PKG_LICENSE:=LGPL-2.1-or-later


+ 11
- 0
libs/libimobiledevice/patches/020-config.patch View File

@ -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);

Loading…
Cancel
Save