pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/mlterm In case BUFSIZ is abused, define it to be 1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5f0b295a8bc
branches:  trunk
changeset: 548969:d5f0b295a8bc
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Sat Oct 25 16:29:55 2008 +0000

description:
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@localhost>, pkg/39799.

diffstat:

 x11/mlterm/distinfo         |   3 ++-
 x11/mlterm/patches/patch-aq |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r a6fc71152157 -r d5f0b295a8bc x11/mlterm/distinfo
--- a/x11/mlterm/distinfo       Sat Oct 25 16:23:01 2008 +0000
+++ b/x11/mlterm/distinfo       Sat Oct 25 16:29:55 2008 +0000
@@ -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-an) = 156b8ebf5c7fdf68c39df7076849a05a90eb7e5a
 SHA1 (patch-ao) = 680ac866197202e09c25d93b20a7e3b700f38370
 SHA1 (patch-ap) = 3cfe668a591623d45043621813a68d8958cb81c7
+SHA1 (patch-aq) = 6594315724a0ab34fb5af26c4bc59a6673c99340
diff -r a6fc71152157 -r d5f0b295a8bc x11/mlterm/patches/patch-aq
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mlterm/patches/patch-aq       Sat Oct 25 16:29:55 2008 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index