summaryrefslogtreecommitdiff
path: root/games/koules/patches/compile_fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'games/koules/patches/compile_fix.diff')
-rw-r--r--games/koules/patches/compile_fix.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/koules/patches/compile_fix.diff b/games/koules/patches/compile_fix.diff
new file mode 100644
index 0000000000..1b04d634b7
--- /dev/null
+++ b/games/koules/patches/compile_fix.diff
@@ -0,0 +1,16 @@
+diff -Naur koules1.4/xlib/init.c koules1.4.patched/xlib/init.c
+--- koules1.4/xlib/init.c 1998-03-05 12:03:01.000000000 -0500
++++ koules1.4.patched/xlib/init.c 2009-04-15 06:12:07.000000000 -0400
+@@ -88,11 +88,11 @@
+ return (pixmap);
+ }
+
++static int bpp;
+ #ifdef MITSHM
+ extern int XShmQueryExtension (Display * dpy);
+ static int haderror;
+ static int (*origerrorhandler) (Display *, XErrorEvent *);
+-static int bpp;
+
+
+ static int