summaryrefslogtreecommitdiffstats
path: root/x11/gnome-shell/files/patch-src_shell-global.c
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-26 02:12:46 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-26 02:12:46 +0800
commitdfc30719d9758d9e6b3e06963e4bf5175ae16825 (patch)
tree3c84ec64b1dd1a9a2618a75efa664a18033890bd /x11/gnome-shell/files/patch-src_shell-global.c
parentd0d9889c61e774a633eda7b5bce0688ca50d1ac8 (diff)
downloadmarcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.gz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.bz2
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.lz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.xz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.zst
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.zip
Update MC-ports to GNOME 3.12.
Dragons beware! Although most of them should be sleeping. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19571 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-shell/files/patch-src_shell-global.c')
-rw-r--r--x11/gnome-shell/files/patch-src_shell-global.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/x11/gnome-shell/files/patch-src_shell-global.c b/x11/gnome-shell/files/patch-src_shell-global.c
index 4f97e16fa..ba0baff9e 100644
--- a/x11/gnome-shell/files/patch-src_shell-global.c
+++ b/x11/gnome-shell/files/patch-src_shell-global.c
@@ -1,14 +1,15 @@
---- 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))
+--- src/shell-global.c.orig 2014-03-19 18:15:45.680036087 +0000
++++ src/shell-global.c 2014-03-19 18:16:14.289034013 +0000
+@@ -1145,6 +1145,12 @@
+ g_warning ("failed to get command line args: %d", errno);
+ return;
+ }
++#elif defined __FreeBSD__
+ 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;
- }
-
++ return;
++ }
+ #else
+ return;
+ #endif