[scorched3d] 31/39: Add sensible-browser.patch and use the sensible-browser instead of

Markus Koschany apo at moszumanska.debian.org
Sat Jul 16 03:28:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository scorched3d.

commit f50c3af476033cdefb643dc41a7ccc0a1bc82110
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jul 16 02:37:10 2016 +0200

    Add sensible-browser.patch and use the sensible-browser instead of
    
    hardcoding firefox.
    
    Closes: #782624
    Thanks: Trent W. Buck for the report.
---
 debian/patches/sensible-browser.patch | 23 +++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/sensible-browser.patch b/debian/patches/sensible-browser.patch
new file mode 100644
index 0000000..0a38649
--- /dev/null
+++ b/debian/patches/sensible-browser.patch
@@ -0,0 +1,23 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sat, 16 Jul 2016 02:35:39 +0200
+Subject: sensible-browser
+
+Debian-Bug: https://bugs.debian.org/782624
+Forwarded: no
+---
+ src/common/common/DefinesScorched.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/common/common/DefinesScorched.cpp b/src/common/common/DefinesScorched.cpp
+index c6a8f88..54a94ef 100644
+--- a/src/common/common/DefinesScorched.cpp
++++ b/src/common/common/DefinesScorched.cpp
+@@ -62,7 +62,7 @@ void S3D::showURL(const std::string &url)
+ 	std::string buffer = S3D::formatStringBuffer("open %s", url.c_str());
+ 	system(buffer.c_str());
+ #else
+-	std::string buffer = S3D::formatStringBuffer("firefox %s", url.c_str());
++	std::string buffer = S3D::formatStringBuffer("sensible-browser %s", url.c_str());
+ 	system(buffer.c_str());
+ #endif // __DARWIN__
+ #endif // _WIN32
diff --git a/debian/patches/series b/debian/patches/series
index ad4a67f..c2861c2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 0007-spelling.patch
 wx3.0-compat.patch
 gcc-6-ftbfs.patch
+sensible-browser.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/scorched3d.git



More information about the Pkg-games-commits mailing list