diff options
Diffstat (limited to 'sysutils/fsviewer/patches/patch-af')
-rw-r--r-- | sysutils/fsviewer/patches/patch-af | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/fsviewer/patches/patch-af b/sysutils/fsviewer/patches/patch-af new file mode 100644 index 00000000000..afa3b0c0e24 --- /dev/null +++ b/sysutils/fsviewer/patches/patch-af @@ -0,0 +1,30 @@ +$NetBSD: patch-af,v 1.1 2001/10/05 14:16:04 wiz Exp $ + +--- defs/chdef.c.orig Sat Oct 9 20:45:21 1999 ++++ defs/chdef.c +@@ -13,6 +13,8 @@ + #include <WINGs.h> + #include <WUtil.h> + ++#include <WINGs/proplist-compat.h> ++ + #include "../src/config.h" + + static proplist_t FSGetDBObjectForKey(proplist_t dict, char *key); +@@ -371,8 +373,14 @@ + } + + SetIntegerForKey(0, "DisplayMCListPixmap"); +- +- PLSave(filesDB, YES); ++ ++ { ++ char *home = NULL; ++ home = wdefaultspathfordomain("FSViewer"); ++ PLSave(filesDB, home, YES); ++ if (home) ++ free(home); ++ } + result = 0; + } + else |