mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix some warnings
Obtained from: OpenBSD
This commit is contained in:
parent
c46e97706d
commit
2dd816ac63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27055
3 changed files with 34 additions and 0 deletions
9
games/xchomp/files/patch-ac
Normal file
9
games/xchomp/files/patch-ac
Normal file
|
@ -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();
|
9
games/xchomp/files/patch-ad
Normal file
9
games/xchomp/files/patch-ad
Normal file
|
@ -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())
|
16
games/xchomp/files/patch-ae
Normal file
16
games/xchomp/files/patch-ae
Normal file
|
@ -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())
|
Loading…
Add table
Reference in a new issue