termux-packages/packages/pari/src-language-gplib.c.patch
2021-12-20 11:38:22 +02:00

12 lines
325 B
Diff

--- a/src/language/gplib.c
+++ b/src/language/gplib.c
@@ -806,7 +806,7 @@ gprc_get(void)
f = gprc_chk(str); /* in $HOME */
if (!f) f = gprc_chk(s); /* in . */
#ifndef _WIN32
- if (!f) f = gprc_chk("/etc/gprc");
+ if (!f) f = gprc_chk("@TERMUX_PREFIX@/etc/gprc");
#else
if (!f) /* in basedir */
{