libusbmuxd: update 2.0.1

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-12-10 18:17:26 -06:00 committed by Helmut Pozimski
parent df28a881da
commit 3b1aad2196
3 changed files with 17 additions and 18 deletions

View file

@ -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 <sys/ioctl.h>
#include <signal.h>
#endif
-
+#if !(__GLIBC__)
+#include <sys/select.h>
+#endif
#include "usbmuxd.h"
#include "socket.h"

View file

@ -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 <sys/select.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>

View file

@ -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 <orphan@voidlinux.org>"
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