    target_cpu auto
    prefix /usr/local
 diff -Naur dosemu-pristine/src/arch/linux/async/signal.c dosemu/src/arch/linux/async/signal.c
+--- dosemu-pristine/src/emu.c 2009-01-30 23:40:39.000000000 +0000
++++ dosemu/src/emu.c        2009-05-27 07:03:29.000000000 +0100
+@@ -319,7 +319,7 @@
+ emulate(int argc, char **argv)
+ #endif
+ {
+-    char *signalstack[16384];
++    char *signalstack[sizeof(*cstack)/sizeof(char*)];
+     int e;
+
+     srand(time(NULL));
+--- dosemu-pristine/src/include/emu.h 2009-01-30 23:40:27.000000000 +0000
++++ dosemu/src/include/emu.h        2009-05-27 07:03:52.000000000 +0100
+@@ -61,7 +61,7 @@
+ EXTERN int terminal_fd INIT(-1);
+ EXTERN int running_kversion INIT(0);
+
+-EXTERN char *(*cstack)[16384];
++EXTERN char *(*cstack)[61440];
+
+ EXTERN int screen_mode;
+
 --- dosemu-pristine/src/arch/linux/async/signal.c	2009-01-30 22:55:56.000000000 +0000
 +++ dosemu/src/arch/linux/async/signal.c	2009-01-30 22:59:12.000000000 +0000
 @@ -188,8 +188,9 @@

+#define SDK_GRTEXMINADDRESS              grTexMinAddress
+#define SDK_GUTEXMEMQUERYAVAIL           guTexMemQueryAvail
+#define SDK_GRTEXTEXTUREMEMREQUIRED      grTexTextureMemRequired
+
+#define THUNK(func) THUNK_##func
+

+#define CMD_GRTEXMINADDRESS (64)
+#define CMD_GUTEXMEMQUERYAVAIL (65)
+#define CMD_GRTEXTEXTUREMEMREQUIRED (66)
+#define CMD_GRSPLASH (67)
+#define CMD_MAX (68)
+
+#endif /* _glide2x_h_ */
diff -Naur dosemu-pristine/src/plugin/openglide/Makefile dosemu/src/plugin/openglide/Makefile
