openbsd-ports/x11/i3/patches/patch-src_config_c
dcoppa 9cf404c7b6 Update to i3-4.8 plus fixes.
Initial diff by Theo Buehler <theo AT math DOT ethz DOT ch>
2014-07-11 15:49:58 +00:00

13 lines
515 B
Plaintext

$OpenBSD: patch-src_config_c,v 1.13 2014/07/11 15:49:58 dcoppa Exp $
--- src/config.c.orig Sun Jun 15 19:12:43 2014
+++ src/config.c Thu Jul 3 21:06:32 2014
@@ -87,7 +87,7 @@ static char *get_config_path(const char *override_conf
/* 4: check for $XDG_CONFIG_DIRS/i3/config */
if ((xdg_config_dirs = getenv("XDG_CONFIG_DIRS")) == NULL)
- xdg_config_dirs = "/etc/xdg";
+ xdg_config_dirs = "${SYSCONFDIR}/xdg";
char *buf = sstrdup(xdg_config_dirs);
char *tok = strtok(buf, ":");