summaryrefslogtreecommitdiffstats
path: root/games/trs80gp/wrapper32.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/trs80gp/wrapper32.sh')
-rw-r--r--games/trs80gp/wrapper32.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/games/trs80gp/wrapper32.sh b/games/trs80gp/wrapper32.sh
new file mode 100644
index 0000000000..1c1d05fbc1
--- /dev/null
+++ b/games/trs80gp/wrapper32.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# dirty hack alert! use old cairo libs for trs80gp.
+L=/usr/lib/trs80gp/libcairo
+V=2.11400.6
+
+LD_PRELOAD=$L.so.$V:$L-gobject.so.$V:$L-script-interpreter.so.$V \
+ exec /usr/libexec/trs80gp/trs80gp "$@"