Files
ports/x11-toolkits/termit/files/patch-src_lua__conf.c
T
Fernando Apesteguía e00faaf4e4 x11-toolkits/termit: update to 3.1
From ChangeLog (https://github.com/nonstop/termit/releases/tag/termit-3.1):

 * completely switched to Lua 5.3
 * disabled annoying menubar on F10
 * added new options: scrollOnKeystroke, scrollOnOutput
 * refactored several deprecated GTK functions
 * fixed several bugs
 * replaced appdata with modern metainfo

PR:	244336
Submitted by:	bob@eager.cx (maintainer)
2020-02-23 19:17:43 +00:00

15 lines
611 B
C

--- src/lua_conf.c.orig 2020-02-17 06:02:21 UTC
+++ src/lua_conf.c
@@ -344,9 +344,9 @@ static gchar** termit_system_path()
const gchar *configSystem = g_getenv("XDG_CONFIG_DIRS");
gchar* xdgConfigDirs = NULL;
if (configSystem) {
- xdgConfigDirs = g_strdup_printf("%s:/etc/xdg", configSystem);
+ xdgConfigDirs = g_strdup_printf("%s:/usr/local/etc/xdg", configSystem);
} else {
- xdgConfigDirs = g_strdup("/etc/xdg");
+ xdgConfigDirs = g_strdup("/usr/local/etc/xdg");
}
gchar** systemPaths = g_strsplit(xdgConfigDirs, ":", 0);
g_free(xdgConfigDirs);