From 289f1aa953cdf19766fb1f99d601365d579d8602 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 14 Aug 2023 16:21:24 +0200 Subject: [PATCH] ignore TERMINFO and HOME environment variables if running as root (#2211666) Resolves: #2211666 --- ncurses.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ncurses.spec b/ncurses.spec index d317901..0e67e37 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -129,6 +129,7 @@ common_options="\ --enable-overwrite \ --enable-pc-files \ --enable-xmc-glitch \ + --disable-root-environ \ --disable-stripping \ --disable-wattr-macros \ --with-cxx-shared \