summaryrefslogtreecommitdiff
path: root/wm/gnome-compiz-manager/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'wm/gnome-compiz-manager/patches/patch-aa')
-rw-r--r--wm/gnome-compiz-manager/patches/patch-aa34
1 files changed, 0 insertions, 34 deletions
diff --git a/wm/gnome-compiz-manager/patches/patch-aa b/wm/gnome-compiz-manager/patches/patch-aa
deleted file mode 100644
index e9b15e6db67..00000000000
--- a/wm/gnome-compiz-manager/patches/patch-aa
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/04/17 21:44:41 drochner Exp $
-
---- libgnome-compiz-manager/gcm-application.c.orig 2007-02-27 01:01:01.000000000 +0100
-+++ libgnome-compiz-manager/gcm-application.c
-@@ -652,6 +652,21 @@ gcm_application_get_pid (GCMApplication
- {
- #line 248 "gcm-application.gob"
-
-+#ifdef __NetBSD__
-+ char *cmd[] = { "/usr/bin/pgrep", 0, 0 };
-+ char pgreparg[100]; /* XXX whatever */
-+ char *out;
-+ int res;
-+
-+ selfp->pid = 0;
-+
-+ snprintf(pgreparg, sizeof(pgreparg), "^%s$",
-+ g_path_get_basename(selfp->real_name));
-+ cmd[1] = pgreparg;
-+ res = g_spawn_sync(0, cmd, 0, 0, 0, 0, &out, 0, 0, 0);
-+ if (res)
-+ selfp->pid = atoi(out);
-+#else
- GDir * procdir;
- gchar * item;
-
-@@ -699,6 +714,7 @@ gcm_application_get_pid (GCMApplication
- g_free(itemdir);
- }
- g_dir_close(procdir);
-+#endif /* NetBSD */
-
- return selfp->pid;
- }}