23593285 update libgcrypt to version 1.7.1
authorJan Friedel <jan.friedel@oracle.com>
Sun, 26 Jun 2016 22:01:00 -0700
changeset 6287 09470f4f0af3
parent 6286 67033aaef576
child 6288 14a7a95b0bce
23593285 update libgcrypt to version 1.7.1
components/libgcrypt/Makefile
components/libgcrypt/libgcrypt.p5m
components/libgcrypt/patches/01_sparcv8.patch
--- a/components/libgcrypt/Makefile	Sun Jun 26 22:00:59 2016 -0700
+++ b/components/libgcrypt/Makefile	Sun Jun 26 22:01:00 2016 -0700
@@ -36,15 +36,15 @@
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		libgcrypt
-COMPONENT_VERSION=	1.7.0
+COMPONENT_VERSION=	1.7.1
 COMPONENT_PROJECT_URL=  ftp://ftp.gnupg.org/gcrypt/libgcrypt/ 
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
 COMPONENT_ARCHIVE_HASH= \
-    sha256:b0e67ea74474939913c4d9d9ef4ef5ec378efbe2bebe36389dee319c79bffa92
+    sha256:450d9cfcbf1611c64dbe3bd04b627b83379ef89f11406d94c8bba305e36d7a95
 COMPONENT_ARCHIVE_URL=  ftp://ftp.gnupg.org/gcrypt/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
 COMPONENT_BUGDB=	library/libgcrypt
 
-TPNO=			27993
+TPNO=			29497
 
 # Requires new pkgmogrify feature, available in S12 but not 11.3, so do not
 # publish.
--- a/components/libgcrypt/libgcrypt.p5m	Sun Jun 26 22:00:59 2016 -0700
+++ b/components/libgcrypt/libgcrypt.p5m	Sun Jun 26 22:01:00 2016 -0700
@@ -45,12 +45,12 @@
 file usr/bin/$(MACH32)/libgcrypt-config path=usr/bin/libgcrypt-config
 file path=usr/bin/mpicalc
 file path=usr/include/gcrypt.h
-link path=usr/lib/$(MACH64)/libgcrypt.so target=libgcrypt.so.20.1.0
-link path=usr/lib/$(MACH64)/libgcrypt.so.20 target=libgcrypt.so.20.1.0
-file path=usr/lib/$(MACH64)/libgcrypt.so.20.1.0
-link path=usr/lib/libgcrypt.so target=libgcrypt.so.20.1.0
-link path=usr/lib/libgcrypt.so.20 target=libgcrypt.so.20.1.0
-file path=usr/lib/libgcrypt.so.20.1.0
+link path=usr/lib/$(MACH64)/libgcrypt.so target=libgcrypt.so.20.1.1
+link path=usr/lib/$(MACH64)/libgcrypt.so.20 target=libgcrypt.so.20.1.1
+file path=usr/lib/$(MACH64)/libgcrypt.so.20.1.1
+link path=usr/lib/libgcrypt.so target=libgcrypt.so.20.1.1
+link path=usr/lib/libgcrypt.so.20 target=libgcrypt.so.20.1.1
+file path=usr/lib/libgcrypt.so.20.1.1
 file path=usr/share/aclocal/libgcrypt.m4
 file path=usr/share/info/gcrypt.info
 file path=usr/share/man/man1/hmac256.1
--- a/components/libgcrypt/patches/01_sparcv8.patch	Sun Jun 26 22:00:59 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-
-The patch fixes the gcc portability on Solaris 9 SPARC boxes.
-
-In the mpi/longlong.h adds __sparcv8 as an alias for __sparc_v8__. If
-not applied, the compilation process fails during linkage with a
-missing/unresolved symbol __udiv_qrnnd.
-
-This patch originally comes from the upstream and it was locally updated
-to reflect indentation added to the file in the 1.7 branch; the original
-patch was applied on the 1.6 branch but it has been withdrawn for 1.7.
-https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=d2816248461c24a7ea81a1de2f562f481ccc9edd
-
---- ./mpi/longlong.h.orig	Thu Jun  2 03:11:06 2016
-+++ ./mpi/longlong.h	Thu Jun  2 03:11:33 2016
-@@ -1293,7 +1293,7 @@
- 	     "rJ" ((USItype)(al)),                                      \
- 	     "rI" ((USItype)(bl))                                       \
- 	   __CLOBBER_CC)
--# if defined (__sparc_v8__)
-+# if defined (__sparc_v8__) || defined (__sparcv8)
- /* Don't match immediate range because, 1) it is not often useful,
-    2) the 'I' flag thinks of the range as a 13 bit signed interval,
-    while we want to match a 13 bit interval, sign extended to 32 bits,