tayga: fix compilation with GCC14
authorRosen Penev <rosenp@gmail.com>
Tue, 12 Nov 2024 00:30:48 +0000 (16:30 -0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 22 Nov 2024 04:34:14 +0000 (20:34 -0800)
Header is needed for musl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
ipv6/tayga/Makefile
ipv6/tayga/patches/010-gcc14.patch [new file with mode: 0644]

index 2eb74a57528a065b05d2be5a00498925dfa0bec6..3132cda2bf6167257e22490f45e5181f78f41c51 100644 (file)
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tayga
 PKG_VERSION:=0.9.2
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=tayga-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.litech.org/tayga/
diff --git a/ipv6/tayga/patches/010-gcc14.patch b/ipv6/tayga/patches/010-gcc14.patch
new file mode 100644 (file)
index 0000000..5615b6b
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/tayga.h
++++ b/tayga.h
+@@ -20,6 +20,7 @@
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
++#include <sys/uio.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <unistd.h>