This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch glibc-2.25 in repository glibc.
commit 9886ee19dcae898fff1d4d7a1d633971522ad2a5 Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Thu Aug 3 00:36:50 2017 +0000 complete patch for tst-rfc3484-2 and tst-rfc3484-3 --- .../patches/hurd-i386/submitted-tst-rfc3484.diff | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/debian/patches/hurd-i386/submitted-tst-rfc3484.diff b/debian/patches/hurd-i386/submitted-tst-rfc3484.diff index fca0fc2..97a42ca 100644 --- a/debian/patches/hurd-i386/submitted-tst-rfc3484.diff +++ b/debian/patches/hurd-i386/submitted-tst-rfc3484.diff @@ -4,6 +4,10 @@ Define missing __inet6_scopeid_pton internal function used by getaddrinfo * posix/tst-rfc3484.c: Include <netinet/in.h> and <net/if.h> (__inet6_scopeid_pton): New function. +* posix/tst-rfc3484-2.c: Include <netinet/in.h> and <net/if.h> +(__inet6_scopeid_pton): New function. +* posix/tst-rfc3484-3.c: Include <netinet/in.h> and <net/if.h> +(__inet6_scopeid_pton): New function. Index: glibc-2.25/posix/tst-rfc3484.c =================================================================== @@ -34,3 +38,61 @@ Index: glibc-2.25/posix/tst-rfc3484.c #undef USE_NSCD #include "../sysdeps/posix/getaddrinfo.c" +Index: glibc-2.25/posix/tst-rfc3484-2.c +=================================================================== +--- glibc-2.25.orig/posix/tst-rfc3484-2.c ++++ glibc-2.25/posix/tst-rfc3484-2.c +@@ -2,6 +2,8 @@ + #include <stdio.h> + #include <ifaddrs.h> + #include <stdint.h> ++#include <netinet/in.h> ++#include <net/if.h> + + /* Internal definitions used in the libc code. */ + #define __getservbyname_r getservbyname_r +@@ -55,6 +57,15 @@ _res_hconf_init (void) + { + } + ++int ++internal_function ++__inet6_scopeid_pton (const struct in6_addr *address, const char *scope, ++ uint32_t *result) ++{ ++ *result = if_nametoindex(scope); ++ return 0; ++} ++ + #undef USE_NSCD + #include "../sysdeps/posix/getaddrinfo.c" + +Index: glibc-2.25/posix/tst-rfc3484-3.c +=================================================================== +--- glibc-2.25.orig/posix/tst-rfc3484-3.c ++++ glibc-2.25/posix/tst-rfc3484-3.c +@@ -2,6 +2,8 @@ + #include <stdio.h> + #include <ifaddrs.h> + #include <stdint.h> ++#include <netinet/in.h> ++#include <net/if.h> + + /* Internal definitions used in the libc code. */ + #define __getservbyname_r getservbyname_r +@@ -55,6 +57,15 @@ _res_hconf_init (void) + { + } + ++int ++internal_function ++__inet6_scopeid_pton (const struct in6_addr *address, const char *scope, ++ uint32_t *result) ++{ ++ *result = if_nametoindex(scope); ++ return 0; ++} ++ + #undef USE_NSCD + #include "../sysdeps/posix/getaddrinfo.c" + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git