summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups/231.native_packages_etc.group2
-rw-r--r--patches/util_linux-2.37.2_pre.local.patch29
2 files changed, 30 insertions, 1 deletions
diff --git a/groups/231.native_packages_etc.group b/groups/231.native_packages_etc.group
index 676e1e58..44c93533 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 00000000..fd350668
--- /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='#'