head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.05.01.19.58.51; author vins; state Exp; branches; next ; commitid PLEgyI3TIKU3j9EG; desc @@ 1.1 log @comms/libusbmuxd: import libusbmuxd-2.1.1 from wip This project is a client library to multiplex connections from and to iOS devices alongside command-line utilities. It is primarily used by applications which use the libimobiledevice library to communicate with services running on iOS devices. The library does not establish a direct connection with a device but requires connecting to a socket provided by the usbmuxd daemon. The usbmuxd daemon is running upon installing iTunes on Windows and Mac OS X. The libimobiledevice project provides an open-source reimplementation of the usbmuxd daemon to use on Linux or as an alternative to communicate with iOS devices without the need to install iTunes. @ text @$NetBSD$ Add NetBSD support. https://github.com/libimobiledevice/libusbmuxd/pull/156 --- src/libusbmuxd.c.orig 2025-07-31 18:22:11.292175556 +0000 +++ src/libusbmuxd.c @@@@ -658,7 +658,7 @@@@ static void get_bundle_id() static void get_prog_name() { -#if defined(__APPLE__) || defined(__FreeBSD__) +#if defined(__APPLE__) || defined(__FreeBSD__) || defined (__NetBSD__) const char *pname = getprogname(); if (pname) { prog_name = strdup(pname); @