aboutsummaryrefslogtreecommitdiff
path: root/ports/usbmuxd
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-02-12 08:29:04 +0800
committerGitHub <noreply@github.com>2020-02-11 16:29:04 -0800
commit6ee97010a9d83c45e83533ed956c367381e3d355 (patch)
tree3081e8643db9bfbacb0f4300da83a8272176c021 /ports/usbmuxd
parent10eeee5d550b03d594cebe9088fe142ce5f4f674 (diff)
downloadvcpkg-6ee97010a9d83c45e83533ed956c367381e3d355.tar.gz
vcpkg-6ee97010a9d83c45e83533ed956c367381e3d355.zip
[libimobiledevice] Update to 1.2.185 and fix usbmuxd build (#10007)
* [libimobiledevice] update to 1.2.185 and fix usbmuxd build * [libimobiledevice/usbmuxd] Add homepage
Diffstat (limited to 'ports/usbmuxd')
-rw-r--r--ports/usbmuxd/CONTROL3
-rw-r--r--ports/usbmuxd/fix-dependence-libimobiledevice.patch14
-rw-r--r--ports/usbmuxd/portfile.cmake3
3 files changed, 17 insertions, 3 deletions
diff --git a/ports/usbmuxd/CONTROL b/ports/usbmuxd/CONTROL
index a583aad3c..0dee4ed26 100644
--- a/ports/usbmuxd/CONTROL
+++ b/ports/usbmuxd/CONTROL
@@ -1,4 +1,5 @@
Source: usbmuxd
-Version: 1.2.76
+Version: 1.2.76-1
+Homepage: http://www.libimobiledevice.org
Description: A socket daemon to multiplex connections from and to iOS devices
Build-Depends: libimobiledevice, libusb, libusb-win32, pthreads
diff --git a/ports/usbmuxd/fix-dependence-libimobiledevice.patch b/ports/usbmuxd/fix-dependence-libimobiledevice.patch
new file mode 100644
index 000000000..77308345d
--- /dev/null
+++ b/ports/usbmuxd/fix-dependence-libimobiledevice.patch
@@ -0,0 +1,14 @@
+diff --git a/src/preflight.c b/src/preflight.c
+index aca193e..f012286 100644
+--- a/src/preflight.c
++++ b/src/preflight.c
+@@ -54,9 +54,6 @@
+ #include "log.h"
+
+ #ifdef HAVE_LIBIMOBILEDEVICE
+-enum connection_type {
+- CONNECTION_USBMUXD = 1
+-};
+
+ struct idevice_private {
+ char *udid;
diff --git a/ports/usbmuxd/portfile.cmake b/ports/usbmuxd/portfile.cmake
index 6f952633a..be0a1d8e4 100644
--- a/ports/usbmuxd/portfile.cmake
+++ b/ports/usbmuxd/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libimobiledevice-win32/usbmuxd
@@ -8,6 +6,7 @@ vcpkg_from_github(
HEAD_REF master-msvc
PATCHES
fix-dependence-pthreads.patch
+ fix-dependence-libimobiledevice.patch
)
vcpkg_install_msbuild(