aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-11-23 21:18:17 +0800
committerarved <arved@FreeBSD.org>2002-11-23 21:18:17 +0800
commitfd40a363d3c875da91e6884ca31f8a52647c69e7 (patch)
treee2a8bfd30c81acf725a12557092aefb3a4b4cb1f /net-im
parent507605b9322a398d945d992f7e47904886b15f36 (diff)
downloadfreebsd-ports-gnome-fd40a363d3c875da91e6884ca31f8a52647c69e7.tar.gz
freebsd-ports-gnome-fd40a363d3c875da91e6884ca31f8a52647c69e7.tar.zst
freebsd-ports-gnome-fd40a363d3c875da91e6884ca31f8a52647c69e7.zip
Fix Build on -CURRENT.
Approved by: maintainer
Diffstat (limited to 'net-im')
-rw-r--r--net-im/sim-im/files/patch-service.cpp19
-rw-r--r--net-im/simicq/files/patch-service.cpp19
2 files changed, 38 insertions, 0 deletions
diff --git a/net-im/sim-im/files/patch-service.cpp b/net-im/sim-im/files/patch-service.cpp
new file mode 100644
index 000000000000..adc965ac2873
--- /dev/null
+++ b/net-im/sim-im/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);
diff --git a/net-im/simicq/files/patch-service.cpp b/net-im/simicq/files/patch-service.cpp
new file mode 100644
index 000000000000..adc965ac2873
--- /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);