soc/intel/xeon_sp: Align resources to 4K
[coreboot2.git] / util / kconfig / patches / 0013-util-kconfig-detect-ncurses-on-FreeBSD.patch
blobf4743e1112590267b5633d952fa146fab4f34fdc
1 From 8512ae9b9bd83f6051f63b0673903283788a2d12 Mon Sep 17 00:00:00 2001
2 From: Idwer Vollering <vidwer@gmail.com>
3 Date: Wed, 28 Jul 2021 20:15:29 +0200
4 Subject: [PATCH] util/kconfig: detect ncurses on FreeBSD
6 Signed-off-by: Idwer Vollering <vidwer@gmail.com>
7 Change-Id: I4344ba2116c0b8618357db4248d993509cbb666e
8 ---
9 util/kconfig/mconf-cfg.sh | 6 ++++++
10 1 file changed, 6 insertions(+)
12 Index: kconfig/mconf-cfg.sh
13 ===================================================================
14 --- kconfig.orig/mconf-cfg.sh
15 +++ kconfig/mconf-cfg.sh
16 @@ -36,6 +36,12 @@ if [ -f /usr/include/ncurses/ncurses.h ]
17 exit 0
20 +# We'll want to be able to build on (Free)BSD:
21 +if [ -f /usr/include/ncurses.h ]; then
22 + echo libs=\"-lncurses\"
23 + exit 0
24 +fi
26 # As a final fallback before giving up, check if $HOSTCC knows of a default
27 # ncurses installation (e.g. from a vendor-specific sysroot).
28 if echo '#include <ncurses.h>' | ${HOSTCC} -E - >/dev/null 2>&1; then