Files
gentoo/net-misc/netkit-bootparamd/files/0.17-libtirpc.patch
Andreas K. Hüttel 1c33b816e5 net-misc/netkit-bootparamd: Fix build against glibc-2.26 / libtirpc, bug 371385
Closes: https://bugs.gentoo.org/371385
Package-Manager: Portage-2.3.11, Repoman-2.3.3
2017-10-04 16:45:53 +02:00

16 lines
455 B
Diff

diff -ruN netkit-bootparamd-0.17.orig/rpc.bootparamd/main.c netkit-bootparamd-0.17/rpc.bootparamd/main.c
--- netkit-bootparamd-0.17.orig/rpc.bootparamd/main.c 2000-07-22 16:23:56.000000000 -0000
+++ netkit-bootparamd-0.17/rpc.bootparamd/main.c 2017-10-04 14:17:49.887552574 -0000
@@ -17,9 +17,11 @@
#ifdef __GLIBC__
+#ifndef _TIRPC_RPC_H
/* quick fix */
void get_myaddress(struct sockaddr_in *);
#endif
+#endif
int debug = 0;
int dolog = 0;