summaryrefslogtreecommitdiff
path: root/sysutils/fsviewer/patches
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fsviewer/patches')
-rw-r--r--sysutils/fsviewer/patches/patch-af30
-rw-r--r--sysutils/fsviewer/patches/patch-ag15
-rw-r--r--sysutils/fsviewer/patches/patch-ah13
-rw-r--r--sysutils/fsviewer/patches/patch-ai13
4 files changed, 71 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
diff --git a/sysutils/fsviewer/patches/patch-ag b/sysutils/fsviewer/patches/patch-ag
new file mode 100644
index 00000000000..6f24505a808
--- /dev/null
+++ b/sysutils/fsviewer/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1 2001/10/05 14:16:04 wiz Exp $
+
+--- src/timestampWidget.h.orig Sat Oct 9 20:45:22 1999
++++ src/timestampWidget.h
+@@ -43,6 +43,10 @@
+
+ /* Function Prototypes - timestampWidget.c ***********************************/
+
++#ifndef BOOL
++#define BOOL int
++#endif
++
+ extern W_Class InitTimeStamp(WMScreen*);
+ extern TimeStamp *CreateTimeStamp(WMWidget*);
+ extern void SetTimeStampBlank(TimeStamp*, BOOL);
diff --git a/sysutils/fsviewer/patches/patch-ah b/sysutils/fsviewer/patches/patch-ah
new file mode 100644
index 00000000000..98bc55e788f
--- /dev/null
+++ b/sysutils/fsviewer/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2001/10/05 14:16:04 wiz Exp $
+
+--- src/FSViewer.h.orig Sat Oct 9 20:59:19 1999
++++ src/FSViewer.h
+@@ -9,7 +9,7 @@
+ #include <X11/Xlib.h>
+ #include <WMaker.h>
+
+-#include <proplist.h>
++#include <WINGs/proplist-compat.h>
+ #include <wraster.h>
+
+ #include <WINGs.h>
diff --git a/sysutils/fsviewer/patches/patch-ai b/sysutils/fsviewer/patches/patch-ai
new file mode 100644
index 00000000000..e33b5bff07b
--- /dev/null
+++ b/sysutils/fsviewer/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2001/10/05 14:16:04 wiz Exp $
+
+--- src/extnInspector.c.orig Sat Oct 9 20:45:22 1999
++++ src/extnInspector.c
+@@ -226,7 +226,7 @@
+ }
+
+ if(numRows > 0)
+- PLSave(filesDB, YES);
++ PLSave(filesDB, extn, YES);
+
+ if(extn)
+ free(extn);