diff options
author | mi <mi@FreeBSD.org> | 2005-03-27 04:50:06 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2005-03-27 04:50:06 +0800 |
commit | aded07d10d554982a0141b507b3ac33be7db9b87 (patch) | |
tree | 7aec82847762266dd900e24723601aba39103fb3 /devel/uclmmbase | |
parent | 7dee7ed86e0fc4d698ed87de43d3d84c2aa9fd18 (diff) | |
download | freebsd-ports-gnome-aded07d10d554982a0141b507b3ac33be7db9b87.tar.gz freebsd-ports-gnome-aded07d10d554982a0141b507b3ac33be7db9b87.tar.zst freebsd-ports-gnome-aded07d10d554982a0141b507b3ac33be7db9b87.zip |
Use FreeBSD's declarations of inet_ntoa and _ntop -- FreeBSD's
*definitions* were used before anyway, but the declarations now
conflict on 6.x
Use uint32_t instead of `unsigned long', where a 32-bit unsigned value
is needed -- this fixes the qfDES encryption/decryption on 64-bit
platforms.
Reported by: pointyhat
Approved by: portmgr (kris)
Diffstat (limited to 'devel/uclmmbase')
-rw-r--r-- | devel/uclmmbase/files/patch-net_udp | 10 | ||||
-rw-r--r-- | devel/uclmmbase/files/patch-word | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/devel/uclmmbase/files/patch-net_udp b/devel/uclmmbase/files/patch-net_udp new file mode 100644 index 000000000000..99c4fa6f50be --- /dev/null +++ b/devel/uclmmbase/files/patch-net_udp @@ -0,0 +1,10 @@ +--- src/net_udp.c Tue Jun 29 12:21:37 2004 ++++ src/net_udp.c Thu Mar 24 13:17:14 2005 +@@ -44,7 +44,4 @@ + #include "debug.h" + #include "memory.h" +-#include "inet_pton.h" +-#include "inet_ntop.h" +-#include "vsnprintf.h" + #include "net_udp.h" + diff --git a/devel/uclmmbase/files/patch-word b/devel/uclmmbase/files/patch-word new file mode 100644 index 000000000000..443902f3c2d5 --- /dev/null +++ b/devel/uclmmbase/files/patch-word @@ -0,0 +1,9 @@ +--- src/qfDES.c Thu Nov 18 17:49:09 1999 ++++ src/qfDES.c Thu Mar 24 13:36:07 2005 +@@ -13,5 +13,5 @@ + #include "crypt_random.h" + +-typedef unsigned long Word; ++typedef uint32_t Word; + + #define B00 0x80000000 |