diff options
author | rubidium <rubidium@openttd.org> | 2010-04-07 14:07:49 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-04-07 14:07:49 +0000 |
commit | dfa9e9d9d3f49abc6d4957677db65c141adc92e8 (patch) | |
tree | 1acd8d4178b36251a2321da32f454716fc9112d8 /os/debian/patches | |
parent | 657940a6335c5156270dd27a75a5b6f4f9b2da07 (diff) | |
download | openttd-dfa9e9d9d3f49abc6d4957677db65c141adc92e8.tar.xz |
(svn r19572) -Change: sync Debian packaging updates from Debian, but keep building a single package
Diffstat (limited to 'os/debian/patches')
-rw-r--r-- | os/debian/patches/run-openttd-wrapper.patch | 19 | ||||
-rw-r--r-- | os/debian/patches/series | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/os/debian/patches/run-openttd-wrapper.patch b/os/debian/patches/run-openttd-wrapper.patch new file mode 100644 index 000000000..1c81c78f4 --- /dev/null +++ b/os/debian/patches/run-openttd-wrapper.patch @@ -0,0 +1,19 @@ +From: Matthijs Kooijman <matthijs@stdin.nl> +Subject: Use a wrapper script for running openttd + +The wrapper script captures stderr from openttd and displays this in +case of an error. This patch makes the the .desktop file call the +wrapper instead of the openttd binary directly. + +Index: media/openttd.desktop.in +=================================================================== +--- a/media/openttd.desktop.in (revision 17228) ++++ b/media/openttd.desktop.in (working copy) +@@ -6,6 +6,6 @@ + Name=!!MENU_NAME!! + Comment=A clone of Transport Tycoon Deluxe + Icon=openttd +-Exec=!!TTD!! ++Exec=/usr/share/games/openttd/openttd-wrapper + Terminal=false + Categories=!!MENU_GROUP!! diff --git a/os/debian/patches/series b/os/debian/patches/series new file mode 100644 index 000000000..f7cf2d9d5 --- /dev/null +++ b/os/debian/patches/series @@ -0,0 +1 @@ +run-openttd-wrapper.patch |