1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/harfbuzz-icu
Jan Beich 4816cd4921 print/harfbuzz-icu: unbreak build with ICU 75
In file included from ../src/hb-icu.cc:39:
In file included from /usr/local/include/unicode/unorm2.h:35:
In file included from /usr/local/include/unicode/uset.h:36:
/usr/local/include/unicode/localpointer.h:561:26: error: 'auto' not allowed in template parameter until C++17
template <typename Type, auto closeFunction>
                         ^~~~
In file included from ../src/hb-icu.cc:39:
In file included from /usr/local/include/unicode/unorm2.h:35:
/usr/local/include/unicode/uset.h:358:53: error: value of type 'void (USet *)' is not implicitly convertible to 'int'
U_DEFINE_LOCAL_OPEN_POINTER(LocalUSetPointer, USet, uset_close);
                                                    ^~~~~~~~~~
/usr/local/include/unicode/localpointer.h:551:68: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
    using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction>
                                                                   ^~~~~~~~~~~~~
In file included from ../src/hb-icu.cc:39:
/usr/local/include/unicode/unorm2.h:286:69: error: value of type 'void (UNormalizer2 *)' is not implicitly convertible to 'int'
U_DEFINE_LOCAL_OPEN_POINTER(LocalUNormalizer2Pointer, UNormalizer2, unorm2_close);
                                                                    ^~~~~~~~~~~~
/usr/local/include/unicode/localpointer.h:551:68: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
    using LocalPointerClassName = internal::LocalOpenPointer<Type, closeFunction>
                                                                   ^~~~~~~~~~~~~
PR:		278420
Reported by:	antoine (via exp-run)
2024-04-20 23:51:57 +02:00
..
Makefile print/harfbuzz-icu: unbreak build with ICU 75 2024-04-20 23:51:57 +02:00
pkg-plist