summaryrefslogtreecommitdiff
path: root/x11/qrash/files/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qrash/files/patch-al')
-rw-r--r--x11/qrash/files/patch-al22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/qrash/files/patch-al b/x11/qrash/files/patch-al
new file mode 100644
index 000000000000..f9844a0ba275
--- /dev/null
+++ b/x11/qrash/files/patch-al
@@ -0,0 +1,22 @@
+--- crash.cc.orig Sun Dec 26 17:24:37 1999
++++ crash.cc Sun Dec 26 17:24:56 1999
+@@ -109,7 +109,7 @@
+ { { 1, partText, 1, 2 }, { 0, 0, 0, 0 } }, // 60
+ { { 1, foo, 0, 0 }, { 0, 0, 0, 0 } } // 61
+ };
+- const N_PARTS = sizeof(parts)/2/sizeof(PartDesc);
++ const int N_PARTS = sizeof(parts)/2/sizeof(PartDesc);
+
+ // sysRegisterKeyboardHandler( &handler ); doesn't work anymore
+
+@@ -195,8 +195,8 @@
+ musSetVolume( 100-row*100/64 );
+ }
+ if( skip ) {
+- static first = true;
+- static skip_order = 0;
++ static int first = true;
++ static int skip_order = 0;
+ if( first ) {
+ skip_order = order;
+ first = false;