[boinc] 01/02: Fix spawn of new instance

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Tue Mar 14 11:25:07 UTC 2017


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

locutusofborg pushed a commit to branch master
in repository boinc.

commit a03ce17a15c68b9838bad0cda5d1b16d7b77defa
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Tue Mar 14 12:23:22 2017 +0100

    Fix spawn of new instance
---
 debian/changelog                           |  8 ++++++++
 debian/patches/fix-new-process-spawn.patch | 29 +++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 3 files changed, 38 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9030988..aefb207 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+boinc (7.6.33+dfsg-7) unstable; urgency=medium
+
+  * Upload to unstable.
+  * Fix spawn of new window (d/p/fix-new-process-spawn.patch).
+    LP: #1115607
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 14 Mar 2017 12:20:02 +0100
+
 boinc (7.6.33+dfsg-6exp1) experimental; urgency=medium
 
   * Upload to experimental again, with the boinc-server-* packages.
diff --git a/debian/patches/fix-new-process-spawn.patch b/debian/patches/fix-new-process-spawn.patch
new file mode 100644
index 0000000..c613eba
--- /dev/null
+++ b/debian/patches/fix-new-process-spawn.patch
@@ -0,0 +1,29 @@
+Description: "fix" the new process spawn
+Author: Gianfranco Costamagna <locutusofborg at debian.org>
+        Christian Beer
+
+Bug-Ubuntu: https://launchpad.net/bugs/1115607
+Forwarded: https://github.com/BOINC/boinc/issues/1177
+
+--- boinc-7.6.33+dfsg.orig/clientgui/AdvancedFrame.cpp
++++ boinc-7.6.33+dfsg/clientgui/AdvancedFrame.cpp
+@@ -1586,7 +1586,7 @@ void CAdvancedFrame::OnLaunchNewInstance
+ #endif
+     int argc = 2;
+     char* const argv[3] = {
+-         const_cast<char *>("boincmgr"), 
++         const_cast<char *>("/usr/bin/boincmgr"),
+          const_cast<char *>("--multiple"), 
+          NULL
+     }; 
+--- boinc-7.6.33+dfsg.orig/lib/util.cpp
++++ boinc-7.6.33+dfsg/lib/util.cpp
+@@ -468,7 +468,7 @@ int run_program(
+             retval = chdir(dir);
+             if (retval) return retval;
+         }
+-        execv(file, argv);
++        execv(argv[0], argv);
+ #ifdef _USING_FCGI_
+         FCGI::perror("execv");
+ #else
diff --git a/debian/patches/series b/debian/patches/series
index 014ed83..36a57a4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -35,3 +35,4 @@ e965ea2e32d467e6937f206c96270cabd381df6e.patch
 1ec4be73d83d6041e4097b547a3fca297dd828db.patch
 056f788ea3a9ba1b45e17bcacea91a38c1ed8d73.patch
 7c2cb62aa3a119818e9ceab0d6358f4c910fb337.patch
+fix-new-process-spawn.patch

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



More information about the pkg-boinc-commits mailing list