From: Balint Reczey Date: Thu, 24 Jul 2014 17:23:40 +0000 (+0200) Subject: Really fix FTBFS on kFreeBSD/Hurd by back-porting fix X-Git-Tag: debian/1.9.6-1ubuntu1~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a04f35ffdeb66621d63df9ca109071125319576c;p=deb_libnfs.git Really fix FTBFS on kFreeBSD/Hurd by back-porting fix Closes: #754646 --- diff --git a/debian/patches/0001-Use-sockaddr_in6-instead-of-sockaddr6_in.patch b/debian/patches/0001-Use-sockaddr_in6-instead-of-sockaddr6_in.patch new file mode 100644 index 0000000..a8aff06 --- /dev/null +++ b/debian/patches/0001-Use-sockaddr_in6-instead-of-sockaddr6_in.patch @@ -0,0 +1,25 @@ +From 18c94b4633c6157c3e75890c15ea51b73e7bf876 Mon Sep 17 00:00:00 2001 +From: Petr Salinger +Date: Sat, 19 Jul 2014 01:14:43 +0200 +Subject: [PATCH] Use sockaddr_in6 instead of sockaddr6_in + +--- + lib/socket.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/socket.c b/lib/socket.c +index f973f01..3f7f89f 100644 +--- a/lib/socket.c ++++ b/lib/socket.c +@@ -506,7 +506,7 @@ static int rpc_connect_sockaddr_async(struct rpc_context *rpc, struct sockaddr_s + ((struct sockaddr_in6 *)&ss)->sin6_port = port; + ((struct sockaddr_in6 *)&ss)->sin6_family = AF_INET6; + #ifdef HAVE_SOCKADDR_LEN +- ((struct sockaddr_in6 *)&ss)->sin6_len = sizeof(struct sockaddr6_in); ++ ((struct sockaddr_in6 *)&ss)->sin6_len = sizeof(struct sockaddr_in6); + #endif + break; + } +-- +1.9.1 + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..22a91ad --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Use-sockaddr_in6-instead-of-sockaddr6_in.patch