summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-03-26 04:18:52 +0000
committerkris <kris@FreeBSD.org>2000-03-26 04:18:52 +0000
commit350622850171e6828ee5411c406a2a280be48ade (patch)
treefde5c4eaade5c9603744066427178b045676ca7a /games
parent17e444729eec436efa40755e9b7cfe9e23a2166e (diff)
downloadFreeBSD-ports-350622850171e6828ee5411c406a2a280be48ade.zip
FreeBSD-ports-350622850171e6828ee5411c406a2a280be48ade.tar.gz
Fix some warnings
Obtained from: OpenBSD
Diffstat (limited to 'games')
-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 0000000..59bf4f7
--- /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 0000000..bf641a2
--- /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 0000000..9c4c069
--- /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())
OpenPOWER on IntegriCloud