pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/dialog Fix build under NetBSD older than today's ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d603ba4471f0
branches:  trunk
changeset: 652272:d603ba4471f0
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu May 28 07:50:33 2015 +0000

description:
Fix build under NetBSD older than today's NetBSD-current.

diffstat:

 misc/dialog/distinfo              |   3 ++-
 misc/dialog/patches/patch-trace.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 1b5fcf325b7b -r d603ba4471f0 misc/dialog/distinfo
--- a/misc/dialog/distinfo      Thu May 28 07:33:56 2015 +0000
+++ b/misc/dialog/distinfo      Thu May 28 07:50:33 2015 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.43 2015/05/28 06:29:10 wiz Exp $
+$NetBSD: distinfo,v 1.44 2015/05/28 07:50:33 tron Exp $
 
 SHA1 (dialog-1.2-20150513.tgz) = 62a76ea7e8a205c4a20e265c34c1b7674fbe0e34
 RMD160 (dialog-1.2-20150513.tgz) = a59d3de306ff24add3f00db305b74bb0b07fd860
 Size (dialog-1.2-20150513.tgz) = 497554 bytes
+SHA1 (patch-trace.c) = 9ada0df3808c2814404bc30933ec9d159d560265
diff -r 1b5fcf325b7b -r d603ba4471f0 misc/dialog/patches/patch-trace.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/dialog/patches/patch-trace.c Thu May 28 07:50:33 2015 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-trace.c,v 1.1 2015/05/28 07:50:33 tron Exp $
+
+Fix build failure caused by bad definition of "wunctrl" macro under NetBSD
+which has been fixed in NetBSD-current.
+
+--- trace.c.orig       2011-10-18 11:47:26.000000000 +0100
++++ trace.c    2015-05-28 08:47:19.000000000 +0100
+@@ -93,7 +93,7 @@
+                       wchar_t *uc;
+ 
+                       if (win_wch(win, &cch) == ERR
+-                          || (uc = wunctrl(&cch)) == 0
++                          || (uc = wunctrl((&cch))) == 0
+                           || uc[1] != 0
+                           || wcwidth(uc[0]) <= 0) {
+                           buffer[0] = '.';



Home | Main Index | Thread Index | Old Index