termux-packages/x11-packages/xboard/menus.c.patch

14 lines
536 B
Diff
Raw Permalink Normal View History

2022-04-28 23:39:38 +02:00
--- a/menus.c
+++ b/menus.c
@@ -1252,8 +1252,8 @@
static void
AutoInstallProtocol (char *settingsFile, char *protocol)
{ // install new engines for given protocol (both from package and source)
- InstallFromDir("/usr/local/share/games/plugins", protocol, settingsFile);
- InstallFromDir("/usr/share/games/plugins", protocol, settingsFile);
+ InstallFromDir("@TERMUX_PREFIX@/local/share/games/plugins", protocol, settingsFile);
+ InstallFromDir("@TERMUX_PREFIX@/share/games/plugins", protocol, settingsFile);
}
void