dev-tex/tectonic: fix build with rust-1.80

Closes: https://bugs.gentoo.org/920027
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-12-08 21:31:31 +09:00
parent 16ebc41d48
commit ff198d2aed
4 changed files with 68 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
https://github.com/tectonic-typesetting/tectonic/commit/d260961426b01f7643ba0f35f493bdb671eeaf3f
--- a/crates/xetex_layout/build.rs 2024-12-08 10:19:21.243061431 -0000
+++ b/crates/xetex_layout/build.rs 2024-12-08 10:44:13.539667493 -0000
@@ -86,7 +86,7 @@
let mut cppcfg = cc::Build::new();
let cppflags = [
- "-std=c++14",
+ "-std=c++17",
"-Wall",
"-Wdate-time",
"-Wendif-labels",

View File

@@ -0,0 +1,27 @@
Fix build with rust-1.80.
--- a/Cargo.lock 2024-12-08 10:19:21.230061469 -0000
+++ b/Cargo.lock 2024-12-08 10:20:33.419850806 -0000
@@ -2682,9 +2682,9 @@
[[package]]
name = "time"
-version = "0.3.34"
+version = "0.3.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
dependencies = [
"deranged",
"itoa",
@@ -2705,9 +2705,9 @@
[[package]]
name = "time-macros"
-version = "0.2.17"
+version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
dependencies = [
"num-conv",
"time-core",