Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libgcrypt/files: libgcrypt-1.6.1-uscore.patch
Date: Tue, 04 Feb 2014 02:39:01
Message-Id: 20140204023853.621DA2004C@flycatcher.gentoo.org
1 radhermit 14/02/04 02:38:53
2
3 Added: libgcrypt-1.6.1-uscore.patch
4 Log:
5 Version bump, re-add arm keyword since bug #494668 should be fixed according to upstream.
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
8
9 Revision Changes Path
10 1.1 dev-libs/libgcrypt/files/libgcrypt-1.6.1-uscore.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/files/libgcrypt-1.6.1-uscore.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/files/libgcrypt-1.6.1-uscore.patch?rev=1.1&content-type=text/plain
14
15 Index: libgcrypt-1.6.1-uscore.patch
16 ===================================================================
17 The version taken from GnuPG 1.4 assumes any cross-compiled package have
18 prefixed underscores, which is not the case; by using libtool's own macro,
19 we can avoid the whole issue.
20
21 --- libgcrypt-1.6.1/configure.ac
22 +++ libgcrypt-1.6.1/configure.ac
23 @@ -1022,7 +1022,7 @@
24 # Check whether underscores in symbols are required. This needs to be
25 # done before setting up the assembler stuff.
26 #
27 -GNUPG_SYS_SYMBOL_UNDERSCORE()
28 +LT_SYS_SYMBOL_USCORE
29
30
31 #################################
32 --- libgcrypt-1.6.1/mpi/config.links
33 +++ libgcrypt-1.6.1/mpi/config.links
34 @@ -362,7 +362,7 @@
35
36 # Make sysdep.h
37 echo '/* created by config.links - do not edit */' >./mpi/sysdep.h
38 -if test x$ac_cv_sys_symbol_underscore = xyes; then
39 +if test x$sys_symbol_underscore = xyes; then
40 cat <<EOF >>./mpi/sysdep.h
41 #if __STDC__
42 #define C_SYMBOL_NAME(name) _##name