freebsd-ports/misc/gretl/files/patch-lib::src::gretl_utils.c
Ying-Chieh Liao 5d824297fb upgrade to 1.0
PR:		45459
Submitted by:	Ports Fury
2002-11-20 13:34:09 +00:00

13 lines
456 B
C

--- lib/src/gretl_utils.c.orig Mon Sep 30 06:13:40 2002
+++ lib/src/gretl_utils.c Mon Oct 21 08:31:52 2002
@@ -1373,8 +1373,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/");
}
if (gui) {
sprintf(ppaths->binbase, "%sdb/", ppaths->gretldir);