1 |
alonbl 13/07/27 20:24:41 |
2 |
|
3 |
Added: p11-kit-0.19.3-build.patch |
4 |
Log: |
5 |
Version bump, fixes bug#471956, bug#477486 |
6 |
|
7 |
(Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key BF20DC51) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-crypt/p11-kit/files/p11-kit-0.19.3-build.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/p11-kit/files/p11-kit-0.19.3-build.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/p11-kit/files/p11-kit-0.19.3-build.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: p11-kit-0.19.3-build.patch |
16 |
=================================================================== |
17 |
[PATCH] do not assume dead code existence in autoconf checks |
18 |
|
19 |
when compiler optimize source, it removes dead code so a linkage error |
20 |
in these cases are not visisble. |
21 |
|
22 |
Signed-off-by: Alon Bar-Lev <alon.barlev@×××××.com> |
23 |
|
24 |
--- p11-kit-0.19.3/configure.ac 2013-07-24 11:13:03.000000000 +0300 |
25 |
+++ p11-kit-0.19.3.new/configure.ac 2013-07-27 23:05:53.470534878 +0300 |
26 |
@@ -100,9 +100,9 @@ if test "$os_unix" = "yes"; then |
27 |
AC_MSG_RESULT([yes])], |
28 |
[AC_MSG_RESULT([no])]) |
29 |
AC_CHECK_DECLS([__progname]) |
30 |
- AC_LINK_IFELSE([AC_LANG_SOURCE([extern char *__progname; void main() { }])], |
31 |
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern char *__progname;]], [[__progname=(char*)0;]])], |
32 |
[AC_DEFINE(HAVE___PROGNAME, [1], [Whether __progname available])]) |
33 |
- AC_LINK_IFELSE([AC_LANG_SOURCE([extern int __libc_enable_secure; void main() { }])], |
34 |
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern int __libc_enable_secure;]], [[__libc_enable_secure = 0;]])], |
35 |
[AC_DEFINE(HAVE___LIBC_ENABLE_SECURE, [1], [Whether __libc_enable_secure available])]) |
36 |
fi |