diff options
author | arved <arved@FreeBSD.org> | 2002-11-23 21:18:17 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2002-11-23 21:18:17 +0800 |
commit | fd40a363d3c875da91e6884ca31f8a52647c69e7 (patch) | |
tree | e2a8bfd30c81acf725a12557092aefb3a4b4cb1f | |
parent | 507605b9322a398d945d992f7e47904886b15f36 (diff) | |
download | freebsd-ports-gnome-fd40a363d3c875da91e6884ca31f8a52647c69e7.tar.gz freebsd-ports-gnome-fd40a363d3c875da91e6884ca31f8a52647c69e7.tar.zst freebsd-ports-gnome-fd40a363d3c875da91e6884ca31f8a52647c69e7.zip |
Fix Build on -CURRENT.
Approved by: maintainer
-rw-r--r-- | net-im/sim-im/files/patch-service.cpp | 19 | ||||
-rw-r--r-- | net-im/simicq/files/patch-service.cpp | 19 | ||||
-rw-r--r-- | net/simicq/files/patch-service.cpp | 19 |
3 files changed, 57 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); diff --git a/net/simicq/files/patch-service.cpp b/net/simicq/files/patch-service.cpp new file mode 100644 index 000000000000..adc965ac2873 --- /dev/null +++ b/net/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); |