[lgogdownloader] 02/05: Apply upstream's fix for crashes after login.

Stephen Kitt skitt at moszumanska.debian.org
Wed Feb 24 19:23:59 UTC 2016


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

skitt pushed a commit to branch master
in repository lgogdownloader.

commit a383368c59d9ab415aca437f331a56902e592799
Author: Stephen Kitt <steve at sk2.org>
Date:   Wed Feb 24 20:17:34 2016 +0100

    Apply upstream's fix for crashes after login.
---
 debian/changelog                     |  2 ++
 debian/patches/login-crash-fix.patch | 18 ++++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7ef5c18..ccec56b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 lgogdownloader (2.26-2) UNRELEASED; urgency=medium
 
   * Switch to https: VCS URIs (see #810378).
+  * Apply upstream's fix for crashes after login (thanks to Phil Morrell
+    for pointing it out!).
 
  -- Stephen Kitt <skitt at debian.org>  Fri, 22 Jan 2016 19:02:28 +0100
 
diff --git a/debian/patches/login-crash-fix.patch b/debian/patches/login-crash-fix.patch
new file mode 100644
index 0000000..fb36ebe
--- /dev/null
+++ b/debian/patches/login-crash-fix.patch
@@ -0,0 +1,18 @@
+commit 8780b9c53cf7e5cfb6f4d2f66aa42131fb66d0e1
+Author: Sude <lgogdownloader at gmail.com>
+Date:   Wed Nov 18 15:21:22 2015 +0200
+
+    Possible fix for crash after login
+
+diff --git a/main.cpp b/main.cpp
+index 020f3a7..0ae59ed 100644
+--- a/main.cpp
++++ b/main.cpp
+@@ -451,7 +451,6 @@ int main(int argc, char *argv[])
+         {
+             set_vm_value(vm, "token", downloader.config.sToken);
+             set_vm_value(vm, "secret", downloader.config.sSecret);
+-            bpo::notify(vm);
+         }
+         std::ofstream ofs(config.sConfigFilePath.c_str());
+         if (ofs)
diff --git a/debian/patches/series b/debian/patches/series
index cb1e812..caf9eea 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 honour-flags.patch
 manpage-whatis.patch
 no-debug-build.patch
+login-crash-fix.patch

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



More information about the Pkg-games-commits mailing list