patches/glibc/ports-2.13/240-check_native-headers.patch
changeset 2438 2ba5655f6297
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/ports-2.13/240-check_native-headers.patch	Tue May 03 00:19:56 2011 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +many ports hit this warning:
     1.5 +../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
     1.6 +../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
     1.7 +
     1.8 +snipped from suse
     1.9 +
    1.10 +diff -durN glibc-2.13.orig/sysdeps/unix/sysv/linux/check_native.c glibc-2.13/sysdeps/unix/sysv/linux/check_native.c
    1.11 +--- glibc-2.13.orig/sysdeps/unix/sysv/linux/check_native.c	2007-11-24 04:12:17.000000000 +0100
    1.12 ++++ glibc-2.13/sysdeps/unix/sysv/linux/check_native.c	2009-11-13 00:50:11.000000000 +0100
    1.13 +@@ -23,6 +23,7 @@
    1.14 + #include <stddef.h>
    1.15 + #include <stdint.h>
    1.16 + #include <stdlib.h>
    1.17 ++#include <string.h>
    1.18 + #include <time.h>
    1.19 + #include <unistd.h>
    1.20 + #include <net/if.h>