summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/xmess/files/0.72.1-glx-fix.patch')
-rw-r--r--games-emulation/xmess/files/0.72.1-glx-fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/games-emulation/xmess/files/0.72.1-glx-fix.patch b/games-emulation/xmess/files/0.72.1-glx-fix.patch
new file mode 100644
index 000000000000..20d29a9d0573
--- /dev/null
+++ b/games-emulation/xmess/files/0.72.1-glx-fix.patch
@@ -0,0 +1,19 @@
+diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h
+--- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200
++++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200
+@@ -39,11 +39,15 @@
+ #endif
+
+ /* grrr work around some stupid header conflicts */
++#ifndef xgl
+ #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64
+ typedef signed char INT8;
+ typedef signed short INT16;
+ typedef signed int INT32;
+ #endif
++#else
++#include <X11/Xmd.h>
++#endif
+
+ #ifndef LONG64
+ typedef signed long long INT64;