summaryrefslogtreecommitdiff
path: root/news/husky-msged/files/patch-fido.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2006-11-12 12:58:42 +0000
committerMax Khon <fjoe@FreeBSD.org>2006-11-12 12:58:42 +0000
commit977db1e146db48bf6f5a9887e1d993fc9e293b54 (patch)
tree31b13ae96cb3984e321d34aa820b5ff80048448f /news/husky-msged/files/patch-fido.c
parentUpdate to 2.5.03.2382. This fixes unfetchable distfile problem. (diff)
Update to 6.2RC1. This also fixes unfetchable distfile.
patch-fido.c and patch-msg.c are required for compatibility with pre 1.4 husky. They will be removed once husky ports are updated to 1.4.
Notes
Notes: svn path=/head/; revision=177094
Diffstat (limited to 'news/husky-msged/files/patch-fido.c')
-rw-r--r--news/husky-msged/files/patch-fido.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/news/husky-msged/files/patch-fido.c b/news/husky-msged/files/patch-fido.c
new file mode 100644
index 000000000000..bff19e70f3a1
--- /dev/null
+++ b/news/husky-msged/files/patch-fido.c
@@ -0,0 +1,19 @@
+--- fido.c.orig Sun Nov 12 18:26:36 2006
++++ fido.c Sun Nov 12 18:28:10 2006
+@@ -110,6 +110,16 @@
+ #define OPENC O_WRONLY | O_BINARY | O_CREAT /* open/create */
+ #define OPENRW O_RDWR | O_BINARY /* open read/write */
+
++/*
++ * get_word
++ *
++ * Reads in a 2 byte word that is stored in little endian (Intel) notation
++ * and converts it to the local representation in an architecture-
++ * independent manner
++ */
++#define get_word(ptr) \
++ ((word)(ptr)[0] | \
++ (((word)(ptr)[1]) << 8 ))
+
+ /* prototypes */
+