summaryrefslogtreecommitdiff
path: root/patches/glibc/ports-2.12.1/240-check_native-headers.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-02 22:20:04 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-05-02 22:20:04 (GMT)
commit0edbdfd24cf34593bc5e49ab2f3f2081de77495d (patch)
tree56ba0c8918a9a1c082f7674cb388d98f8b8fd3e0 /patches/glibc/ports-2.12.1/240-check_native-headers.patch
parentc50fc857f72f1da138f3c6dca8baac824c4881ca (diff)
libc/glibc: update patchset, add ports patchset
Patchset provided by "Ioannis E. Venetis" <venetis@mail.capsl.udel.edu> http://sourceware.org/ml/crossgcc/2011-04/msg00072.html http://sourceware.org/ml/crossgcc/2011-04/msg00073.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'patches/glibc/ports-2.12.1/240-check_native-headers.patch')
-rw-r--r--patches/glibc/ports-2.12.1/240-check_native-headers.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/patches/glibc/ports-2.12.1/240-check_native-headers.patch b/patches/glibc/ports-2.12.1/240-check_native-headers.patch
new file mode 100644
index 0000000..de0cb5b
--- /dev/null
+++ b/patches/glibc/ports-2.12.1/240-check_native-headers.patch
@@ -0,0 +1,17 @@
+many ports hit this warning:
+../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
+../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
+
+snipped from suse
+
+diff -durN glibc-2.12.1.orig/sysdeps/unix/sysv/linux/check_native.c glibc-2.12.1/sysdeps/unix/sysv/linux/check_native.c
+--- glibc-2.12.1.orig/sysdeps/unix/sysv/linux/check_native.c 2007-11-24 04:12:17.000000000 +0100
++++ glibc-2.12.1/sysdeps/unix/sysv/linux/check_native.c 2009-11-13 00:50:11.000000000 +0100
+@@ -23,6 +23,7 @@
+ #include <stddef.h>
+ #include <stdint.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <time.h>
+ #include <unistd.h>
+ #include <net/if.h>