summaryrefslogtreecommitdiff
path: root/misc/gretl/files/patch-lib::src::gretl_paths.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gretl/files/patch-lib::src::gretl_paths.c')
-rw-r--r--misc/gretl/files/patch-lib::src::gretl_paths.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/gretl/files/patch-lib::src::gretl_paths.c b/misc/gretl/files/patch-lib::src::gretl_paths.c
new file mode 100644
index 000000000000..12770b080297
--- /dev/null
+++ b/misc/gretl/files/patch-lib::src::gretl_paths.c
@@ -0,0 +1,13 @@
+--- lib/src/gretl_paths.c.orig Wed Feb 11 06:14:36 2004
++++ lib/src/gretl_paths.c Sun Feb 29 18:10:53 2004
+@@ -432,8 +432,8 @@
+ if (home != NULL) {
+ strcpy(ppaths->gretldir, home);
+ } else {
+- strcpy(ppaths->gretldir, GRETL_PREFIX);
+- strcat(ppaths->gretldir, "/share/gretl/");
++ strcpy(ppaths->gretldir, DATADIR);
++ strcat(ppaths->gretldir, "/gretl/");
+ }
+
+ sprintf(ppaths->binbase, "%sdb/", ppaths->gretldir);