File: 0001-Add-xorBlock-compile-support-for-deb-archs.patch

package info (click to toggle)
golang-github-jacobsa-crypto 0.0~git20171018.0.c73681c%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,920 kB
  • sloc: ansic: 33; makefile: 19; sh: 6
file content (31 lines) | stat: -rw-r--r-- 1,110 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: David Steele <steele@debian.org>
Date: Mon, 12 Jun 2017 18:57:26 -0400
Subject: Add xorBlock compile support for deb archs

---
 cmac/hash_32bit.go | 2 +-
 cmac/hash_64bit.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/cmac/hash_32bit.go
+++ b/cmac/hash_32bit.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// +build 386 arm,!arm64
+// +build 386 arm mips mipsel mipsle m68k mipso32 mipsn32 ppc sh4
 
 package cmac
 
--- a/cmac/hash_64bit.go
+++ b/cmac/hash_64bit.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-// +build amd64 arm64 ppc64 ppc64le s390x mips64 mips64le
+// +build amd64 arm64 ppc64 ppc64le ppc64el mips64 mips64le mips64el s390x alpha amd64p32 arm64be mipso64 mipsn64 mips64p32 mips64p32le ia64 sparc64
 
 // This code assumes that it's safe to perform unaligned word-sized loads. This is safe on:
 //  - arm64 per http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0024a/ch05s01s02.html