From ef068e866330f90451f89e30e6695547f33ba4b1 Mon Sep 17 00:00:00 2001 From: Ørjan Malde Date: Feb 01 2022 16:06:43 +0000 Subject: groups/231.native_packages_etc.group: util_linux: build more(1) Signed-off-by: Ørjan Malde --- diff --git a/groups/231.native_packages_etc.group b/groups/231.native_packages_etc.group index 676e1e5..44c9353 100644 --- a/groups/231.native_packages_etc.group +++ b/groups/231.native_packages_etc.group @@ -490,7 +490,7 @@ tcl_cv_strtod_unbroken=true"}; : ${PKG_UTIL_LINUX_SHA256SUM:=6a0764c1aae7fb607ef8a6dd2c0f6c47d5e5fd27aa08820abaad9ec14e28e9d9}; : ${PKG_UTIL_LINUX_VERSION:=2.37.2}; : ${PKG_UTIL_LINUX_URL:=https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${PKG_UTIL_LINUX_VERSION%.*}/util-linux-${PKG_UTIL_LINUX_VERSION}.tar.xz}; -: ${PKG_UTIL_LINUX_CONFIGURE_ARGS_EXTRA:=--disable-agetty --disable-lslogins --disable-wall --disable-write --disable-nologin --disable-sulogin --disable-hwclock --disable-schedutils}; +: ${PKG_UTIL_LINUX_CONFIGURE_ARGS_EXTRA:=--disable-agetty --disable-lslogins --disable-wall --disable-write --disable-nologin --disable-sulogin --disable-hwclock --disable-schedutils --enable-more}; : ${PKG_UTIL_LINUX_CFLAGS_CONFIGURE_EXTRA:=-std=c99}; : ${PKG_UTIL_LINUX_CONFIG_CACHE_EXTRA:=" ac_cv_func_timer_create=no diff --git a/patches/util_linux-2.37.2_pre.local.patch b/patches/util_linux-2.37.2_pre.local.patch new file mode 100644 index 0000000..fd35066 --- /dev/null +++ b/patches/util_linux-2.37.2_pre.local.patch @@ -0,0 +1,29 @@ +diff -ru util-linux-2.37.2.orig/configure util-linux-2.37.2/configure +--- util-linux-2.37.2.orig/configure 2021-08-16 15:25:13.436570514 +0200 ++++ util-linux-2.37.2/configure 2022-02-01 17:03:06.700588486 +0100 +@@ -35807,25 +35807,6 @@ + fi + + +- +- if test "x$build_more" != xno; then +- +- case $enable_more:$linux_os in #( +- no:*) +- build_more=no ;; +- yes:yes) +- build_more=yes ;; +- yes:*) +- as_fn_error $? "more selected for non-linux system" "$LINENO" 5;; +- check:yes) +- build_more=yes ;; +- check:*) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building more" >&5 +-$as_echo "$as_me: WARNING: non-linux system; not building more" >&2;} +- build_more=no ;; +- esac +- fi +- + if test "x$build_more" = xyes; then + BUILD_MORE_TRUE= + BUILD_MORE_FALSE='#'