From 0ce05650071a0b506ded6e31a9573553d67762df Mon Sep 17 00:00:00 2001 From: Tee KOBAYASHI Date: Sat, 27 Nov 2021 02:14:34 +0900 Subject: [PATCH] sed: Configure with `gl_cv_func_wcrtomb_works=yes` --- packages/sed/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/sed/build.sh b/packages/sed/build.sh index b291ac67d..798f01f3b 100644 --- a/packages/sed/build.sh +++ b/packages/sed/build.sh @@ -3,13 +3,15 @@ TERMUX_PKG_DESCRIPTION="GNU stream editor for filtering/transforming text" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=4.8 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/sed/sed-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=f79b0cfea71b37a8eeec8490db6c5f7ae7719c35587f21edb0617f370eeff633 TERMUX_PKG_ESSENTIAL=true TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_GROUPS="base-devel" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="gl_cv_func_wcrtomb_works=yes" + termux_step_pre_configure() { CFLAGS+=" -D__USE_FORTIFY_LEVEL=2" }