diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-17 08:29:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-17 08:29:04 +0000 |
commit | 0f9935dbde2ee3ecea57f79095c4d17afb39a77c (patch) | |
tree | 4a467df7151f29fb0cc63c4239a3b037095ef032 /main/lftp/0001-run-the-gunlib-checks-with-same-compiler-as-when-bui.patch | |
parent | d7ad83c5a4acb9916e03b6deb79f364e83108fff (diff) | |
download | aports-0f9935dbde2ee3ecea57f79095c4d17afb39a77c.tar.bz2 aports-0f9935dbde2ee3ecea57f79095c4d17afb39a77c.tar.xz |
main/lftp: properly fix musl build
The gnulib tests were ran in a wrong way.
Filed issue upstream:
https://github.com/lavv17/lftp/issues/59
Diffstat (limited to 'main/lftp/0001-run-the-gunlib-checks-with-same-compiler-as-when-bui.patch')
-rw-r--r-- | main/lftp/0001-run-the-gunlib-checks-with-same-compiler-as-when-bui.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/lftp/0001-run-the-gunlib-checks-with-same-compiler-as-when-bui.patch b/main/lftp/0001-run-the-gunlib-checks-with-same-compiler-as-when-bui.patch new file mode 100644 index 0000000000..2e7a93af3d --- /dev/null +++ b/main/lftp/0001-run-the-gunlib-checks-with-same-compiler-as-when-bui.patch @@ -0,0 +1,30 @@ +From d78ec3f29eca74d17a01d717e10ef6fad1a85a15 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Mon, 17 Feb 2014 08:20:41 +0000 +Subject: [PATCH] run the gunlib checks with same compiler as when building + +The gnulib will be built with $CC and not $CXX so we should not run the +gnulib tests with $CXX. + +This fixes lavv17/lftp#59 +--- + configure.ac | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index faca8e5..5d52f1a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -237,9 +237,7 @@ fi + AM_PROG_LIBTOOL + LIBTOOL="$LIBTOOL --silent" + +-AC_LANG_PUSH(C++) + gl_INIT +-AC_LANG_POP(C++) + + if test x$ac_cv_func_wcwidth != xyes || test x$REPLACE_WCWIDTH = x1; then + gl_LIBOBJ([wcwidth]) +-- +1.8.5.4 + |