File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ --- a/crates/engine_bibtex/src/xbuf.rs
2+ +++ b/crates/engine_bibtex/src/xbuf.rs
3+ @@ -52,7 +52,7 @@ pub unsafe fn xrealloc_zeroed<T: SafelyZ
4+ old: *mut [T],
5+ new_len: usize,
6+ ) -> Option<&'static mut [T]> {
7+ - let old_len = (*old).len();
8+ + let old_len = (&(*old)).len();
9+ let new_size = new_len * mem::size_of::<T>();
10+ // SAFETY: realloc can be called with any size, even 0, that will just deallocate and return null
11+ let ptr = unsafe { xrealloc(old.cast(), new_size) }.cast::<T>();
Original file line number Diff line number Diff line change 1+ --- a/crates/engine_xetex/build.rs
2+ +++ b/crates/engine_xetex/build.rs
3+ @@ -184,7 +184,7 @@ const C_FILES: &[&str] = &[
4+ ];
5+
6+ const CXX_FLAGS: &[&str] = &[
7+ - "-std=c++14",
8+ + "-std=c++17",
9+ "-Wall",
10+ "-Wdate-time",
11+ "-Wendif-labels",
12+ --- a/crates/xetex_layout/build.rs
13+ +++ b/crates/xetex_layout/build.rs
14+ @@ -86,7 +86,7 @@ fn main() {
15+ let mut cppcfg = cc::Build::new();
16+
17+ let cppflags = [
18+ - "-std=c++14",
19+ + "-std=c++17",
20+ "-Wall",
21+ "-Wdate-time",
22+ "-Wendif-labels",
Original file line number Diff line number Diff line change 11# Template file for 'tectonic'
22pkgname=tectonic
33version=0.15.0
4- revision=2
4+ revision=3
55build_style=cargo
66configure_args="--features=external-harfbuzz"
77hostmakedepends="pkg-config"
@@ -14,7 +14,11 @@ homepage="https://tectonic-typesetting.github.io"
1414changelog="https://raw.githubusercontent.com/tectonic-typesetting/tectonic/release/CHANGELOG.md"
1515distfiles="https://github.com/tectonic-typesetting/tectonic/archive/tectonic@${version}.tar.gz"
1616checksum=3c13de312c4fe39ff905ad17e64a15a3a59d33ab65dacb0a8b9482c57e6bc6aa
17- broken=yes
17+ # broken=yes
18+
19+ pre_patch() {
20+ cargo update --package time@0.3.34 --precise 0.3.47
21+ }
1822
1923post_install() {
2024 vlicense LICENSE
You can’t perform that action at this time.
0 commit comments