diff options
author | James Meyer <james.meyer@operamail.com> | 2014-02-16 23:55:51 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-02-19 19:03:04 (GMT) |
commit | 5e43b65f3e67974c0b421f631e6b5eeec2bb393c (patch) | |
tree | 22a2aba11b019ad6c2c6bb4124194bc95ba46db7 /abs/core/net-tools/net-tools-1.60-2.6-compilefix.patch | |
parent | 4061895c257e60fa6368b38c4cfd5191f5481a16 (diff) | |
download | linhes_pkgbuild-5e43b65f3e67974c0b421f631e6b5eeec2bb393c.zip linhes_pkgbuild-5e43b65f3e67974c0b421f631e6b5eeec2bb393c.tar.gz linhes_pkgbuild-5e43b65f3e67974c0b421f631e6b5eeec2bb393c.tar.bz2 |
net-tools, nfstools
update binary path to /usr/bin
refs #961
Diffstat (limited to 'abs/core/net-tools/net-tools-1.60-2.6-compilefix.patch')
-rw-r--r-- | abs/core/net-tools/net-tools-1.60-2.6-compilefix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/abs/core/net-tools/net-tools-1.60-2.6-compilefix.patch b/abs/core/net-tools/net-tools-1.60-2.6-compilefix.patch deleted file mode 100644 index 92ce901..0000000 --- a/abs/core/net-tools/net-tools-1.60-2.6-compilefix.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -ruN net-tools-1.60.orig/lib/x25_sr.c net-tools-1.60/lib/x25_sr.c ---- net-tools-1.60.orig/lib/x25_sr.c 2000-05-20 15:38:10.000000000 +0200 -+++ net-tools-1.60/lib/x25_sr.c 2003-10-18 20:33:31.927574928 +0200 -@@ -22,6 +22,7 @@ - #include <sys/socket.h> - #include <sys/ioctl.h> - #include <linux/x25.h> -+#include <linux/version.h> - #include <ctype.h> - #include <errno.h> - #include <netdb.h> -@@ -77,7 +78,11 @@ - rt.sigdigits=sigdigits; - - /* x25_route_struct.address isn't type struct sockaddr_x25, Why? */ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) - memcpy(&rt.address, &sx25.sx25_addr, sizeof(x25_address)); -+#else -+ memcpy(&rt.address, &sx25.sx25_addr, sizeof(struct x25_address)); -+#endif - - while (*args) { - if (!strcmp(*args,"device") || !strcmp(*args,"dev")) { |