diff options
author | wiz <wiz@pkgsrc.org> | 2001-09-02 20:13:28 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-09-02 20:13:28 +0000 |
commit | ff04d93302e2345b351d5665eaa35c511828cdac (patch) | |
tree | 11411e559f8d0621d587f154723dc1602c90154e /misc/reed/patches | |
parent | 4a725c2c012905d12c41928e677decc0e6532d1c (diff) | |
download | pkgsrc-ff04d93302e2345b351d5665eaa35c511828cdac.tar.gz |
Initial import of reed-4.6, an auto-scrolling text viewer.
Diffstat (limited to 'misc/reed/patches')
-rw-r--r-- | misc/reed/patches/patch-aa | 13 | ||||
-rw-r--r-- | misc/reed/patches/patch-ab | 22 | ||||
-rw-r--r-- | misc/reed/patches/patch-ac | 15 | ||||
-rw-r--r-- | misc/reed/patches/patch-ad | 12 |
4 files changed, 62 insertions, 0 deletions
diff --git a/misc/reed/patches/patch-aa b/misc/reed/patches/patch-aa new file mode 100644 index 00000000000..b5c589dc878 --- /dev/null +++ b/misc/reed/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $ + +--- man/reed.1.orig Fri Dec 1 01:26:02 2000 ++++ man/reed.1 +@@ -106,7 +106,7 @@ + .IP r + Clear and redraw the screen. + .IP v +-Start a text editor opened to the current file. Reed first tried $EDITOR, ++Start a text editor opened to the current file. Reed first tries $EDITOR, + then $VISUAL, and defaults to /bin/ed. + .IP :n + Go to the next buffer in the file list. diff --git a/misc/reed/patches/patch-ab b/misc/reed/patches/patch-ab new file mode 100644 index 00000000000..8b4a06a0b21 --- /dev/null +++ b/misc/reed/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $ + +--- src/file.c.orig Wed Feb 21 01:13:56 2001 ++++ src/file.c +@@ -39,7 +39,8 @@ + wmove(m, 2, 0); + whline(m, '-', width); + wrefresh(m); +- wclear(w); ++ if (w) ++ wclear(w); + return node; + } + +@@ -155,6 +156,7 @@ + wclear(w); + } + ++ wmove(w, 0, 0); + fseek(node->file, node->fileLines[n], SEEK_SET); + /* wclear(w); */ + for (j = 0; j < WLINES; j++) { diff --git a/misc/reed/patches/patch-ac b/misc/reed/patches/patch-ac new file mode 100644 index 00000000000..7d71a25f093 --- /dev/null +++ b/misc/reed/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $ + +--- src/reed.c.orig Wed Feb 21 01:14:55 2001 ++++ src/reed.c +@@ -30,8 +30,8 @@ + int main(int argc, char **argv) { + unsigned long speed = 5*TENTH_SECOND; + int jump = 1, index, retval = SAME_FILE; +- char opt, *fakefilename = NULL; +- int valid; ++ char *fakefilename = NULL; ++ int opt, valid; + struct stat st; + fileNode *node = NULL; + if (argc > 1 && !strcmp("--help", argv[1])) { diff --git a/misc/reed/patches/patch-ad b/misc/reed/patches/patch-ad new file mode 100644 index 00000000000..368dc972077 --- /dev/null +++ b/misc/reed/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $ + +--- src/reed.h.orig Fri Dec 1 01:09:49 2000 ++++ src/reed.h +@@ -26,6 +26,7 @@ + #include <ctype.h> + #include <time.h> + #include <getopt.h> ++#include <limits.h> + + /* macros */ + #define clearLine(n) wmove(m, n, 0); whline(m, ' ', COLS); |