pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2017Q1] pkgsrc/security/gnutls



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Mon Apr 17 14:40:50 UTC 2017

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.123.2.1 pkgsrc/security/gnutls/distinfo
cvs rdiff -u -r0 -r1.1.2.2 \
    pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/gnutls/distinfo
diff -u pkgsrc/security/gnutls/distinfo:1.123 pkgsrc/security/gnutls/distinfo:1.123.2.1
--- pkgsrc/security/gnutls/distinfo:1.123       Sun Feb 26 09:19:56 2017
+++ pkgsrc/security/gnutls/distinfo     Mon Apr 17 14:40:50 2017
@@ -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 @@ SHA512 (gnutls-3.5.9.tar.xz) = 17a05143e
 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

Added files:

Index: pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c
diff -u /dev/null pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c:1.1.2.2
--- /dev/null   Mon Apr 17 14:40:50 2017
+++ pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c       Mon Apr 17 14:40:50 2017
@@ -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