openbsd-ports/x11/i3/patches/patch-libi3_get_exe_path_c

13 lines
385 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.5 2021/02/12 23:14:05 sthen Exp $
Index: libi3/get_exe_path.c
--- libi3/get_exe_path.c.orig
+++ libi3/get_exe_path.c
@@ -101,5 +101,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");
}