summaryrefslogtreecommitdiff
path: root/recipes/glibc/files/arm-check-pf.patch
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-06-19 21:22:26 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-06-19 21:22:26 +0400
commit7b60863bdf8020ef3419fc09d85ae4babbe97b12 (patch)
tree50d60b4c0c18c531360c95662e1500e78805e735 /recipes/glibc/files/arm-check-pf.patch
parentb0feb8aed2ec0501cf7cbd57b10254711ea702c1 (diff)
glibc-2.9: fix builds for arm-oabi
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'recipes/glibc/files/arm-check-pf.patch')
-rw-r--r--recipes/glibc/files/arm-check-pf.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/glibc/files/arm-check-pf.patch b/recipes/glibc/files/arm-check-pf.patch
new file mode 100644
index 0000000000..b9c72262f2
--- /dev/null
+++ b/recipes/glibc/files/arm-check-pf.patch
@@ -0,0 +1,14 @@
+Index: glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/check_pf.c
+===================================================================
+--- glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/check_pf.c 2009-06-19 20:45:32.451372131 +0400
++++ glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/check_pf.c 2009-06-19 20:45:51.351313426 +0400
+@@ -207,9 +207,6 @@
+ newp->info.flags = (((ifam->ifa_flags & IFA_F_DEPRECATED)
+ ? in6ai_deprecated : 0)
+ | ((ifam->ifa_flags
+- & IFA_F_TEMPORARY)
+- ? in6ai_temporary : 0)
+- | ((ifam->ifa_flags
+ & IFA_F_HOMEADDRESS)
+ ? in6ai_homeaddress : 0));
+ memcpy (newp->info.addr, address ?: local,