diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2008-10-25 16:29:55 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2008-10-25 16:29:55 +0000 |
commit | 7029c5a9c4e2418d06cf05c0e5bc4dacb3f67b68 (patch) | |
tree | a4b574c28920df5792a6ed99039791c08915ff0e /x11 | |
parent | 17a85b94ff1ce18fd1b1f5b46df528ae605623f8 (diff) | |
download | pkgsrc-7029c5a9c4e2418d06cf05c0e5bc4dacb3f67b68.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')
-rw-r--r-- | x11/mlterm/distinfo | 3 | ||||
-rw-r--r-- | x11/mlterm/patches/patch-aq | 16 |
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, |