summaryrefslogtreecommitdiff
path: root/chat/icqlib/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-10 12:52:45 +0000
committerjoerg <joerg>2006-01-10 12:52:45 +0000
commit0a1cc487a655be16e3c48112ffecc8f3c964e8aa (patch)
tree67d0d628a211486182b8190de43351b4eedb8f07 /chat/icqlib/patches
parent748f6589dda7aa7be8b3a138e578b005c12d5489 (diff)
downloadpkgsrc-0a1cc487a655be16e3c48112ffecc8f3c964e8aa.tar.gz
va_arg with type shorter than int is invalid and GCC's builtin will
generate an explicit abort() for that code path. Use correct promotion and bump revision.
Diffstat (limited to 'chat/icqlib/patches')
-rw-r--r--chat/icqlib/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/chat/icqlib/patches/patch-aa b/chat/icqlib/patches/patch-aa
new file mode 100644
index 00000000000..5c831ac604d
--- /dev/null
+++ b/chat/icqlib/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2006/01/10 12:52:45 joerg Exp $
+
+--- icqlib/queue.c.orig 2006-01-10 10:48:20.000000000 +0000
++++ icqlib/queue.c
+@@ -127,7 +127,7 @@ void icq_UDPQueueFree(ICQLINK *link)
+
+ int icq_UDPQueueFindSeq(void *p, va_list data)
+ {
+- WORD seq=va_arg(data, WORD);
++ WORD seq=va_arg(data, unsigned int);
+ return icq_PacketReadUDPOutSeq1(((icq_UDPQueueItem *)p)->pack) == seq;
+ }
+