summaryrefslogtreecommitdiff
path: root/x11/mlterm
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2008-10-25 16:29:55 +0000
committeruebayasi <uebayasi@pkgsrc.org>2008-10-25 16:29:55 +0000
commit5035a37bb5e4d1d71c523ff3cf9955c32c8bd74f (patch)
treea4b574c28920df5792a6ed99039791c08915ff0e /x11/mlterm
parent7f50269c9c373c059a2062ea358491235c466c45 (diff)
downloadpkgsrc-5035a37bb5e4d1d71c523ff3cf9955c32c8bd74f.tar.gz
In case BUFSIZ is abused, define it to be 1024 (as seen in NetBSD's
stdio.h), when it's not defined. Should address the build error reported by NONAKA Kimihiro <nonakap@gmail.com>, pkg/39799.
Diffstat (limited to 'x11/mlterm')
-rw-r--r--x11/mlterm/distinfo3
-rw-r--r--x11/mlterm/patches/patch-aq16
2 files changed, 18 insertions, 1 deletions
diff --git a/x11/mlterm/distinfo b/x11/mlterm/distinfo
index 49ae841ae23..55d273b4418 100644
--- a/x11/mlterm/distinfo
+++ b/x11/mlterm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2006/12/28 11:10:08 hira Exp $
+$NetBSD: distinfo,v 1.19 2008/10/25 16:29:55 uebayasi Exp $
SHA1 (mlterm-2.9.3.tar.gz) = 65ba5a7bd83accf7f621f84b84debb35c8f215ef
RMD160 (mlterm-2.9.3.tar.gz) = 27f4381a8b8b68b07e53bbeb422581beb7527b48
@@ -16,3 +16,4 @@ SHA1 (patch-am) = 83684bfa15e5596abddef92cf994bb92b9f21990
SHA1 (patch-an) = 156b8ebf5c7fdf68c39df7076849a05a90eb7e5a
SHA1 (patch-ao) = 680ac866197202e09c25d93b20a7e3b700f38370
SHA1 (patch-ap) = 3cfe668a591623d45043621813a68d8958cb81c7
+SHA1 (patch-aq) = 6594315724a0ab34fb5af26c4bc59a6673c99340
diff --git a/x11/mlterm/patches/patch-aq b/x11/mlterm/patches/patch-aq
new file mode 100644
index 00000000000..6968a04dcbc
--- /dev/null
+++ b/x11/mlterm/patches/patch-aq
@@ -0,0 +1,16 @@
+$NetBSD: patch-aq,v 1.1 2008/10/25 16:29:55 uebayasi Exp $
+
+--- inputmethod/uim/im_uim.c.orig 2006-04-05 19:47:22.000000000 +0900
++++ inputmethod/uim/im_uim.c 2008-10-26 01:09:33.000000000 +0900
+@@ -49,6 +49,11 @@
+ #define IM_UIM_DEBUG 1
+ #endif
+
++/* PKGSRC: BUFSIZ undeclared when PKG_OPTIONS.mlterm=uim */
++#ifndef BUFSIZ
++#define BUFSIZ 1024
++#endif
++
+
+ /*
+ * When uim encoding is the same as terminal, parser_uim and conv are NULL,