summaryrefslogtreecommitdiff
path: root/games/tuxmath/files/patch-src_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/tuxmath/files/patch-src_setup.c')
-rw-r--r--games/tuxmath/files/patch-src_setup.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/tuxmath/files/patch-src_setup.c b/games/tuxmath/files/patch-src_setup.c
new file mode 100644
index 000000000000..4ccbf469db53
--- /dev/null
+++ b/games/tuxmath/files/patch-src_setup.c
@@ -0,0 +1,11 @@
+--- src/setup.c.orig 2011-05-04 00:15:43 UTC
++++ src/setup.c
+@@ -64,7 +64,7 @@ along with this program. If not, see <http://www.gnu.
+ /* (These are now 'extern'd in "tuxmath.h") */
+
+
+-SDL_Surface* screen;
++extern SDL_Surface* screen;
+ SDL_Surface* images[NUM_IMAGES];
+ sprite* sprites[NUM_SPRITES];
+ /* Need special handling to generate flipped versions of images. This