summaryrefslogtreecommitdiff
path: root/mbone/sdr/patches/patch-ac
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>1997-11-18 17:05:15 +0000
committeris <is@pkgsrc.org>1997-11-18 17:05:15 +0000
commite36fdeaad99eee8d1564366e679450f9e64b0bf0 (patch)
treeb12c0274b3b4a438691755cbf3d35d5363a2803d /mbone/sdr/patches/patch-ac
parentfccd1cd22785561ee6085ad8abcbdf62b659737c (diff)
downloadpkgsrc-e36fdeaad99eee8d1564366e679450f9e64b0bf0.tar.gz
Initial MBONE tools directory, bootstrapped from FreeBSD ports collection,
sdr only.
Diffstat (limited to 'mbone/sdr/patches/patch-ac')
-rw-r--r--mbone/sdr/patches/patch-ac40
1 files changed, 40 insertions, 0 deletions
diff --git a/mbone/sdr/patches/patch-ac b/mbone/sdr/patches/patch-ac
new file mode 100644
index 00000000000..3d7ce87d727
--- /dev/null
+++ b/mbone/sdr/patches/patch-ac
@@ -0,0 +1,40 @@
+--- src/sdr.h.orig Wed May 21 22:06:02 1997
++++ src/sdr.h Wed May 21 22:10:05 1997
+@@ -8,9 +8,6 @@
+ #include <winsock.h>
+ #else
+ #include <sys/socket.h>
+-#include <netinet/in.h>
+-#include <arpa/inet.h>
+-#include <net/if.h>
+ #include <sys/ioctl.h>
+ #include <netdb.h>
+ #include <pwd.h>
+@@ -18,6 +15,9 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <ctype.h>
++#include <netinet/in.h>
++#include <net/if.h>
++#include <arpa/inet.h>
+ #include <arpa/nameser.h>
+ #include <resolv.h>
+ #ifdef AIX41
+@@ -146,10 +146,17 @@
+ };
+
+ struct sap_header {
++#if BYTE_ORDER == BIG_ENDIAN
+ u_int version:3;
+ u_int type:3;
+ u_int enc:1;
+ u_int compress:1;
++#else
++ u_int compress:1;
++ u_int enc:1;
++ u_int type:3;
++ u_int version:3;
++#endif
+ u_int authlen:8;
+ u_int msgid:16;
+ u_int src;