Files
simutrans/simutrans-makefile.patch
Michiel van der Wulp 1ea40d3b47 - simutrans failed with: "FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded".
This is caused by the lacking theme pak files in the simutrans src file (as supplied upstream).
All atempts to build the themes with the supplied build_themes.sh script failed.
Hence, the needed files were retrieved from the Subversion source.
- patched the build_themes.sh, reported upstream as: https://forum.simutrans.com/index.php/topic,23401.0.html

OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=46
2025-01-30 14:28:41 +00:00

13 lines
370 B
Diff

diff -ru old/Makefile new/Makefile
--- old/Makefile
+++ new/Makefile
@@ -274,7 +274,7 @@
DUMMY := $(shell rm -f src/simutrans/revision.h)
else
ifeq ("$(wildcard src/simutrans/revision.h)","")
- DUMMY := $(shell printf '#define REVISION' > src/simutrans/revision.h)
+ DUMMY := $(shell printf "\#define REVISION" > src/simutrans/revision.h)
endif
endif