From ac46e350e174e78a55a348eda775665ae0eb3277 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Mar 2012 12:07:28 +0100 Subject: update gcc, glibc and fix build breakage --- package/libtirpc/patches/patch-src_auth_time_c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package/libtirpc/patches/patch-src_auth_time_c (limited to 'package/libtirpc/patches/patch-src_auth_time_c') diff --git a/package/libtirpc/patches/patch-src_auth_time_c b/package/libtirpc/patches/patch-src_auth_time_c new file mode 100644 index 000000000..5ce7de419 --- /dev/null +++ b/package/libtirpc/patches/patch-src_auth_time_c @@ -0,0 +1,24 @@ +--- libtirpc-0.2.2.orig/src/auth_time.c 2011-05-02 14:10:40.000000000 +0200 ++++ libtirpc-0.2.2/src/auth_time.c 2012-03-22 19:02:30.422855534 +0100 +@@ -43,7 +43,7 @@ + //#include + #include + #undef NIS +-#include ++//#include + + + #ifdef TESTING +@@ -138,6 +138,7 @@ free_eps(eps, num) + * NIS+ server will call __rpc_get_time_offset() with the nis_server + * structure already populated. + */ ++#ifdef 0 + static nis_server * + get_server(sin, host, srv, eps, maxep) + struct sockaddr_in *sin; +@@ -491,3 +492,4 @@ error: + + return (time_valid); + } ++#endif -- cgit v1.2.3