Updated build for libusbmuxd

libusbmuxd no longer need libimobiledevice-glue
This commit is contained in:
dslm4515
2023-12-21 23:32:43 -06:00
parent d8866703b1
commit 434a6bc079
2 changed files with 19 additions and 3 deletions

View File

@ -7,10 +7,12 @@
# $PKGS = Directory to store built packages
#
# DEPS
# Required: libplist libimobiledevice-glue
# Required: libplist libusb
# Recommended: NONE
# Optional: NONE
patch -Np1 -i ../patches/libusbmuxd-chimera/musl.patch
NOCONFIGURE=1 ./autogen.sh &&
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
@ -42,7 +44,7 @@ libusbmuxd:
libusbmuxd:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libusbmuxd-2.0.2-$(uname -m)-mlfs.txz && \
sudo -S makepkg -l y -c n $PKGS/libusbmuxd-2.0.2-$PSUFFIX && \
cd /BMAN && \
cat > /tmp/slack-desc << "EOF"
libusbmuxd-doc: Manuals for libusbmuxd
@ -53,5 +55,5 @@ libusbmuxd-doc: http://www.libimobiledevice.org/
libusbmuxd-doc:
EOF
sudo -S mv -v /tmp/slack-desc install/ && \
sudo -S makepkg -l y -c n $PKGS/libusbmuxd-doc-2.0.2-noarch-mlfs.txz && \
sudo -S makepkg -l y -c n $PKGS/libusbmuxd-doc-2.0.2-$NOPSUFFIX && \
sudo -S rm -rf ${BUILD}/* /BMAN/*

View File

@ -0,0 +1,14 @@
diff --git tools/inetcat.c tools/inetcat.c
index b306a47..74bb91b 100644
--- a/tools/inetcat.c
+++ b/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>