summaryrefslogtreecommitdiff
path: root/sysutils/am-utils/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/am-utils/files')
-rw-r--r--sysutils/am-utils/files/patch-amd_amd.h13
-rw-r--r--sysutils/am-utils/files/patch-amd_rpc__fwd.c13
2 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/am-utils/files/patch-amd_amd.h b/sysutils/am-utils/files/patch-amd_amd.h
new file mode 100644
index 000000000000..3537e8113cdb
--- /dev/null
+++ b/sysutils/am-utils/files/patch-amd_amd.h
@@ -0,0 +1,13 @@
+Index: amd/amd.h
+===================================================================
+--- amd/amd.h (revision 350048)
++++ amd/amd.h (revision 350049)
+@@ -625,7 +625,7 @@
+ extern void mapc_add_kv(mnt_map *, char *, char *);
+ extern mnt_map *mapc_find(char *, char *, const char *, const char *);
+ extern void mapc_free(opaque_t);
+-extern int mapc_keyiter(mnt_map *, key_fun, opaque_t);
++extern int mapc_keyiter(mnt_map *, key_fun *, opaque_t);
+ extern void mapc_reload(void);
+ extern int mapc_search(mnt_map *, char *, char **);
+ extern void mapc_showtypes(char *buf, size_t l);
diff --git a/sysutils/am-utils/files/patch-amd_rpc__fwd.c b/sysutils/am-utils/files/patch-amd_rpc__fwd.c
new file mode 100644
index 000000000000..22f13cb40384
--- /dev/null
+++ b/sysutils/am-utils/files/patch-amd_rpc__fwd.c
@@ -0,0 +1,13 @@
+Index: amd/rpc_fwd.c
+===================================================================
+--- amd/rpc_fwd.c (revision 350048)
++++ amd/rpc_fwd.c (revision 350049)
+@@ -221,7 +221,7 @@
+ * different address.
+ */
+ int
+-fwd_packet(int type_id, char *pkt, int len, struct sockaddr_in *fwdto, struct sockaddr_in *replyto, opaque_t cb_arg, fwd_fun cb)
++fwd_packet(int type_id, char *pkt, int len, struct sockaddr_in *fwdto, struct sockaddr_in *replyto, opaque_t cb_arg, fwd_fun *cb)
+ {
+ rpc_forward *p;
+ u_int *pkt_int;