diff options
Diffstat (limited to 'games/xteddy/files/patch-ac')
-rw-r--r-- | games/xteddy/files/patch-ac | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/games/xteddy/files/patch-ac b/games/xteddy/files/patch-ac new file mode 100644 index 000000000000..715282d49b69 --- /dev/null +++ b/games/xteddy/files/patch-ac @@ -0,0 +1,37 @@ +--- xteddy.c.orig Mon Jan 31 20:12:15 1994 ++++ xteddy.c Wed Jun 3 17:09:27 1998 +@@ -19,7 +19,7 @@ + #include <X11/cursorfont.h> + + #ifndef NOXPM +-#include <xpm.h> ++#include <X11/xpm.h> + #endif + + #include <stdio.h> +@@ -33,6 +33,14 @@ + #include "xteddy_color.xpm" + #endif + ++#ifndef TRUE ++#define TRUE 1 ++#endif /* TRUE */ ++ ++#ifndef FALSE ++#define FALSE 0 ++#endif /* FALSE */ ++ + #include "patchlevel.h" + + static char *progname; +@@ -335,8 +343,8 @@ + break; + case KeyPress: + /* Exit on "q" or "Q" */ +- charcount = XLookupString(&report, buffer, bufsize, +- &keysym, &compose); ++ charcount = XLookupString(&report.xkey, ++ buffer, bufsize, &keysym, &compose); + if((keysym == XK_Q) || (keysym == XK_q)) + { + XCloseDisplay(display); |