aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2003-02-27 08:52:58 +0800
committersf <sf@FreeBSD.org>2003-02-27 08:52:58 +0800
commit1f34590372c259d2fe4fd17d78cbbabfb97324d8 (patch)
treebb56f737a923d93a25d78c200c07976251c8ddba /japanese
parent38bb4effa48863a7ad0a48d2cd8547623a4c982e (diff)
downloadfreebsd-ports-gnome-1f34590372c259d2fe4fd17d78cbbabfb97324d8.tar.gz
freebsd-ports-gnome-1f34590372c259d2fe4fd17d78cbbabfb97324d8.tar.zst
freebsd-ports-gnome-1f34590372c259d2fe4fd17d78cbbabfb97324d8.zip
fix SEGV problem.
Submitted by: nork Tested by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/less/Makefile3
-rw-r--r--japanese/less/files/patch-ad11
-rw-r--r--japanese/less/pkg-comment1
3 files changed, 13 insertions, 2 deletions
diff --git a/japanese/less/Makefile b/japanese/less/Makefile
index c0193d74a00a..835e9d89db1c 100644
--- a/japanese/less/Makefile
+++ b/japanese/less/Makefile
@@ -7,7 +7,7 @@
PORTNAME= less+iso
PORTVERSION= 358.254
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= http://www.io.com/~kazushi/less/ \
${MASTER_SITE_LOCAL}
@@ -24,6 +24,7 @@ PATCHFILES= ${DISTNAME}-iso${PORTVERSION:E}.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= sf@FreeBSD.org
+COMMENT= Less + zcat + ISO-2022 - a pager similar to more and pg
USE_AUTOCONF= yes
GNU_CONFIGURE= yes
diff --git a/japanese/less/files/patch-ad b/japanese/less/files/patch-ad
new file mode 100644
index 000000000000..35c16f16c2dc
--- /dev/null
+++ b/japanese/less/files/patch-ad
@@ -0,0 +1,11 @@
+--- search.c.orig Thu Feb 27 00:22:02 2003
++++ search.c Thu Feb 27 00:22:54 2003
+@@ -1371,7 +1371,7 @@
+ if (charset)
+ free(charset);
+ charset = (CHARSET *)
+- ecalloc(len, sizeof(CHARSET));
++ ecalloc(len+1, sizeof(CHARSET));
+ }
+
+ cvt_text(line, charset, line, NULL, ops);
diff --git a/japanese/less/pkg-comment b/japanese/less/pkg-comment
deleted file mode 100644
index 78d8c5a5ab39..000000000000
--- a/japanese/less/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Less + zcat + ISO-2022 - a pager similar to more and pg