aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-02-17 03:37:40 +0800
committerpav <pav@FreeBSD.org>2010-02-17 03:37:40 +0800
commitac89cd12fb93151a39040ee71a4390d33e967a92 (patch)
tree30f0980376234681f668fe152e81a388a696848f /japanese
parent87555bfd3d18610273525754beff67762d19a5ea (diff)
downloadfreebsd-ports-gnome-ac89cd12fb93151a39040ee71a4390d33e967a92.tar.gz
freebsd-ports-gnome-ac89cd12fb93151a39040ee71a4390d33e967a92.tar.zst
freebsd-ports-gnome-ac89cd12fb93151a39040ee71a4390d33e967a92.zip
- Fix runtime segfault on amd64
PR: ports/143999 Submitted by: Katsuyoshi OHARA <ohara@air.s.kanazawa-u.ac.jp> Feature safe: yes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ack/Makefile1
-rw-r--r--japanese/ack/files/patch-kmain.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/japanese/ack/Makefile b/japanese/ack/Makefile
index 733cb4bf9ba0..91becb0835ce 100644
--- a/japanese/ack/Makefile
+++ b/japanese/ack/Makefile
@@ -6,6 +6,7 @@
PORTNAME= ack
PORTVERSION= 1.39
+PORTREVISION= 1
CATEGORIES= japanese converters
MASTER_SITES= ftp://ftp.vector.co.jp/pack/unix/util/text/conv/code/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
diff --git a/japanese/ack/files/patch-kmain.c b/japanese/ack/files/patch-kmain.c
new file mode 100644
index 000000000000..16206989f727
--- /dev/null
+++ b/japanese/ack/files/patch-kmain.c
@@ -0,0 +1,11 @@
+--- kmain.c.orig 1994-07-26 18:30:35.000000000 +0900
++++ kmain.c 2010-02-16 19:33:47.000000000 +0900
+@@ -6,6 +6,8 @@
+ /* v1.30 1994 4/16 */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+
+ #include "kanjicode.h"
+ #include "ackstring.h"