File libnfsidmap-export-symbols.patch of Package nfsidmap.9167

Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -5,11 +5,16 @@ AC_PREREQ([2.68])
 AC_INIT([libnfsidmap],[0.25],[linux-nfs@vger.kernel.org])
 AC_CONFIG_SRCDIR([nfsidmap.h])
 AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_MACRO_DIR([m4])
+AM_INIT_AUTOMAKE([foreign])
+AC_PROG_LIBTOOL
 LT_INIT
 
+
 # Checks for programs.
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_PROG_INSTALL
 
 # Checks for libraries.
 
Index: strlcpy.c
===================================================================
--- strlcpy.c.orig
+++ strlcpy.c
@@ -43,6 +43,7 @@ static char *rcsid = "$OpenBSD: strlcpy.
  * will be copied.  Always NUL terminates (unless siz == 0).
  * Returns strlen(src); if retval >= siz, truncation occurred.
  */
+__attribute__ ((visibility ("hidden")))
 size_t
 strlcpy(dst, src, siz)
 	char *dst;
openSUSE Build Service is sponsored by