diff options
Diffstat (limited to 'debian/patches/99-kfreebsd-empty-env.patch')
-rw-r--r-- | debian/patches/99-kfreebsd-empty-env.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/99-kfreebsd-empty-env.patch b/debian/patches/99-kfreebsd-empty-env.patch new file mode 100644 index 0000000..4ed65ea --- /dev/null +++ b/debian/patches/99-kfreebsd-empty-env.patch @@ -0,0 +1,11 @@ +--- consolekit/src/ck-sysdeps-freebsd.c ++++ consolekit/src/ck-sysdeps-freebsd.c +@@ -261,6 +261,8 @@ + for (i = 0; penv[i] != NULL; i++) { + char **vals; + ++ if (!penv[i][0]) continue; ++ + vals = g_strsplit (penv[i], "=", 2); + if (vals != NULL) { + g_hash_table_insert (hash, |