public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-crypt/p11-kit/files: p11-kit-0.19.3-build.patch
@ 2013-07-27 20:24 Alon Bar-Lev (alonbl)
  0 siblings, 0 replies; 2+ messages in thread
From: Alon Bar-Lev (alonbl) @ 2013-07-27 20:24 UTC (permalink / raw
  To: gentoo-commits

alonbl      13/07/27 20:24:41

  Added:                p11-kit-0.19.3-build.patch
  Log:
  Version bump, fixes bug#471956, bug#477486
  
  (Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)

Revision  Changes    Path
1.1                  app-crypt/p11-kit/files/p11-kit-0.19.3-build.patch

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
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

Index: p11-kit-0.19.3-build.patch
===================================================================
[PATCH] do not assume dead code existence in autoconf checks

when compiler optimize source, it removes dead code so a linkage error
in these cases are not visisble.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

--- p11-kit-0.19.3/configure.ac	2013-07-24 11:13:03.000000000 +0300
+++ p11-kit-0.19.3.new/configure.ac	2013-07-27 23:05:53.470534878 +0300
@@ -100,9 +100,9 @@ if test "$os_unix" = "yes"; then
 	                AC_MSG_RESULT([yes])],
 	               [AC_MSG_RESULT([no])])
 	AC_CHECK_DECLS([__progname])
-	AC_LINK_IFELSE([AC_LANG_SOURCE([extern char *__progname; void main() { }])],
+	AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern char *__progname;]], [[__progname=(char*)0;]])],
 		[AC_DEFINE(HAVE___PROGNAME, [1], [Whether __progname available])])
-	AC_LINK_IFELSE([AC_LANG_SOURCE([extern int __libc_enable_secure; void main() { }])],
+	AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern int __libc_enable_secure;]], [[__libc_enable_secure = 0;]])],
 		[AC_DEFINE(HAVE___LIBC_ENABLE_SECURE, [1], [Whether __libc_enable_secure available])])
 fi
 





^ permalink raw reply	[flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-crypt/p11-kit/files: p11-kit-0.19.3-build.patch
@ 2014-08-15  6:29 Tim Harder (radhermit)
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Harder (radhermit) @ 2014-08-15  6:29 UTC (permalink / raw
  To: gentoo-commits

radhermit    14/08/15 06:29:28

  Removed:              p11-kit-0.19.3-build.patch
  Log:
  Remove old.
  
  (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-15  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-27 20:24 [gentoo-commits] gentoo-x86 commit in app-crypt/p11-kit/files: p11-kit-0.19.3-build.patch Alon Bar-Lev (alonbl)
  -- strict thread matches above, loose matches on Subject: below --
2014-08-15  6:29 Tim Harder (radhermit)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox