r21379 - /packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff

speijnik-guest at users.alioth.debian.org speijnik-guest at users.alioth.debian.org
Sun Sep 20 10:23:41 UTC 2009


Author: speijnik-guest
Date: Sun Sep 20 10:23:41 2009
New Revision: 21379

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=21379
Log:
Fixed patch.

Modified:
    packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff

Modified: packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff?rev=21379&op=diff
==============================================================================
--- packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff [utf-8] (original)
+++ packages/unstable/update-notifier/debian/patches/08_gksu_preserve_environment.diff [utf-8] Sun Sep 20 10:23:41 2009
@@ -1,21 +1,21 @@
---- src/update-notifier.orig.c	2009-09-01 15:36:58.000000000 +0200
-+++ src/update-notifier.c	2009-09-01 15:37:19.000000000 +0200
-@@ -81,12 +81,13 @@
+--- update-notifier-0.70.7.debian/src/update-notifier.c	2009-09-20 12:22:43.000000000 +0200
++++ ../update-notifier-0.70.7.debian/src/update-notifier.c	2009-09-20 12:20:21.000000000 +0200
+@@ -81,13 +81,14 @@
  invoke_with_gksu(gchar *cmd, gchar *descr, gboolean whole_message)
  {
          //g_print("invoke_update_manager ()\n");
--	gchar *argv[5];
-+	gchar *argv[6];
+-	gchar *argv[6];
++	gchar *argv[7];
  	argv[0] = "/usr/bin/gksu";
--	argv[1] = whole_message ? "--message" : "--desktop";
--	argv[2] = descr;
--	argv[3] = cmd;
--	argv[4] = NULL;
-+	argv[1] = "-k";
-+	argv[2] = whole_message ? "--message" : "--desktop";
-+	argv[3] = descr;
-+	argv[4] = cmd;
-+	argv[5] = NULL;
+ 	argv[1] = whole_message ? "--message" : "--desktop";
+ 	argv[2] = descr;
+-	argv[3] = "--";
+-	argv[4] = cmd;
+-	argv[5] = NULL;
++	arvg[3] = "-k";
++	argv[4] = "--";
++	argv[5] = cmd;
++	argv[6] = NULL;
  
  	g_spawn_async (NULL, argv, NULL, 0, NULL, NULL, NULL, NULL);
  }




More information about the pkg-gnome-commits mailing list