summaryrefslogtreecommitdiff
path: root/packages/glibc/2.13/0017-check_native-headers.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-12-02 23:30:38 (GMT)
committerGitHub <noreply@github.com>2017-12-02 23:30:38 (GMT)
commitd917a29865876b913fe2939ee2a0728145e8543a (patch)
tree4e048ed57988306696efa3c5b81a80d48030e913 /packages/glibc/2.13/0017-check_native-headers.patch
parente832b9b220f90b11b893e2815ceb37ec2b708683 (diff)
parent98bc4decdeab1361bdc585c86591718fb08c8ffb (diff)
Merge pull request #874 from stilor/renumber-update-patches
Renumber & update patches
Diffstat (limited to 'packages/glibc/2.13/0017-check_native-headers.patch')
-rw-r--r--packages/glibc/2.13/0017-check_native-headers.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/glibc/2.13/0017-check_native-headers.patch b/packages/glibc/2.13/0017-check_native-headers.patch
new file mode 100644
index 0000000..2b1b619
--- /dev/null
+++ b/packages/glibc/2.13/0017-check_native-headers.patch
@@ -0,0 +1,20 @@
+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
+
+---
+ sysdeps/unix/sysv/linux/check_native.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/sysdeps/unix/sysv/linux/check_native.c
++++ b/sysdeps/unix/sysv/linux/check_native.c
+@@ -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>