aboutsummaryrefslogtreecommitdiffstats
path: root/games/xchomp
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-03-26 12:18:52 +0800
committerkris <kris@FreeBSD.org>2000-03-26 12:18:52 +0800
commit350622850171e6828ee5411c406a2a280be48ade (patch)
treefde5c4eaade5c9603744066427178b045676ca7a /games/xchomp
parent17e444729eec436efa40755e9b7cfe9e23a2166e (diff)
downloadfreebsd-ports-gnome-350622850171e6828ee5411c406a2a280be48ade.tar.gz
freebsd-ports-gnome-350622850171e6828ee5411c406a2a280be48ade.tar.zst
freebsd-ports-gnome-350622850171e6828ee5411c406a2a280be48ade.zip
Fix some warnings
Obtained from: OpenBSD
Diffstat (limited to 'games/xchomp')
-rw-r--r--games/xchomp/files/patch-ac9
-rw-r--r--games/xchomp/files/patch-ad9
-rw-r--r--games/xchomp/files/patch-ae16
3 files changed, 34 insertions, 0 deletions
diff --git a/games/xchomp/files/patch-ac b/games/xchomp/files/patch-ac
new file mode 100644
index 000000000000..59bf4f7717b8
--- /dev/null
+++ b/games/xchomp/files/patch-ac
@@ -0,0 +1,9 @@
+--- demo.c.orig Fri Mar 18 06:12:23 1994
++++ demo.c Thu Mar 16 15:45:38 2000
+@@ -128,5 +128,5 @@
+ switch (event.type) {
+ case KeyPress:
+- XLookupString(&event, &c_buf, 1, &last_key, &status);
++ XLookupString((XKeyEvent *) &event, &c_buf, 1, &last_key, &status);
+ if ((last_key == XK_q) || (last_key == XK_Q))
+ do_exit();
diff --git a/games/xchomp/files/patch-ad b/games/xchomp/files/patch-ad
new file mode 100644
index 000000000000..bf641a2df995
--- /dev/null
+++ b/games/xchomp/files/patch-ad
@@ -0,0 +1,9 @@
+--- main.c.orig Fri Mar 18 06:12:24 1994
++++ main.c Thu Mar 16 15:45:54 2000
+@@ -167,5 +167,5 @@
+ switch (event.type) {
+ case KeyPress:
+- XLookupString(&event, &c_buf, 1, &last_key, &status);
++ XLookupString((XKeyEvent *) &event, &c_buf, 1, &last_key, &status);
+ if (last_key == XK_space)
+ if (!pause_seq())
diff --git a/games/xchomp/files/patch-ae b/games/xchomp/files/patch-ae
new file mode 100644
index 000000000000..9c4c06957fb1
--- /dev/null
+++ b/games/xchomp/files/patch-ae
@@ -0,0 +1,16 @@
+--- props.c.orig Fri Mar 18 06:13:17 1994
++++ props.c Thu Mar 16 15:46:08 2000
+@@ -116,5 +116,5 @@
+ switch (event.type) {
+ case KeyPress:
+- XLookupString(&event, &c_buf, 1, &last_key, &status);
++ XLookupString((XKeyEvent *) &event, &c_buf, 1, &last_key, &status);
+ if ((last_key == XK_q) || (last_key == XK_Q))
+ do_exit();
+@@ -176,5 +176,5 @@
+ switch (event.type) {
+ case KeyPress:
+- XLookupString(&event, &c_buf, 1, &last_key, &status);
++ XLookupString((XKeyEvent *) &event, &c_buf, 1, &last_key, &status);
+ if (last_key == XK_space)
+ if (!pause_seq())