summaryrefslogtreecommitdiffstats
path: root/net-im/xicq
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-02-27 23:21:48 +0000
committersteve <steve@FreeBSD.org>2000-02-27 23:21:48 +0000
commitccf6270759c1ba0b4759f185a0625cb2d3e99dd0 (patch)
tree5c04d5cfc882ebe8c626d7f1aca772706adde7a3 /net-im/xicq
parent2f20de15966564ddd41585be6f9965ac229944e2 (diff)
downloadFreeBSD-ports-ccf6270759c1ba0b4759f185a0625cb2d3e99dd0.zip
FreeBSD-ports-ccf6270759c1ba0b4759f185a0625cb2d3e99dd0.tar.gz
Fix build errors on -current.
Diffstat (limited to 'net-im/xicq')
-rw-r--r--net-im/xicq/files/patch-ag17
-rw-r--r--net-im/xicq/files/patch-ah26
2 files changed, 43 insertions, 0 deletions
diff --git a/net-im/xicq/files/patch-ag b/net-im/xicq/files/patch-ag
new file mode 100644
index 0000000..662d773
--- /dev/null
+++ b/net-im/xicq/files/patch-ag
@@ -0,0 +1,17 @@
+--- src/libXicq/structs.h.orig Sun Feb 27 12:34:45 2000
++++ src/libXicq/structs.h Sun Feb 27 12:37:10 2000
+@@ -16,10 +16,10 @@
+ */
+ struct LIB_INFORMATION
+ {
+- const char NAME[] = "libXicq";
+- const char VERSION[] = "071298-snapshot";
+- const char AUTHOR[] = "tnc";
+- const char CONTACT[] = "xtrophy@it.dk";
++ static const char NAME[] = "libXicq";
++ static const char VERSION[] = "071298-snapshot";
++ static const char AUTHOR[] = "tnc";
++ static const char CONTACT[] = "xtrophy@it.dk";
+ };
+
+
diff --git a/net-im/xicq/files/patch-ah b/net-im/xicq/files/patch-ah
new file mode 100644
index 0000000..3ac8042
--- /dev/null
+++ b/net-im/xicq/files/patch-ah
@@ -0,0 +1,26 @@
+--- src/libXicq/net.cc.orig Sun Feb 27 12:37:37 2000
++++ src/libXicq/net.cc Sun Feb 27 12:38:59 2000
+@@ -6,6 +6,9 @@
+ **************************************************************************/
+
+
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#endif
+ #include "net.h"
+
+ #define MAXWATCH 10
+@@ -144,8 +147,13 @@
+ int net_udpRecv(unsigned char *mesg, int length)
+ {
+ structlength = sizeof(client);
++#if defined(__FreeBSD__) && (__FreeBSD_version >= 400013)
++ recvd = recvfrom(net_information.sock, mesg, length, 0,
++ (struct sockaddr *) &client, (socklen_t *) &structlength);
++#else
+ recvd = recvfrom(net_information.sock, mesg, length, 0,
+ (struct sockaddr *) &client, &structlength);
++#endif
+ if (recvd < 0)
+ {
+ perror("libXicq: recvfrom");
OpenPOWER on IntegriCloud