summaryrefslogtreecommitdiff
path: root/misc/vfu/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-01-26 23:31:46 +0000
committerhubertf <hubertf>1999-01-26 23:31:46 +0000
commit22a981b2a9c1f19585a0e14a9b5825783d971692 (patch)
tree9c4b9d1e1a7017bd2e70136d57d73c479f36a50e /misc/vfu/patches
parentae016fc618752dc525097c2e684b92a48bd0518f (diff)
downloadpkgsrc-22a981b2a9c1f19585a0e14a9b5825783d971692.tar.gz
Small, handy, easy-to-use file manager for UNIX/Linux.
Diffstat (limited to 'misc/vfu/patches')
-rw-r--r--misc/vfu/patches/patch-aa15
-rw-r--r--misc/vfu/patches/patch-ab13
-rw-r--r--misc/vfu/patches/patch-ac17
-rw-r--r--misc/vfu/patches/patch-ad18
-rw-r--r--misc/vfu/patches/patch-ae35
-rw-r--r--misc/vfu/patches/patch-af27
-rw-r--r--misc/vfu/patches/patch-ag15
-rw-r--r--misc/vfu/patches/patch-ah18
8 files changed, 158 insertions, 0 deletions
diff --git a/misc/vfu/patches/patch-aa b/misc/vfu/patches/patch-aa
new file mode 100644
index 00000000000..5458db6aec9
--- /dev/null
+++ b/misc/vfu/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vslib/makefile.BAK Tue Jan 26 20:52:30 1999
++++ vslib/makefile Tue Jan 26 20:56:05 1999
+@@ -3,8 +3,8 @@
+ CC = gcc
+ LD = gcc
+ AR = ar rvs
+-CFLAGS = -I. -I/usr/include/ncurses -O2
+-CCFLAGS = -I. -I/usr/include/ncurses -O2
++CFLAGS = -I. -I${LOCALBASE}/include -O2
++CCFLAGS = -I. -I${LOCALBASE}/include -O2
+ LDFLAGS =
+ ARFLAGS =
+ TARGET = libvslib.a
diff --git a/misc/vfu/patches/patch-ab b/misc/vfu/patches/patch-ab
new file mode 100644
index 00000000000..5ff30eca0d7
--- /dev/null
+++ b/misc/vfu/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vslib/unicon.h.BAK Tue Jan 26 20:55:19 1999
++++ vslib/unicon.h Tue Jan 26 20:55:25 1999
+@@ -16,7 +16,7 @@
+ #endif
+
+ #ifdef _TARGET_LINUX_
+- #include <curses.h>
++ #include <ncurses.h>
+ #endif
+
+ ///////////////////////////////////////////////////////////////////////////
diff --git a/misc/vfu/patches/patch-ac b/misc/vfu/patches/patch-ac
new file mode 100644
index 00000000000..d10fc492ec6
--- /dev/null
+++ b/misc/vfu/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vfu/makefile.orig Sun Jan 17 00:01:01 1999
++++ vfu/makefile Tue Jan 26 22:53:56 1999
+@@ -3,9 +3,9 @@
+ CC = gcc
+ LD = gcc
+ AR = ar rvs
+-CFLAGS = -I../vslib -I/usr/include/ncurses -O2
+-CCFLAGS = -I../vslib -I/usr/include/ncurses -O2
+-LDFLAGS = -L../vslib -lvslib -lncurses
++CFLAGS = -I../vslib -I${LOCALBASE}/include -O2 -DPREFIX=\"${PREFIX}\"
++CCFLAGS = -I../vslib -I${LOCALBASE}/include -O2 -DPREFIX=\"${PREFIX}\"
++LDFLAGS = -L../vslib -lvslib -L${LOCALBASE}/lib -lncurses
+ ARFLAGS =
+ TARGET = vfu
+
diff --git a/misc/vfu/patches/patch-ad b/misc/vfu/patches/patch-ad
new file mode 100644
index 00000000000..671eb547af2
--- /dev/null
+++ b/misc/vfu/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vfu/vfufiles.cpp.BAK Tue Jan 26 21:09:45 1999
++++ vfu/vfufiles.cpp Tue Jan 26 21:12:25 1999
+@@ -12,7 +12,12 @@
+ #include "vfuview.h"
+ #include "vfumenu.h"
+ #include "vfudir.h"
+-#include <sys/vfs.h>
++#ifdef __Linux__
++# include <sys/vfs.h>
++#else
++# include <sys/param.h>
++# include <sys/mount.h>
++#endif
+
+ /////////////////////////////////////////////
+ //
diff --git a/misc/vfu/patches/patch-ae b/misc/vfu/patches/patch-ae
new file mode 100644
index 00000000000..2c464bee835
--- /dev/null
+++ b/misc/vfu/patches/patch-ae
@@ -0,0 +1,35 @@
+$NetBSD: patch-ae,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+I do not know if this will wotk on LP64 (Alpha, UltraSparc) too... - HF
+
+
+--- vfu/vfucopy.cpp.BAK Tue Jan 26 21:15:28 1999
++++ vfu/vfucopy.cpp Tue Jan 26 21:18:49 1999
+@@ -13,7 +13,12 @@
+ #include "vfuview.h"
+ #include "vfusys.h"
+ #include "vfucopy.h"
+-#include <sys/vfs.h>
++#ifdef __Linux__
++# include <sys/vfs.h>
++#else
++# include <sys/param.h>
++# include <sys/mount.h>
++#endif
+
+ // #define CopyBuffSize 64000
+ #define CopyBuffSize 512*1024 // it's a 1/2 meg -- not too much :)
+@@ -137,11 +142,11 @@
+ char s_t = (OptTime(stat_src) == OptTime(stat_dst))?'*':' '; // same time
+ char s_s = (stat_src.st_size == stat_dst.st_size)?'*':' '; // same size
+
+- TimeStr(OptTime(stat_src), sttime); str = stat_src.st_size; StrComma(str);
++ TimeStr(OptTime(stat_src), sttime); str = (long int)stat_src.st_size; StrComma(str);
+ sp(sss, "SRC: %s%c %11s%c %s", sttime, s_t, str.asis(), s_s, _fr );
+ say1(sss);
+
+- TimeStr(OptTime(stat_dst), sttime); str = stat_dst.st_size; StrComma(str);
++ TimeStr(OptTime(stat_dst), sttime); str = (long int)stat_dst.st_size; StrComma(str);
+ sp(sss, "DST: %s%c %11s%c %s", sttime, s_t, str.asis(), s_s, _to );
+ say2(sss);
+
diff --git a/misc/vfu/patches/patch-af b/misc/vfu/patches/patch-af
new file mode 100644
index 00000000000..97ecc3d2e12
--- /dev/null
+++ b/misc/vfu/patches/patch-af
@@ -0,0 +1,27 @@
+$NetBSD: patch-af,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vfu/vfu.cpp.orig Sun Jan 24 18:55:40 1999
++++ vfu/vfu.cpp Tue Jan 26 22:48:59 1999
+@@ -18,7 +18,12 @@
+ #include "vfuarc.h"
+ #include "vfutools.h"
+ #include "grep.h"
+-#include <sys/vfs.h>
++#ifdef __Linux__
++# include <sys/vfs.h>
++#else
++# include <sys/param.h>
++# include <sys/mount.h>
++#endif
+
+ ////////////////////////////////////////////////////////////////////////
+ //
+@@ -1725,7 +1730,7 @@
+ "` -- Goto preset dir (Alt+0..9 also available on some terminals)\n"
+ "ESC+ESC -- exits VF/U, `Q' or `q' -- exit here, `X' or `x' -- exit to old dir\n"
+ "NOTE: Alt-Letter keys are equal to Upper case letters in the commands context\n"
+-"vfu uses these config files: $HOME/.vfurc or /usr/local/lib/vfurc\n"
++"vfu uses these config files: $HOME/.vfurc or " PREFIX "/etc/vfurc\n"
+ "\n--press a key---\n\n"
+ );
+ // tcsetattr(1, TCSANOW,&newstate);
diff --git a/misc/vfu/patches/patch-ag b/misc/vfu/patches/patch-ag
new file mode 100644
index 00000000000..b6af89fa2a2
--- /dev/null
+++ b/misc/vfu/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1.1.1 1999/01/26 23:31:53 hubertf Exp $
+
+--- vfu/vfuopt.cpp.BAK Tue Jan 26 22:50:19 1999
++++ vfu/vfuopt.cpp Tue Jan 26 22:51:01 1999
+@@ -103,8 +103,8 @@
+ void SetupFiles()
+ {
+ #ifdef _TARGET_LINUX_
+- if (access("/usr/local/lib/vfurc", R_OK) == 0) RCFile = "/usr/local/lib/vfurc"; else
+- if (access("/usr/local/vfurc", R_OK) == 0) RCFile = "/usr/local/vfurc"; else
++ if (access(PREFIX "/etc/vfurc", R_OK) == 0) RCFile = PREFIX "/etc/vfurc"; else
++ if (access(PREFIX "/vfurc", R_OK) == 0) RCFile = PREFIX "/vfurc"; else
+ sprintf( MAX_PATH, RCFile,"%s.vfurc", HOME);
+ sprintf( MAX_PATH, OPTFile,"%s.vfu.opt", HOME);
+ #endif
diff --git a/misc/vfu/patches/patch-ah b/misc/vfu/patches/patch-ah
new file mode 100644
index 00000000000..a5d7523f355
--- /dev/null
+++ b/misc/vfu/patches/patch-ah
@@ -0,0 +1,18 @@
+--- vfu/vfurc.BAK Tue Jan 26 23:50:23 1999
++++ vfu/vfurc Tue Jan 26 23:50:49 1999
+@@ -2,7 +2,7 @@
+
+ TrimTree=/c/ /d/ /e/ /proc/ /tmp/
+
+-ux=SEE JPEG,ENTER,.jpg.gif.,seejpeg -w -F G800x600x32K -c %f
++ux=SEE JPEG,ENTER,.jpg.gif.,xv %f
+ ux=SEE HTML,ENTER,.htm.html.shtml.,lynx %F
+ ux=SEE HTML,INSERT,.htm.html.shtml.,lynx %F
+
+@@ -11,4 +11,4 @@
+ presetdir3=/usr/src
+
+ cMAGENTA=.**.jpg.gif.bmp.xpm.lbm.
+-cGREEN=.jpg.jpeg.lbm.xpm.tif.gif.
+\ No newline at end of file
++cGREEN=.jpg.jpeg.lbm.xpm.tif.gif.