summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-04-28 04:54:50 +0000
committerminskim <minskim@pkgsrc.org>2004-04-28 04:54:50 +0000
commit80ddd62966249f210709eea22afe95fb17545ab0 (patch)
tree54a92ba72c3987a6305102715675c652f487adbe
parentbc1819184226d0d4c867427d8ef7d687c7defe9d (diff)
downloadpkgsrc-80ddd62966249f210709eea22afe95fb17545ab0.tar.gz
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.
-rw-r--r--chat/licq-gui-console/distinfo4
-rw-r--r--chat/licq-gui-console/patches/patch-aa4
2 files changed, 4 insertions, 4 deletions
diff --git a/chat/licq-gui-console/distinfo b/chat/licq-gui-console/distinfo
index 49ba09b7c20..e8c929e2f69 100644
--- a/chat/licq-gui-console/distinfo
+++ b/chat/licq-gui-console/distinfo
@@ -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 --git a/chat/licq-gui-console/patches/patch-aa b/chat/licq-gui-console/patches/patch-aa
index 4f3492e5574..7bb0a8fb6ad 100644
--- a/chat/licq-gui-console/patches/patch-aa
+++ b/chat/licq-gui-console/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1 2003/07/12 12:05:01 wiz Exp $
-//#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;