tectonic/0001-build-set-c-standard-to-c-17.patch
Soc Virnyl Estela 89b53a6b96 - Replace 0001-build-set-standard-to-c-17.patch to 0001-build-set-c-standard-to-c-17.patch
- Adjust patches for the release branch. tectonic uses a separate branch for releases
  so that's why the patches are failing

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/tectonic?expand=0&rev=28
2024-05-28 04:19:44 +00:00

27 lines
764 B
Diff

From 55252b6d5e3ac14b8c990a0d56ec2c827bca37e6 Mon Sep 17 00:00:00 2001
From: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
Date: Tue, 28 May 2024 12:02:54 +0800
Subject: [PATCH 1/2] build: set c standard to c++17
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
---
crates/xetex_layout/build.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crates/xetex_layout/build.rs b/crates/xetex_layout/build.rs
index bdd0d03f..558fd29e 100644
--- 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",
--
2.45.1