Control: tags 897890 + patch
Control: tags 897890 + pending

Dear maintainer,

I've prepared an NMU for yp-tools (versioned as 3.3-5.2) and
uploaded it mentors for sponsorship. Please feel free to tell me if I
should remove it from mentors.

--
Regards
Sudip


diff -Nru yp-tools-3.3/debian/changelog yp-tools-3.3/debian/changelog
--- yp-tools-3.3/debian/changelog       2018-03-22 14:55:46.000000000 +0000
+++ yp-tools-3.3/debian/changelog       2020-02-27 21:00:19.000000000 +0000
@@ -1,3 +1,10 @@
+yp-tools (3.3-5.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs. (Closes: #897890)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Thu, 27 Feb 2020 21:00:19 
+0000
+
 yp-tools (3.3-5.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru yp-tools-3.3/debian/patches/fix_ftbfs.patch 
yp-tools-3.3/debian/patches/fix_ftbfs.patch
--- yp-tools-3.3/debian/patches/fix_ftbfs.patch 1970-01-01 01:00:00.000000000 
+0100
+++ yp-tools-3.3/debian/patches/fix_ftbfs.patch 2020-02-27 21:00:07.000000000 
+0000
@@ -0,0 +1,24 @@
+Description: fix ftbfs
+
+---
+
+--- yp-tools-3.3.orig/src/ypset.c
++++ yp-tools-3.3/src/ypset.c
+@@ -134,7 +134,7 @@ bind_tohost_v2 (const char *hostname, ch
+ 
+   res = clnt_call (client, YPBINDPROC_SETDOM,
+                  (xdrproc_t) xdr_ypbind2_setdom, (caddr_t) &ypsd,
+-                 (xdrproc_t) xdr_void, NULL, tv);
++                 (xdrproc_t) ((struct __rpc_xdr *) xdr_void), NULL, tv);
+   if (res)
+     {
+       fprintf (stderr, _("Cannot ypset for domain %s on host %s.\n"),
+@@ -182,7 +182,7 @@ bind_tohost_v3 (const char *hostname, ch
+ 
+   res = clnt_call (client, YPBINDPROC_SETDOM,
+                  (xdrproc_t) xdr_ypbind3_setdom, (caddr_t) &ypsd,
+-                 (xdrproc_t) xdr_void, NULL, tv);
++                 (xdrproc_t) ((struct __rpc_xdr *) xdr_void), NULL, tv);
+   if (res)
+     {
+       fprintf (stderr, _("Cannot ypset for domain %s on host %s.\n"),
diff -Nru yp-tools-3.3/debian/patches/series yp-tools-3.3/debian/patches/series
--- yp-tools-3.3/debian/patches/series  2018-03-22 14:49:29.000000000 +0000
+++ yp-tools-3.3/debian/patches/series  2020-02-27 20:57:30.000000000 +0000
@@ -3,3 +3,4 @@
 fix-udptimeout
 gcc7.patch
 do_ypcall_tr-cast-align.patch
+fix_ftbfs.patch

Reply via email to