mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-15 10:32:23 +01:00
Use `-std=c++17` when compiling xetex_layout crate. Resolves build error
with icu 76.1.
```
cargo:warning=In file included from /usr/include/unicode/ubidi.h:26,
cargo:warning= from layout/xetex-XeTeXLayoutInterface.cpp:36:
cargo:warning=/usr/include/unicode/localpointer.h:561:26: error: 'auto' parameter not permitted in this context
cargo:warning= 561 | template <typename Type, auto closeFunction>
cargo:warning= | ^~~~
cargo:warning=/usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
cargo:warning= 573 | explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
cargo:warning= | ^
cargo:warning=/usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
cargo:warning= 583 | LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
cargo:warning= | ^
cargo:warning=/usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
cargo:warning= 599 | operator std::unique_ptr<Type, decltype(closeFunction)> () && {
cargo:warning= | ^
cargo:warning=/usr/include/unicode/ubidi.h:579:1: note: invalid template non-type parameter
cargo:warning= 579 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUBiDiPointer, UBiDi, ubidi_close);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
```