From 8f585952d4e7655f21d83b73e02819d54afa7797 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 20 Mar 2015 10:14:41 -0500 Subject: add new package --- .../patches/patch-rpc_bootparamd_main_c | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package/netkit-bootparamd/patches/patch-rpc_bootparamd_main_c (limited to 'package/netkit-bootparamd/patches/patch-rpc_bootparamd_main_c') diff --git a/package/netkit-bootparamd/patches/patch-rpc_bootparamd_main_c b/package/netkit-bootparamd/patches/patch-rpc_bootparamd_main_c new file mode 100644 index 000000000..fc2eb939a --- /dev/null +++ b/package/netkit-bootparamd/patches/patch-rpc_bootparamd_main_c @@ -0,0 +1,24 @@ +--- netkit-bootparamd-0.17.orig/rpc.bootparamd/main.c 2000-07-22 11:23:56.000000000 -0500 ++++ netkit-bootparamd-0.17/rpc.bootparamd/main.c 2015-03-07 15:09:26.074419604 -0600 +@@ -15,12 +15,6 @@ + #include + #include "bootparam_prot.h" + +- +-#ifdef __GLIBC__ +- /* quick fix */ +- void get_myaddress(struct sockaddr_in *); +-#endif +- + int debug = 0; + int dolog = 0; + struct in_addr route_addr; +@@ -39,7 +33,7 @@ main(int argc, char **argv) + struct stat buf; + char c; + +- progname = rindex(argv[0],'/'); ++ progname = strrchr(argv[0],'/'); + if (progname) progname++; + else progname = argv[0]; + -- cgit v1.2.3