summaryrefslogtreecommitdiff
path: root/net/mosh/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/mosh/patches/patch-aa')
-rw-r--r--net/mosh/patches/patch-aa16
1 files changed, 8 insertions, 8 deletions
diff --git a/net/mosh/patches/patch-aa b/net/mosh/patches/patch-aa
index 375a3982f88..e31a36b7076 100644
--- a/net/mosh/patches/patch-aa
+++ b/net/mosh/patches/patch-aa
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.1.1.1 2012/07/20 03:15:29 agc Exp $
+$NetBSD: patch-aa,v 1.2 2016/08/24 10:34:10 wiz Exp $
make sure we get the defs in place before checking for them
---- src/crypto/ocb.cc 2012/07/13 15:38:18 1.1
-+++ src/crypto/ocb.cc 2012/07/13 15:39:01
-@@ -21,6 +21,8 @@
+--- src/crypto/ocb.cc.orig 2016-08-10 10:58:28.000000000 +0000
++++ src/crypto/ocb.cc
+@@ -23,6 +23,8 @@
/ Comments are welcome: Ted Krovetz <ted@krovetz.net> - Dedicated to Laurel K
/------------------------------------------------------------------------- */
@@ -13,15 +13,15 @@ make sure we get the defs in place before checking for them
/* ----------------------------------------------------------------------- */
/* Usage notes */
/* ----------------------------------------------------------------------- */
-@@ -97,6 +99,7 @@
- #define restrict __restrict__ /* No "restrict" in GCC ansi C mode */
+@@ -117,6 +119,7 @@
+ #endif
#endif
+#ifndef bswap64
#if _MSC_VER
#define bswap64(x) _byteswap_uint64(x)
- #elif HAVE_DECL___BUILTIN_BSWAP64
-@@ -114,6 +117,7 @@
+ #elif HAVE_DECL_BSWAP64
+@@ -136,6 +139,7 @@
return out.u64;
}
#endif