summaryrefslogtreecommitdiffstats
path: root/devel/uclmmbase
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2005-03-26 20:50:06 +0000
committermi <mi@FreeBSD.org>2005-03-26 20:50:06 +0000
commitaded07d10d554982a0141b507b3ac33be7db9b87 (patch)
tree7aec82847762266dd900e24723601aba39103fb3 /devel/uclmmbase
parent7dee7ed86e0fc4d698ed87de43d3d84c2aa9fd18 (diff)
downloadFreeBSD-ports-aded07d10d554982a0141b507b3ac33be7db9b87.zip
FreeBSD-ports-aded07d10d554982a0141b507b3ac33be7db9b87.tar.gz
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_udp10
-rw-r--r--devel/uclmmbase/files/patch-word9
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 0000000..99c4fa6
--- /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 0000000..443902f
--- /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
OpenPOWER on IntegriCloud