src_prepare-overlay/dev-tex/tectonic/files/tectonic-0.15.0-c++17-icu-fix.patch

20 lines
605 B
Diff
Raw Permalink Normal View History

https://github.com/tectonic-typesetting/tectonic/pull/1202
https://github.com/tectonic-typesetting/tectonic/issues/1190
From d260961426b01f7643ba0f35f493bdb671eeaf3f Mon Sep 17 00:00:00 2001
From: Winston H <56998716+winstxnhdw@users.noreply.github.com>
Date: Wed, 26 Jun 2024 07:05:10 +0800
Subject: [PATCH] fix: use c++ 17
--- a/crates/xetex_layout/build.rs
+++ b/crates/xetex_layout/build.rs
@@ -86,7 +86,7 @@ fn main() {
let mut cppcfg = cc::Build::new();
let cppflags = [
- "-std=c++14",
+ "-std=c++17",
"-Wall",
"-Wdate-time",
"-Wendif-labels",