Source: libvmime Version: 0.9.2-7 Severity: normal Tags: ftbfs patch Usertags: ICU70.1
Hi, Soon I would like to start the ICU 70.1 transition. Your package FTBFS with this release. Main reason is that since ICU 68.1 it doesn't define TRUE and FALSE constants. You need to use the C99 / C++ ones which are lowercase ones. Patch is attached to make it easy for you. Regards, Laszlo/GCS
Description: since ICU 68.1 TRUE and FALSE are no longer defined Use their C99 / C++ analogues, ie use them in lowercase. Author: Laszlo Boszormenyi (GCS) <g...@debian.org> Forwarded: no Last-Update: 2022-01-19 --- --- libvmime-0.9.2.orig/src/vmime/charsetConverter_icu.cpp +++ libvmime-0.9.2/src/vmime/charsetConverter_icu.cpp @@ -359,7 +359,7 @@ void charsetFilteredOutputStream_icu::wr toErr = U_ZERO_ERROR; ucnv_toUnicode(m_from, &uniTarget, uniTargetLimit, - &uniSource, uniSourceLimit, NULL, /* flush */ FALSE, &toErr); + &uniSource, uniSourceLimit, NULL, /* flush */ false, &toErr); if (U_FAILURE(toErr) && toErr != U_BUFFER_OVERFLOW_ERROR) { @@ -396,7 +396,7 @@ void charsetFilteredOutputStream_icu::wr fromErr = U_ZERO_ERROR; ucnv_fromUnicode(m_to, &cpTarget, cpTargetLimit, - &cpSource, cpSourceLimit, NULL, /* flush */ FALSE, &fromErr); + &cpSource, cpSourceLimit, NULL, /* flush */ false, &fromErr); if (fromErr != U_BUFFER_OVERFLOW_ERROR && U_FAILURE(fromErr)) { @@ -448,7 +448,7 @@ void charsetFilteredOutputStream_icu::fl toErr = U_ZERO_ERROR; ucnv_toUnicode(m_from, &uniTarget, uniTargetLimit, - &uniSource, uniSourceLimit, NULL, /* flush */ TRUE, &toErr); + &uniSource, uniSourceLimit, NULL, /* flush */ true, &toErr); if (U_FAILURE(toErr) && toErr != U_BUFFER_OVERFLOW_ERROR) { @@ -476,7 +476,7 @@ void charsetFilteredOutputStream_icu::fl fromErr = U_ZERO_ERROR; ucnv_fromUnicode(m_to, &cpTarget, cpTargetLimit, - &cpSource, cpSourceLimit, NULL, /* flush */ TRUE, &fromErr); + &cpSource, cpSourceLimit, NULL, /* flush */ true, &fromErr); if (fromErr != U_BUFFER_OVERFLOW_ERROR && U_FAILURE(fromErr)) {