aboutsummaryrefslogtreecommitdiff
path: root/devel/uclmmbase
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2005-03-26 20:50:06 +0000
committerMikhail Teterin <mi@FreeBSD.org>2005-03-26 20:50:06 +0000
commit1752dff84a559159049e5f77d8ac0bda69ddae5b (patch)
treee813e35b2be2501faecce67e1afa7e9f98ac3e4a /devel/uclmmbase
parent3ea2a15c21dc705a9c84b6c1e84f8d99b1aabda0 (diff)
downloadports-1752dff84a559159049e5f77d8ac0bda69ddae5b.tar.gz
ports-1752dff84a559159049e5f77d8ac0bda69ddae5b.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)
Notes
Notes: svn path=/head/; revision=132000
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 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