pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2017Q1]: pkgsrc/security/gnutls Pullup ticket #5263 - requeste...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/607e05c324d7
branches:  pkgsrc-2017Q1
changeset: 360264:607e05c324d7
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon Apr 17 14:40:50 2017 +0000

description:
Pullup ticket #5263 - requested by sevan
security/gnutls: build fix

Revisions pulled up:
- security/gnutls/distinfo                                      1.124
- security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c 1.1

---
   Module Name:    pkgsrc
   Committed By:   jperkin
   Date:           Mon Apr 10 10:43:49 UTC 2017

   Modified Files:
           pkgsrc/security/gnutls: distinfo
   Added Files:
           pkgsrc/security/gnutls/patches:
   patch-lib_accelerated_x86_x86-common.c

   Log Message:
   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 bf2fa6f9cf79 -r 607e05c324d7 security/gnutls/distinfo
--- a/security/gnutls/distinfo  Mon Apr 17 14:39:44 2017 +0000
+++ b/security/gnutls/distinfo  Mon Apr 17 14:40:50 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.123 2017/02/26 09:19:56 adam Exp $
+$NetBSD: distinfo,v 1.123.2.1 2017/04/17 14:40:50 bsiegert 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 bf2fa6f9cf79 -r 607e05c324d7 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 17 14:40:50 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_accelerated_x86_x86-common.c,v 1.1.2.2 2017/04/17 14:40:50 bsiegert 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