less: bump to 534.

This commit is contained in:
fbrosson
2018-09-04 00:14:09 +00:00
parent 38599c721b
commit 7d4e424baf
2 changed files with 10 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ COPYRIGHT="1984-2018 Mark Nudelman"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://www.greenwoodsoftware.com/less/less-$portVersion.tar.gz"
CHECKSUM_SHA256="9589febed76c71017e91e4fdaaa63490aa916d949a20459386b33d81ce16b6f5"
CHECKSUM_SHA256="718e8c44705413b5845a3c73e95fc6343ca17bd405ea22f3b2d55c5f88538ef6"
PATCHES="less-$portVersion.patchset"
ADDITIONAL_FILES="sysless.in"

View File

@@ -5,10 +5,10 @@ Subject: import fix from previous version
diff --git a/cmdbuf.c b/cmdbuf.c
index fd8729e..1ebe299 100644
index ccca0c8..a025fef 100644
--- a/cmdbuf.c
+++ b/cmdbuf.c
@@ -1398,7 +1398,11 @@ mlist_size(ml)
@@ -1399,7 +1399,11 @@ mlist_size(ml)
static char *
histfile_name()
{
@@ -20,7 +20,7 @@ index fd8729e..1ebe299 100644
char *name;
int len;
@@ -1416,6 +1420,13 @@ histfile_name()
@@ -1417,6 +1421,13 @@ histfile_name()
if (strcmp(LESSHISTFILE, "") == 0 || strcmp(LESSHISTFILE, "-") == 0)
return (NULL);
@@ -34,7 +34,7 @@ index fd8729e..1ebe299 100644
/* Otherwise, file is in $HOME. */
home = lgetenv("HOME");
if (home == NULL || *home == '\0')
@@ -1426,6 +1437,7 @@ histfile_name()
@@ -1427,6 +1438,7 @@ histfile_name()
#endif
return (NULL);
}
@@ -43,10 +43,10 @@ index fd8729e..1ebe299 100644
name = (char *) ecalloc(len, sizeof(char));
SNPRINTF2(name, len, "%s/%s", home, LESSHISTFILE);
diff --git a/configure.ac b/configure.ac
index 3616ef0..40526ff 100644
index 2daf8f8..eac2c35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -601,11 +601,17 @@ AH_TOP([
@@ -610,11 +610,17 @@ AH_TOP([
* LESSHISTFILE is the filename of the history file
* (in the HOME directory).
*/
@@ -66,7 +66,7 @@ index 3616ef0..40526ff 100644
/* Settings always true on Unix. */
diff --git a/filename.c b/filename.c
index 983a02b..e6002c2 100644
index be81619..cd48091 100644
--- a/filename.c
+++ b/filename.c
@@ -259,12 +259,23 @@ homefile(filename)
@@ -94,7 +94,7 @@ index 983a02b..e6002c2 100644
/*
* Try $INIT/filename.
diff --git a/less.h b/less.h
index 39ca65e..8be9a49 100644
index 79a4d7d..68dfb77 100644
--- a/less.h
+++ b/less.h
@@ -100,6 +100,11 @@
@@ -110,7 +110,7 @@ index 39ca65e..8be9a49 100644
#include <io.h>
#endif
diff --git a/lesskey.c b/lesskey.c
index fa1ab6d..a1d39e7 100644
index bb85017..056a1f5 100644
--- a/lesskey.c
+++ b/lesskey.c
@@ -250,8 +250,19 @@ homefile(filename)