openbsd-ports/x11/i3/patches/patch-libi3_get_exe_path_c
dcoppa 03393c7d09 Update to i3-4.13
OK tb@, jasper@
2016-11-13 20:46:23 +00:00

11 lines
407 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$OpenBSD: patch-libi3_get_exe_path_c,v 1.3 2016/11/13 20:46:23 dcoppa Exp $
--- libi3/get_exe_path.c.orig Tue Nov 8 19:54:01 2016
+++ libi3/get_exe_path.c Thu Nov 10 18:04:35 2016
@@ -103,5 +103,5 @@ char *get_exe_path(const char *argv0) {
free(tmp);
/* Last resort: maybe its in /usr/bin? */
- return sstrdup("/usr/bin/i3-nagbar");
+ return sstrdup("${TRUEPREFIX}/bin/i3-nagbar");
}