From f7d044c2408b25b0451ad99e2b67b9d05bc377d7 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 26 Jun 2017 00:05:20 +0200 Subject: [PATCH] Build with gl_cv_C_locale_sans_EILSEQ=yes Fixes #1099 by rebuilding grep with this configure variable. --- build-package.sh | 1 + packages/grep/build.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/build-package.sh b/build-package.sh index 401d9fed..c3fb97ab 100755 --- a/build-package.sh +++ b/build-package.sh @@ -746,6 +746,7 @@ termux_step_configure_autotools () { AVOID_GNULIB+=" gl_cv_func_working_mktime=yes" AVOID_GNULIB+=" gl_cv_func_working_strerror=yes" AVOID_GNULIB+=" gl_cv_header_working_fcntl_h=yes" + AVOID_GNULIB+=" gl_cv_C_locale_sans_EILSEQ=yes" # NOTE: We do not want to quote AVOID_GNULIB as we want word expansion. env $AVOID_GNULIB "$TERMUX_PKG_SRCDIR/configure" \ diff --git a/packages/grep/build.sh b/packages/grep/build.sh index d413b934..c90996aa 100644 --- a/packages/grep/build.sh +++ b/packages/grep/build.sh @@ -2,5 +2,6 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/grep/ TERMUX_PKG_DESCRIPTION="Command which searches one or more input files for lines containing a match to a specified pattern" TERMUX_PKG_DEPENDS="pcre" TERMUX_PKG_VERSION=3.0 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/grep/grep-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=e2c81db5056e3e8c5995f0bb5d0d0e1cad1f6f45c3b2fc77b6e81435aed48ab5 -- 2.11.0