File cube-escape-0.8.patch of Package cube-escape

Index: src/main.h
===================================================================
--- src/main.h.orig
+++ src/main.h
@@ -39,8 +39,8 @@
 #define OPTION_TEXT_DIST_MULT  1.5
 #define TARGET_FPS  40
 
-#define DATA_DIR  "data/"
-#define FONT_NAME  DATA_DIR "LiberationMono-Regular.ttf"
+#define DATA_DIR  "/usr/share/cube-escape/"
+#define FONT_NAME  "/usr/share/fonts/truetype/LiberationMono-Regular.ttf"
 #define ICON_NAME  DATA_DIR "icon.png"
 
 #define SPRITE_SIZE  64
Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -1,7 +1,7 @@
 # Makefile for Cube Escape
 
 CC     = gcc
-CFLAGS = $(shell sdl-config --cflags)
+CFLAGS = $(shell sdl-config --cflags) $(OPTFLAGS)
 LIBS   = $(shell sdl-config --libs) -lm -lSDL_ttf -lSDL_image
 
 TARGET  = cube-escape
openSUSE Build Service is sponsored by