From fd40a363d3c875da91e6884ca31f8a52647c69e7 Mon Sep 17 00:00:00 2001 From: arved Date: Sat, 23 Nov 2002 13:18:17 +0000 Subject: Fix Build on -CURRENT. Approved by: maintainer --- net-im/simicq/files/patch-service.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 net-im/simicq/files/patch-service.cpp (limited to 'net-im/simicq') diff --git a/net-im/simicq/files/patch-service.cpp b/net-im/simicq/files/patch-service.cpp new file mode 100644 index 0000000..adc965a --- /dev/null +++ b/net-im/simicq/files/patch-service.cpp @@ -0,0 +1,19 @@ +--- sim/libicq/service.cpp.orig Thu Nov 21 21:52:08 2002 ++++ sim/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); -- cgit v1.1