summaryrefslogtreecommitdiff
path: root/community/simutrans/config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/simutrans/config.patch')
-rw-r--r--community/simutrans/config.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/community/simutrans/config.patch b/community/simutrans/config.patch
new file mode 100644
index 000000000..ea4657a7a
--- /dev/null
+++ b/community/simutrans/config.patch
@@ -0,0 +1,52 @@
+--- config.default.orig 2011-11-10 21:48:01.000000000 +0100
++++ config.default 2011-11-10 21:51:58.383221979 +0100
+@@ -6,23 +6,23 @@
+ #BACKEND = allegro
+ #BACKEND = gdi
+ #BACKEND = sdl
+-#BACKEND = mixer_sdl
++BACKEND = mixer_sdl
+ #BACKEND = posix
+
+ #COLOUR_DEPTH = 0
+-#COLOUR_DEPTH = 16
++COLOUR_DEPTH = 16
+
+ #OSTYPE = amiga
+ #OSTYPE = beos
+ #OSTYPE = cygwin
+ #OSTYPE = freebsd
+ #OSTYPE = haiku
+-#OSTYPE = linux
++OSTYPE = linux
+ #OSTYPE = mingw
+ #OSTYPE = mac
+
+ #DEBUG = 3 # Level 1-3, higher number means more debug-friendly, see Makefile
+-#OPTIMISE = 1 # Add umpteen optimisation flags
++OPTIMISE = 1 # Add umpteen optimisation flags
+ #PROFILE = 1 # Enable profiling
+ #PROFILE = 2 # Enable profiling with optimisation flags, can be used with `OPTIMISE = 1'
+
+@@ -34,9 +34,9 @@
+ # Define these as empty strings, if you don't have the respective config program
+ #ALLEGRO_CONFIG = allegro-config
+ #PNG_CONFIG = pkg-config libpng
+-#SDL_CONFIG = sdl-config
++SDL_CONFIG = sdl-config
+
+-#VERBOSE = 1
++VERBOSE = 1
+
+ # The following useful conditional compilation flags exist
+ #
+@@ -65,6 +65,9 @@
+ #
+ # In order to use the flags, add a line like this: (-Dxxx)
+ # FLAGS = -DUSE_C
++ifeq ($(shell uname -m),x86_64)
++ FLAGS += -DUSE_C
++endif
+
+ # Output directories:
+ #