manually update execinfo.mk
[dports.git] / games / xchomp / files / patch-demo.c
1 --- demo.c.orig
2 +++ demo.c
3 @@ -6,7 +6,7 @@
4   * for the game.
5   */
6  
7 -demo_seq()
8 +void demo_seq()
9  {
10     int             i, xx, yy, direction, ascent, descent, len;
11     XCharStruct     chars;
12 @@ -127,7 +127,7 @@
13        if (event.xany.window != window) continue;
14        switch (event.type) {
15           case KeyPress:
16 -           XLookupString(&event, &c_buf, 1, &last_key, &status);
17 +           XLookupString((XKeyEvent *) &event, &c_buf, 1, &last_key, &status);
18             if ((last_key == XK_q) || (last_key == XK_Q))
19                do_exit();
20             XFillRectangle(display, window, clearGC, 0, 0, WIN_WIDTH,