summaryrefslogtreecommitdiff
path: root/net/kopete/files/patch-service.cpp
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-20 15:09:19 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-20 15:09:19 +0000
commitef85223d7fcb1f5d56921911670564f4d88633ab (patch)
tree71494fafaa5330fa0e75c5b62cdd095adb1ce70e /net/kopete/files/patch-service.cpp
parentMark FORBIDDEN until I fix a long standing bug, which is noted as a (diff)
Fix build on CURRENT
Fix build on STABLE after kdelibs update PR: 44927, 45481 Submitted by: Josef El-Rayes <j.el-rayes@daemon.li> Arjan van Leeuwen <avleeuwen@piwebs.com>
Diffstat (limited to '')
-rw-r--r--net/kopete/files/patch-service.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/kopete/files/patch-service.cpp b/net/kopete/files/patch-service.cpp
new file mode 100644
index 000000000000..81b79e69a07e
--- /dev/null
+++ b/net/kopete/files/patch-service.cpp
@@ -0,0 +1,19 @@
+--- kopete/protocols/icq_new/libicq/service.cpp.orig Thu Nov 21 21:52:08 2002
++++ kopete/protocols/icq_new/libicq/service.cpp Thu Nov 21 21:53:46 2002
+@@ -301,14 +301,14 @@
+ time(&now);
+ Buffer b;
+ b << (char)3;
+- b.pack(now);
++ b.pack((unsigned long)now);
+ b.pack((unsigned short)0);
+ b.pack((unsigned short)1);
+ b.pack((unsigned short)1);
+ b.pack((char*)SHARED_FILES_SIGN, 16);
+ b << (char)4 << (unsigned short)1;
+ b.pack((unsigned long)(bState ? 1 : 0));
+- b.pack(now);
++ b.pack((unsigned long)now);
+ b.pack((unsigned long)0);
+ b.pack((unsigned short)1);
+ sendUpdate(b);