summaryrefslogtreecommitdiffstats
path: root/games/uqm/uqm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/uqm/uqm.SlackBuild')
-rw-r--r--games/uqm/uqm.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/uqm/uqm.SlackBuild b/games/uqm/uqm.SlackBuild
index 1e7ff55891..ff2ee28b62 100644
--- a/games/uqm/uqm.SlackBuild
+++ b/games/uqm/uqm.SlackBuild
@@ -61,6 +61,13 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+for d in src/uqm/comm/*/ ; do
+ ( cd $d
+ mv strings.h ustrings.h )
+done
+find ./src/uqm/comm -type f -name '*.c' | xargs sed -i s/strings.h/ustrings.h/
+find ./src/uqm/comm -type f -name '*.h' | xargs sed -i s/STRINGS/USTRINGS/g
+
# uqm uses a custom build.sh to configure and build the source.
# It's not a bad system, but it's interactive only, meaning I have
# to script answers to the build.sh prompts, hence build_config().