pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/gnutls Avoid unsupported xgetbv instruction o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cd1dfae68f35
branches: trunk
changeset: 360912:cd1dfae68f35
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Apr 10 10:43:49 2017 +0000
description:
Avoid unsupported xgetbv instruction on older Darwin assemblers.
diffstat:
security/gnutls/distinfo | 3 +-
security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c | 15 ++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r b57aaa0514b6 -r cd1dfae68f35 security/gnutls/distinfo
--- a/security/gnutls/distinfo Mon Apr 10 10:43:22 2017 +0000
+++ b/security/gnutls/distinfo Mon Apr 10 10:43:49 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.123 2017/02/26 09:19:56 adam Exp $
+$NetBSD: distinfo,v 1.124 2017/04/10 10:43:49 jperkin Exp $
SHA1 (gnutls-3.5.9.tar.xz) = f3f184a92f128af1c2fb29b29a4d325af65694a5
RMD160 (gnutls-3.5.9.tar.xz) = a200b078cf9204f70dfaae7c045fc2f762a22809
@@ -6,6 +6,7 @@
Size (gnutls-3.5.9.tar.xz) = 7166932 bytes
SHA1 (patch-ae) = 5e020483ac14ef6ccc45a53e351242ab16c860f1
SHA1 (patch-lib_Makefile.in) = d0e292e632a91a9f19e39bd2c2d205a086ba5588
+SHA1 (patch-lib_accelerated_x86_x86-common.c) = 7a46ef6892b3a06ff4c949a965073c720a2491a4
SHA1 (patch-src_libopts_autoopts_options.h) = 9202c55314fe8764ac82c95bbfabfa1b031e9ba4
SHA1 (patch-src_libopts_compat_compat.h) = 240fbfc0ba20af35e0634ba873fe9e34bfbcc921
SHA1 (patch-src_libopts_libopts.c) = ce5e7681def882e95ed5ab770564d1f999b97039
diff -r b57aaa0514b6 -r cd1dfae68f35 security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c Mon Apr 10 10:43:49 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_accelerated_x86_x86-common.c,v 1.1 2017/04/10 10:43:49 jperkin Exp $
+
+Avoid unsupported xgetbv instruction on older Darwin assemblers.
+
+--- lib/accelerated/x86/x86-common.c.orig 2017-01-22 00:00:30.000000000 +0000
++++ lib/accelerated/x86/x86-common.c
+@@ -101,6 +101,8 @@ static unsigned check_4th_gen_intel_feat
+
+ #if defined(_MSC_VER)
+ xcr0 = _xgetbv(0);
++#elif defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070
++ return 0;
+ #else
+ __asm__ ("xgetbv" : "=a" (xcr0) : "c" (0) : "%edx");
+ #endif
Home |
Main Index |
Thread Index |
Old Index