SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
sysutils/accountsservice/patches/patch-src_util_c
Normal file
21
sysutils/accountsservice/patches/patch-src_util_c
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: src/util.c
|
||||
--- src/util.c.orig
|
||||
+++ src/util.c
|
||||
@@ -37,6 +37,9 @@
|
||||
static gchar *
|
||||
get_cmdline_of_pid (GPid pid)
|
||||
{
|
||||
+#ifdef __OpenBSD__
|
||||
+ return NULL;
|
||||
+#else
|
||||
gchar *ret;
|
||||
g_autofree gchar *filename = NULL;
|
||||
g_autofree gchar *contents = NULL;
|
||||
@@ -65,6 +68,7 @@ get_cmdline_of_pid (GPid pid)
|
||||
ret = g_strdup (contents);
|
||||
g_strstrip (ret);
|
||||
return ret;
|
||||
+#endif
|
||||
}
|
||||
|
||||
static gboolean
|
Loading…
Add table
Add a link
Reference in a new issue