mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
aiccu: fix musl compatibility
- Fix redefinition of struct ethhdr - Restrict the use of res_ninit() and res_nquery() to glibc - Fix a warning in dn_skipname.c by declaring ns_name_skip() static - Refresh patches Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
diff -Nru aiccu.old/common/dn_skipname.c aiccu/common/dn_skipname.c
|
||||
--- aiccu.old/common/dn_skipname.c 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ aiccu/common/dn_skipname.c 2006-11-04 00:50:23.000000000 +0200
|
||||
--- /dev/null
|
||||
+++ b/common/dn_skipname.c
|
||||
@@ -0,0 +1,51 @@
|
||||
+#include <errno.h>
|
||||
+#include <resolv.h>
|
||||
@@ -53,11 +52,10 @@ diff -Nru aiccu.old/common/dn_skipname.c aiccu/common/dn_skipname.c
|
||||
+ return (ptr - saveptr);
|
||||
+}
|
||||
+
|
||||
diff -Nru aiccu.old/unix-console/Makefile aiccu/unix-console/Makefile
|
||||
--- aiccu.old/unix-console/Makefile 2006-11-04 00:51:20.000000000 +0200
|
||||
+++ aiccu/unix-console/Makefile 2006-11-04 00:48:51.000000000 +0200
|
||||
--- a/unix-console/Makefile
|
||||
+++ b/unix-console/Makefile
|
||||
@@ -10,9 +10,9 @@
|
||||
# $Date: 2006-07-25 09:20:48 $
|
||||
# $Date: 2007-01-15 11:04:27 $
|
||||
# **********************************************************/
|
||||
|
||||
-SRCS = main.c ../common/tun.c ../common/aiccu.c ../common/hash_md5.c ../common/hash_sha1.c ../common/common.c ../common/heartbeat.c ../common/tic.c ../common/ayiya.c ../common/aiccu_test.c ../common/resolver.c
|
||||
|
||||
Reference in New Issue
Block a user