aboutsummaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2007-08-23 22:57:41 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2007-08-23 22:57:41 +0000
commit9f289f595797f2b3266b7ce3adc47c099f81b35f (patch)
treeb2f65507b936b70cee1c16373efc361d85c95ffc /vietnamese
parent56fe2b11b5f9fa6d3414b65ab5206b7e84879427 (diff)
downloadports-9f289f595797f2b3266b7ce3adc47c099f81b35f.tar.gz
ports-9f289f595797f2b3266b7ce3adc47c099f81b35f.zip
Notes
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/vnless/files/patch-0212
-rw-r--r--vietnamese/vnless/files/patch-ch.c9
-rw-r--r--vietnamese/vnless/files/patch-decode.c9
3 files changed, 25 insertions, 5 deletions
diff --git a/vietnamese/vnless/files/patch-02 b/vietnamese/vnless/files/patch-02
index 8a5f11712c62..a7a90646055f 100644
--- a/vietnamese/vnless/files/patch-02
+++ b/vietnamese/vnless/files/patch-02
@@ -1,6 +1,6 @@
---- less.h.orig Mon Feb 24 12:45:38 1992
-+++ less.h Wed Dec 4 02:35:12 1996
-@@ -31,7 +31,11 @@
+--- less.h.orig 1992-02-24 12:45:38.000000000 -0800
++++ less.h 2007-08-23 15:16:23.000000000 -0700
+@@ -31,7 +31,11 @@ typedef long POSITION;
* The type of signal handler functions.
* Usually int, although it should be void.
*/
@@ -12,16 +12,18 @@
#define FILENAME 128 /* Max size of a filename */
-@@ -74,7 +78,12 @@
+@@ -74,7 +78,14 @@ typedef int HANDLER;
#define SIGNAL(sig,func) signal(sig,func)
/* Library function declarations */
-+#ifdef USE_FBSD_STD_HDRS
++#ifdef NO_STD_HDRS
offset_t lseek();
char *calloc();
+#else
+#include <stdlib.h>
+#include <unistd.h>
++#include <stdio.h>
++#include <string.h>
+#endif
#include "funcs.h"
diff --git a/vietnamese/vnless/files/patch-ch.c b/vietnamese/vnless/files/patch-ch.c
new file mode 100644
index 000000000000..3928b125f9f6
--- /dev/null
+++ b/vietnamese/vnless/files/patch-ch.c
@@ -0,0 +1,9 @@
+--- ch.c 1992-02-24 12:45:37.000000000 -0800
++++ ../../ch.c 2007-08-23 15:35:14.000000000 -0700
+@@ -7,4 +7,6 @@
+ #include "less.h"
+
++static int ch_addbuf(int);
++
+ public int file = -1; /* File descriptor of the input file */
+
diff --git a/vietnamese/vnless/files/patch-decode.c b/vietnamese/vnless/files/patch-decode.c
new file mode 100644
index 000000000000..af82149e0900
--- /dev/null
+++ b/vietnamese/vnless/files/patch-decode.c
@@ -0,0 +1,9 @@
+--- decode.c.orig 1992-02-24 12:45:37.000000000 -0800
++++ decode.c 2007-08-23 15:38:55.000000000 -0700
+@@ -19,4 +19,6 @@
+ #include "cmd.h"
+
++static int cmd_search(char *, char *);
++
+ /*
+ * Command table is ordered roughly according to expected