From c710ee731945f7aeda907fa04d68368ddcafcf0c Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 23 Sep 2021 14:02:21 +0200 Subject: util/kconfig: Rewrite patch in quilt's normal form This is what quilt writes on `quilt refresh` and what it can apply and unapply cleanly. Change-Id: I8c8586da384b65fd5c21c1c1a093642534f83283 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/c/coreboot/+/57878 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- .../0013-util-kconfig-detect-ncurses-on-FreeBSD.patch | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/util/kconfig/patches/0013-util-kconfig-detect-ncurses-on-FreeBSD.patch b/util/kconfig/patches/0013-util-kconfig-detect-ncurses-on-FreeBSD.patch index 8442349941..931169d20a 100644 --- a/util/kconfig/patches/0013-util-kconfig-detect-ncurses-on-FreeBSD.patch +++ b/util/kconfig/patches/0013-util-kconfig-detect-ncurses-on-FreeBSD.patch @@ -9,11 +9,11 @@ Change-Id: I4344ba2116c0b8618357db4248d993509cbb666e util/kconfig/mconf-cfg.sh | 6 ++++++ 1 file changed, 6 insertions(+) -diff --git a/util/kconfig/mconf-cfg.sh b/util/kconfig/mconf-cfg.sh -index b520e407a8..2047e626b4 100755 ---- a/util/kconfig/mconf-cfg.sh -+++ b/util/kconfig/mconf-cfg.sh -@@ -33,6 +33,12 @@ if [ -f /usr/include/ncurses/ncurses.h ]; then +Index: kconfig/mconf-cfg.sh +=================================================================== +--- kconfig.orig/mconf-cfg.sh ++++ kconfig/mconf-cfg.sh +@@ -33,6 +33,12 @@ if [ -f /usr/include/ncurses/ncurses.h ] exit 0 fi @@ -26,6 +26,3 @@ index b520e407a8..2047e626b4 100755 # As a final fallback before giving up, check if $HOSTCC knows of a default # ncurses installation (e.g. from a vendor-specific sysroot). if echo '#include ' | ${HOSTCC} -E - >/dev/null 2>&1; then --- -2.31.1 - -- cgit v1.2.3