File: fix_ftbfs.patch

package info (click to toggle)
yp-tools 4.2.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,288 kB
  • sloc: ansic: 4,192; sh: 1,081; makefile: 59; sed: 16
file content (24 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: fix ftbfs

---

--- a/src/ypset.c
+++ b/src/ypset.c
@@ -142,7 +142,7 @@
 
   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"),
@@ -184,7 +184,7 @@
 
   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"),