app-misc/dfshow: tweak ncurses PKG_CHECK_MODULES patch

We need the wide/unicode symbols on non-macOS/Darwin because of some
assumptions in the codebase.

Closes: https://bugs.gentoo.org/796773
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2021-06-20 00:32:28 +01:00
parent 5cc834eea9
commit d742176753
No known key found for this signature in database
GPG Key ID: F4922810EEA0483B

View File

@ -71,7 +71,7 @@ index f185b69..8acf1ab 100644
-AC_CHECK_HEADERS(libconfig.h, , AC_MSG_ERROR(libconfig header (libconfig.h) not found. You may need to install a libconfig development package.))
AC_CHECK_HEADERS(sys/acl.h, , AC_MSG_ERROR(libacl header (sys/acl.h) not found. You may need to install a libacl development package.))
+PKG_CHECK_MODULES([ncurses], [ncurses])
+PKG_CHECK_MODULES([ncurses], [ncursesw ncurses])
+PKG_CHECK_MODULES([libconfig], [libconfig])
+
AC_ARG_WITH([selinux], AS_HELP_STRING([--with-selinux], [Build with selinux library (default: disabled)]))