From eb8c8a4a588e2407c696e3082e9b650bfcd0909a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Sat, 18 Apr 2026 15:57:54 +0200 Subject: [PATCH] tectonic: update to 0.16.9. --- srcpkgs/tectonic/patches/ftbfs.patch | 11 ----------- srcpkgs/tectonic/patches/icu-78.patch | 22 ---------------------- srcpkgs/tectonic/template | 11 +++-------- 3 files changed, 3 insertions(+), 41 deletions(-) delete mode 100644 srcpkgs/tectonic/patches/ftbfs.patch delete mode 100644 srcpkgs/tectonic/patches/icu-78.patch diff --git a/srcpkgs/tectonic/patches/ftbfs.patch b/srcpkgs/tectonic/patches/ftbfs.patch deleted file mode 100644 index 575121b87996cc..00000000000000 --- a/srcpkgs/tectonic/patches/ftbfs.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/crates/engine_bibtex/src/xbuf.rs -+++ b/crates/engine_bibtex/src/xbuf.rs -@@ -52,7 +52,7 @@ pub unsafe fn xrealloc_zeroed Option<&'static mut [T]> { -- let old_len = (*old).len(); -+ let old_len = (&(*old)).len(); - let new_size = new_len * mem::size_of::(); - // SAFETY: realloc can be called with any size, even 0, that will just deallocate and return null - let ptr = unsafe { xrealloc(old.cast(), new_size) }.cast::(); diff --git a/srcpkgs/tectonic/patches/icu-78.patch b/srcpkgs/tectonic/patches/icu-78.patch deleted file mode 100644 index 16377adf4674bd..00000000000000 --- a/srcpkgs/tectonic/patches/icu-78.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/crates/engine_xetex/build.rs -+++ b/crates/engine_xetex/build.rs -@@ -184,7 +184,7 @@ const C_FILES: &[&str] = &[ - ]; - - const CXX_FLAGS: &[&str] = &[ -- "-std=c++14", -+ "-std=c++17", - "-Wall", - "-Wdate-time", - "-Wendif-labels", ---- 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", diff --git a/srcpkgs/tectonic/template b/srcpkgs/tectonic/template index 1465f43cf17f69..3709b96d25a16c 100644 --- a/srcpkgs/tectonic/template +++ b/srcpkgs/tectonic/template @@ -1,7 +1,7 @@ # Template file for 'tectonic' pkgname=tectonic -version=0.15.0 -revision=3 +version=0.16.9 +revision=1 build_style=cargo configure_args="--features=external-harfbuzz" hostmakedepends="pkg-config" @@ -13,12 +13,7 @@ license="MIT" homepage="https://tectonic-typesetting.github.io" changelog="https://raw.githubusercontent.com/tectonic-typesetting/tectonic/release/CHANGELOG.md" distfiles="https://github.com/tectonic-typesetting/tectonic/archive/tectonic@${version}.tar.gz" -checksum=3c13de312c4fe39ff905ad17e64a15a3a59d33ab65dacb0a8b9482c57e6bc6aa -# broken=yes - -pre_patch() { - cargo update --package time@0.3.34 --precise 0.3.47 -} +checksum=9861d4d4230b987d8560f1b84fe6c8a550738401be65b9425b0c7d0466178f2b post_install() { vlicense LICENSE