diff options
Diffstat (limited to 'dev-libs/nettle/files/nettle-2.5-build-ar.patch')
-rw-r--r-- | dev-libs/nettle/files/nettle-2.5-build-ar.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/nettle/files/nettle-2.5-build-ar.patch b/dev-libs/nettle/files/nettle-2.5-build-ar.patch new file mode 100644 index 0000000..636c1fa --- /dev/null +++ b/dev-libs/nettle/files/nettle-2.5-build-ar.patch @@ -0,0 +1,39 @@ +From 3f35444ca2ae842a546010180e2b16cdd0169b6c Mon Sep 17 00:00:00 2001 +From: Sean McGovern <gseanmcg@gmail.com> +Date: Tue, 30 Oct 2012 19:23:27 -0400 +Subject: [PATCH] Probe for archiver tool + +Gentoo bug#438160. +--- + config.make.in | 2 +- + configure.ac | 1 + + 2 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/config.make.in b/config.make.in +index 58ee19c..f42421f 100644 +--- a/config.make.in ++++ b/config.make.in +@@ -46,7 +46,7 @@ LIBHOGWEED_FORLINK = @LIBHOGWEED_FORLINK@ + LIBHOGWEED_LIBS = @LIBHOGWEED_LIBS@ + LIBHOGWEED_LINK = @LIBHOGWEED_LINK@ + +-AR = ar ++AR = @AR@ + ARFLAGS = cru + AUTOCONF = autoconf + AUTOHEADER = autoheader +diff --git a/configure.ac b/configure.ac +index dea9bd4..737febb 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -104,6 +104,7 @@ AC_PROG_RANLIB + AC_CHECK_TOOL(NM, nm, strings) + # Used only for the GNU-stack configure test. + AC_CHECK_TOOL(OBJDUMP, objdump, false) ++AC_CHECK_TOOL(AR, ar, false) + + if test "x$ac_cv_prog_cc_stdc" = xno ; then + AC_ERROR([the C compiler doesn't handle ANSI-C]) #' +-- +1.7.8.6 + |