aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/cnc/openredalert
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/cnc/openredalert')
-rw-r--r--recipes/cnc/openredalert/gcc43-fix.patch13
-rwxr-xr-xrecipes/cnc/openredalert/openredalert-launcher3
2 files changed, 16 insertions, 0 deletions
diff --git a/recipes/cnc/openredalert/gcc43-fix.patch b/recipes/cnc/openredalert/gcc43-fix.patch
new file mode 100644
index 0000000000..aa99d991b7
--- /dev/null
+++ b/recipes/cnc/openredalert/gcc43-fix.patch
@@ -0,0 +1,13 @@
+Index: openredalert-0.0+svnr438-r0/src/misc/Compression.h
+===================================================================
+--- openredalert-0.0+svnr438-r0.orig/src/misc/Compression.h 2008-09-21 15:20:33.000000000 +0200
++++ openredalert-0.0+svnr438-r0/src/misc/Compression.h 2008-09-21 15:21:10.000000000 +0200
+@@ -20,6 +20,8 @@
+
+ #include "SDL/SDL_types.h"
+
++#include <cstring>
++
+ /**
+ * Various decompression routines for format80, format40, and
+ * format20 type graphics
diff --git a/recipes/cnc/openredalert/openredalert-launcher b/recipes/cnc/openredalert/openredalert-launcher
new file mode 100755
index 0000000000..4e5dad4bb6
--- /dev/null
+++ b/recipes/cnc/openredalert/openredalert-launcher
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+( cd /usr/share/games/redalert && ./openredalert )