# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/ncurses/hotfix-c++-bool.patch # Copyright (C) 2025 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- ncurses-6.5/configure.vanilla 2025-04-25 20:37:26.869872320 +0200 +++ ncurses-6.5/configure 2025-04-25 20:37:39.697715162 +0200 @@ -27451,7 +27451,7 @@ if test "$cf_cv_cc_bool_type" = 1 then # oops: C has a bool. Unlikely, but C++ could differ. - USE_CXX_BOOL=0 + USE_CXX_BOOL='defined(__cplusplus)' elif test "$cf_cv_builtin_bool" = 0 then # C++ has no bool