diff options
author | Steve Price <steve@FreeBSD.org> | 2000-02-27 23:21:48 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-02-27 23:21:48 +0000 |
commit | b42ca1d4466262ef9fb3fbd25ba3a77ce6a47cbf (patch) | |
tree | fc9643862009d76f077f0f55e42d75fc1d65da86 /net-im | |
parent | - Don't tromple the contents of MAKE_ENV otherwise MOTIF_LIB isn't defined. (diff) |
Fix build errors on -current.
Notes
Notes:
svn path=/head/; revision=26394
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/xicq/files/patch-ag | 17 | ||||
-rw-r--r-- | net-im/xicq/files/patch-ah | 26 |
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 000000000000..662d773579a1 --- /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 000000000000..3ac804237512 --- /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"); |