diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-10-04 06:15:25 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-10-04 06:15:25 +0800 |
commit | 6e129354b7df61f2a37c42ae4b8ba960591bb984 (patch) | |
tree | a5df79b31b0b0d860c59b0b1b03e0019aceac592 /x11/gnome-shell/files | |
parent | d52b9667c2f5980b1f8b8887d3ac2931a9e0df16 (diff) | |
download | marcuscom-ports-6e129354b7df61f2a37c42ae4b8ba960591bb984.tar.gz marcuscom-ports-6e129354b7df61f2a37c42ae4b8ba960591bb984.tar.zst marcuscom-ports-6e129354b7df61f2a37c42ae4b8ba960591bb984.zip |
fix executing command r or restart for gnome-shell.
Submitted by: Berislav Purgar <bpurgar@gmail.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17087 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-shell/files')
-rw-r--r-- | x11/gnome-shell/files/patch-src_shell-global.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/gnome-shell/files/patch-src_shell-global.c b/x11/gnome-shell/files/patch-src_shell-global.c new file mode 100644 index 000000000..4f97e16fa --- /dev/null +++ b/x11/gnome-shell/files/patch-src_shell-global.c @@ -0,0 +1,14 @@ +--- src/shell-global.c.orig 2012-10-03 22:10:22.000000000 +0000 ++++ src/shell-global.c 2012-10-03 22:12:09.000000000 +0000 +@@ -1255,9 +1255,9 @@ + GError *error = NULL; + + /* Linux specific (I think, anyways). */ +- if (!g_file_get_contents ("/proc/self/cmdline", &buf, &len, &error)) ++ if (!g_file_get_contents ("/proc/curproc/cmdline", &buf, &len, &error)) + { +- g_warning ("failed to get /proc/self/cmdline: %s", error->message); ++ g_warning ("failed to get /proc/curproc/cmdline: %s", error->message); + return; + } + |