aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2017-07-22 09:05:15 +0800
committercpm <cpm@FreeBSD.org>2017-07-22 09:05:15 +0800
commit899500232c70a525110ca39bc6565254737622b0 (patch)
tree8b695b1d914679f75fea7661b9a9872c3f89cee1
parent513bcec1f288e93d1383e2c12a7ae639001babee (diff)
downloadfreebsd-ports-gnome-899500232c70a525110ca39bc6565254737622b0.tar.gz
freebsd-ports-gnome-899500232c70a525110ca39bc6565254737622b0.tar.zst
freebsd-ports-gnome-899500232c70a525110ca39bc6565254737622b0.zip
- Remove unnecessary extra-patch-aarch64 (applied upstream)
Reported by: Shawn Webb <shawn.webb@hardenedbsd.org> via email MFH: 2017Q3 (blanket)
-rw-r--r--security/libgcrypt/Makefile4
-rw-r--r--security/libgcrypt/files/extra-patch-aarch6468
2 files changed, 0 insertions, 72 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index f3150d902eba..f92a3a79dae1 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -33,10 +33,6 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-.if ${ARCH} == "aarch64"
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-aarch64
-.endif
-
.if ${ARCH} == "powerpc"
CONFIGURE_ARGS+= --disable-asm
.endif
diff --git a/security/libgcrypt/files/extra-patch-aarch64 b/security/libgcrypt/files/extra-patch-aarch64
deleted file mode 100644
index 90f85b22b693..000000000000
--- a/security/libgcrypt/files/extra-patch-aarch64
+++ /dev/null
@@ -1,68 +0,0 @@
---- cipher/cipher-gcm-armv8-aarch64-ce.S.orig 2016-11-12 10:39:35 UTC
-+++ cipher/cipher-gcm-armv8-aarch64-ce.S
-@@ -23,7 +23,7 @@
- defined(HAVE_COMPATIBLE_GCC_AARCH64_PLATFORM_AS) && \
- defined(HAVE_GCC_INLINE_ASM_AARCH64_CRYPTO)
-
--.arch armv8-a+crypto
-+.cpu generic+simd+crypto
-
- .text
-
---- cipher/rijndael-armv8-aarch64-ce.S.orig 2017-01-18 11:28:40 UTC
-+++ cipher/rijndael-armv8-aarch64-ce.S
-@@ -23,7 +23,7 @@
- defined(HAVE_COMPATIBLE_GCC_AARCH64_PLATFORM_AS) && \
- defined(HAVE_GCC_INLINE_ASM_AARCH64_CRYPTO)
-
--.arch armv8-a+crypto
-+.cpu generic+simd+crypto
-
- .text
-
---- cipher/sha1-armv8-aarch64-ce.S.orig 2016-11-12 10:39:35 UTC
-+++ cipher/sha1-armv8-aarch64-ce.S
-@@ -23,7 +23,7 @@
- defined(HAVE_COMPATIBLE_GCC_AARCH64_PLATFORM_AS) && \
- defined(HAVE_GCC_INLINE_ASM_AARCH64_CRYPTO) && defined(USE_SHA1)
-
--.arch armv8-a+crypto
-+.cpu generic+simd+crypto
-
- .text
-
---- cipher/sha256-armv8-aarch64-ce.S.orig 2016-11-12 10:39:35 UTC
-+++ cipher/sha256-armv8-aarch64-ce.S
-@@ -23,7 +23,7 @@
- defined(HAVE_COMPATIBLE_GCC_AARCH64_PLATFORM_AS) && \
- defined(HAVE_GCC_INLINE_ASM_AARCH64_CRYPTO) && defined(USE_SHA256)
-
--.arch armv8-a+crypto
-+.cpu generic+simd+crypto
-
- .text
-
---- configure.ac.orig 2017-01-18 11:37:00 UTC
-+++ configure.ac
-@@ -1623,7 +1623,7 @@ AC_CACHE_CHECK([whether GCC inline assem
- gcry_cv_gcc_inline_asm_aarch64_neon=no
- AC_COMPILE_IFELSE([AC_LANG_SOURCE(
- [[__asm__(
-- ".arch armv8-a\n\t"
-+ ".cpu generic+simd\n\t"
- "mov w0, \#42;\n\t"
- "dup v0.8b, w0;\n\t"
- "ld4 {v0.8b,v1.8b,v2.8b,v3.8b},[x0],\#32;\n\t"
-@@ -1648,7 +1648,11 @@ AC_CACHE_CHECK([whether GCC inline assem
- gcry_cv_gcc_inline_asm_aarch64_crypto=no
- AC_COMPILE_IFELSE([AC_LANG_SOURCE(
- [[__asm__(
-- ".arch armv8-a+crypto\n\t"
-+ ".cpu generic+simd\n\t"
-+
-+ "mov w0, \#42;\n\t"
-+ "dup v0.8b, w0;\n\t"
-+ "ld4 {v0.8b,v1.8b,v2.8b,v3.8b},[x0],\#32;\n\t"
-
- "sha1h s0, s0;\n\t"
- "sha1c q0, s0, v0.4s;\n\t"