pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/licq-gui-console Replace the type argument of va_...
details: https://anonhg.NetBSD.org/pkgsrc/rev/126601059935
branches: trunk
changeset: 474380:126601059935
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Apr 28 04:54:50 2004 +0000
description:
Replace the type argument of va_arg() with what it is promoted to.
Otherwise it causes a warning on NetBSD, but an error on Linux.
diffstat:
chat/licq-gui-console/distinfo | 4 ++--
chat/licq-gui-console/patches/patch-aa | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r f0337904eb6a -r 126601059935 chat/licq-gui-console/distinfo
--- a/chat/licq-gui-console/distinfo Wed Apr 28 04:28:57 2004 +0000
+++ b/chat/licq-gui-console/distinfo Wed Apr 28 04:54:50 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2003/07/12 12:05:01 wiz Exp $
+$NetBSD: distinfo,v 1.3 2004/04/28 04:54:50 minskim Exp $
SHA1 (licq-1.2.6.tar.bz2) = fef2d6d8c9a368313335f3ac0e86128aa24133ef
Size (licq-1.2.6.tar.bz2) = 3282918 bytes
-SHA1 (patch-aa) = 4678c53369dccdcfd2035ee2cc2d9967fba2e76d
+SHA1 (patch-aa) = 30f49170155627af831a81ae9472a5946c60b962
diff -r f0337904eb6a -r 126601059935 chat/licq-gui-console/patches/patch-aa
--- a/chat/licq-gui-console/patches/patch-aa Wed Apr 28 04:28:57 2004 +0000
+++ b/chat/licq-gui-console/patches/patch-aa Wed Apr 28 04:54:50 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1 2003/07/12 12:05:01 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2004/04/28 04:54:50 minskim Exp $
--- src/window.cpp.orig Mon Dec 10 15:05:49 2001
+++ src/window.cpp
@@ -24,7 +24,7 @@
-//#else
-// wcolor_set(win, va_arg(argp, short), NULL);
-//#endif
-+ wattr_set(win, save & ~A_COLOR, va_arg(argp, short), NULL);
++ wattr_set(win, save & ~A_COLOR, va_arg(argp, int), NULL);
while((formatIn[i]) && (formatIn[i] != '%') && j < 1022) formatOut[j++] = formatIn[i++];
formatOut[j] = '\0';
*this << formatOut;
Home |
Main Index |
Thread Index |
Old Index