diff --git a/srcpkgs/libusbmuxd/patches/icat.patch b/srcpkgs/libusbmuxd/patches/icat.patch deleted file mode 100644 index 9644ce4e261..00000000000 --- a/srcpkgs/libusbmuxd/patches/icat.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git tools/icat.c tools/icat.c -index b306a47..7183461 100644 ---- tools/icat.c -+++ tools/icat.c -@@ -38,7 +38,9 @@ - #include - #include - #endif -- -+#if !(__GLIBC__) -+#include -+#endif - #include "usbmuxd.h" - #include "socket.h" - diff --git a/srcpkgs/libusbmuxd/patches/musl.patch b/srcpkgs/libusbmuxd/patches/musl.patch new file mode 100644 index 00000000000..91b660de850 --- /dev/null +++ b/srcpkgs/libusbmuxd/patches/musl.patch @@ -0,0 +1,14 @@ +diff --git tools/inetcat.c tools/inetcat.c +index b306a47..74bb91b 100644 +--- tools/inetcat.c ++++ tools/inetcat.c +@@ -21,6 +21,9 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#ifndef fd_set ++#include ++#endif + #include + #include + #include diff --git a/srcpkgs/libusbmuxd/template b/srcpkgs/libusbmuxd/template index 66855903cf4..0592cb5000c 100644 --- a/srcpkgs/libusbmuxd/template +++ b/srcpkgs/libusbmuxd/template @@ -1,16 +1,16 @@ # Template file for 'libusbmuxd' pkgname=libusbmuxd -version=2.0.0 +version=2.0.1 revision=1 build_style=gnu-configure -hostmakedepends="automake libtool pkgconf" +hostmakedepends="automake libtool pkg-config" makedepends="libusb-devel libplist-devel" short_desc="USB Multiplex Daemon library" maintainer="Orphaned " license="LGPL-2.1-only" homepage="https://marcan.st/blog/iphonelinux/usbmuxd/" distfiles="https://github.com/libimobiledevice/libusbmuxd/archive/${version}.tar.gz" -checksum=ecf287b9d5fa28645a6b5ed640b6bd174134227c4fd8fde28d0678df2be0e97a +checksum=f93faf3b3a73e283646f4d62b3421aeccf58142266b0eb22b2b13dd4b2362eb8 pre_configure() { autoreconf -fi