diff options
author | ryoon <ryoon@pkgsrc.org> | 2020-11-05 09:23:43 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2020-11-05 09:23:43 +0000 |
commit | 718c3227b65c3aa3a2ea5bd63db2970f5b79c81a (patch) | |
tree | 1ccff3e68bf6b4abac5c49eede3bc6c8ae294880 /misc/libreoffice/patches | |
parent | f598039ef1ffcd3ff2a0465a8acd28ff6cf1fe05 (diff) | |
download | pkgsrc-718c3227b65c3aa3a2ea5bd63db2970f5b79c81a.tar.gz |
libreoffice: Fix build with textproc/icu-68.1
Diffstat (limited to 'misc/libreoffice/patches')
-rw-r--r-- | misc/libreoffice/patches/patch-i18npool_source_calendar_calendar__gregorian.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/libreoffice/patches/patch-i18npool_source_calendar_calendar__gregorian.cxx b/misc/libreoffice/patches/patch-i18npool_source_calendar_calendar__gregorian.cxx new file mode 100644 index 00000000000..857a56d658f --- /dev/null +++ b/misc/libreoffice/patches/patch-i18npool_source_calendar_calendar__gregorian.cxx @@ -0,0 +1,15 @@ +$NetBSD: patch-i18npool_source_calendar_calendar__gregorian.cxx,v 1.1 2020/11/05 09:23:43 ryoon Exp $ + +* Fix build with textproc/icu-68.1. + +--- i18npool/source/calendar/calendar_gregorian.cxx.orig 2020-10-21 20:09:11.000000000 +0000 ++++ i18npool/source/calendar/calendar_gregorian.cxx +@@ -347,7 +347,7 @@ Calendar_gregorian::setLocalDateTime( do + "Calendar_gregorian::setLocalDateTime: " << std::fixed << fM << " rounded to " << fR); + int32_t nZoneOffset, nDSTOffset; + UErrorCode status = U_ZERO_ERROR; +- body->getTimeZone().getOffset( fR, TRUE, nZoneOffset, nDSTOffset, status ); ++ body->getTimeZone().getOffset( fR, true, nZoneOffset, nDSTOffset, status ); + if ( !U_SUCCESS(status) ) throw ERROR; + status = U_ZERO_ERROR; + body->setTime( fR - (nZoneOffset + nDSTOffset), status ); |