summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-02-26 10:18:42 +0000
committerjoerg <joerg@pkgsrc.org>2013-02-26 10:18:42 +0000
commit0aac161c3433e47dad62c94de8d5c5bc49322ace (patch)
treedc0954895e69c51e4f4e9692bed6e33c490bca2b /x11
parentc5222a4b074e301046a71dcb264987e529ff92bd (diff)
downloadpkgsrc-0aac161c3433e47dad62c94de8d5c5bc49322ace.tar.gz
Fix return types.
Diffstat (limited to 'x11')
-rw-r--r--x11/xmx/distinfo4
-rw-r--r--x11/xmx/patches/patch-clients_xmtg_ui.c42
-rw-r--r--x11/xmx/patches/patch-clients_xmxinit_xmxinit.c14
3 files changed, 59 insertions, 1 deletions
diff --git a/x11/xmx/distinfo b/x11/xmx/distinfo
index 9107f5c8bad..90aaac02222 100644
--- a/x11/xmx/distinfo
+++ b/x11/xmx/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2012/04/16 04:19:16 dholland Exp $
+$NetBSD: distinfo,v 1.10 2013/02/26 10:18:42 joerg Exp $
SHA1 (xmx-2.1alpha.pl7.tar.gz) = b517b20a7bfa352b12ffb7dd260d50ea6c1ec21b
RMD160 (xmx-2.1alpha.pl7.tar.gz) = 18560824a35ffc55ce90fa63d1894362afa45405
@@ -6,3 +6,5 @@ Size (xmx-2.1alpha.pl7.tar.gz) = 498352 bytes
SHA1 (xmx-jumbo-patch-20120416.gz) = 835a3a23e2b859aad26d0b2a7d8c3137dd063c5c
RMD160 (xmx-jumbo-patch-20120416.gz) = 9dcfd6b971f692512e066800f137946e38370596
Size (xmx-jumbo-patch-20120416.gz) = 14223 bytes
+SHA1 (patch-clients_xmtg_ui.c) = 6ff5036be15e098f2733d23abccaea2b11a8dd3b
+SHA1 (patch-clients_xmxinit_xmxinit.c) = 010d08b5792888fd1853736529d830585ae8901e
diff --git a/x11/xmx/patches/patch-clients_xmtg_ui.c b/x11/xmx/patches/patch-clients_xmtg_ui.c
new file mode 100644
index 00000000000..32857178bdf
--- /dev/null
+++ b/x11/xmx/patches/patch-clients_xmtg_ui.c
@@ -0,0 +1,42 @@
+$NetBSD: patch-clients_xmtg_ui.c,v 1.1 2013/02/26 10:18:42 joerg Exp $
+
+--- clients/xmtg/ui.c.orig 2013-02-25 14:14:41.000000000 +0000
++++ clients/xmtg/ui.c
+@@ -51,6 +51,12 @@ typedef long intptr_t; /* best guess...
+ #include "ui.h"
+ #include "callbacks.h"
+
++void
++ui_create_drop_dialog(dialog_t *dp, Widget parent, char *prompt);
++
++void
++ui_create_add_dialog(dialog_t *dp, Widget parent, char *prompt, int floor, int seat, int view);
++
+ dialog_t *open_d;
+ dialog_t *save_d;
+ dialog_t *add_d;
+@@ -207,11 +213,7 @@ printf("BLORT!\n");
+ }
+
+ void
+-ui_create_add_dialog(dp, parent, prompt, floor, seat, view)
+- dialog_t *dp;
+- Widget parent;
+- char *prompt;
+- int floor, seat, view;
++ui_create_add_dialog(dialog_t *dp, Widget parent, char *prompt, int floor, int seat, int view)
+ {
+ Widget w, input, radio;
+ add_d_t *adp;
+@@ -267,10 +269,7 @@ XtAddCallback(dp->enable, XtNcallback, b
+ }
+
+ void
+-ui_create_drop_dialog(dp, parent, prompt)
+- dialog_t *dp;
+- Widget parent;
+- char *prompt;
++ui_create_drop_dialog(dialog_t *dp, Widget parent, char *prompt)
+ {
+ Widget w;
+
diff --git a/x11/xmx/patches/patch-clients_xmxinit_xmxinit.c b/x11/xmx/patches/patch-clients_xmxinit_xmxinit.c
new file mode 100644
index 00000000000..d713e5b1dc0
--- /dev/null
+++ b/x11/xmx/patches/patch-clients_xmxinit_xmxinit.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-clients_xmxinit_xmxinit.c,v 1.1 2013/02/26 10:18:42 joerg Exp $
+
+--- clients/xmxinit/xmxinit.c.orig 2013-02-25 14:22:16.000000000 +0000
++++ clients/xmxinit/xmxinit.c
+@@ -146,8 +146,7 @@ sigUsr1(sig)
+ #endif
+ }
+
+-static Execute (vec)
+- char **vec; /* has room from up above */
++static void Execute (char **vec)
+ {
+ execvp (vec[0], vec);
+ if (access (vec[0], R_OK) == 0) {