libicu: revbump revdeps(7)

This commit is contained in:
Kevin Williams 2024-04-21 23:08:24 +08:00 committed by Chongyun Lee
parent 860242fce5
commit 5fb924c202
4 changed files with 43 additions and 1 deletions

View File

@ -5,6 +5,7 @@ TERMUX_PKG_LICENSE_FILE=LICENSE
TERMUX_PKG_MAINTAINER="@termux"
# Please revbump php-* extensions along with "minor" bump (e.g. 8.1.x to 8.2.0)
TERMUX_PKG_VERSION=8.3.6
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/php/php-src/archive/php-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=af9ca6ea711391eaf74793beeebeb66e8bf7756297d1bc97a293166282a0ba77
TERMUX_PKG_AUTO_UPDATE=false
@ -83,7 +84,6 @@ termux_step_pre_configure() {
export PATH=$TERMUX_PKG_HOSTBUILD_DIR/_patchelf/src:$PATH
LDFLAGS+=" -lresolv_wrapper -landroid-glob -llog $($CC -print-libgcc-file-name)"
export PATH=$PATH:$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/
export NATIVE_PHP_EXECUTABLE=$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/php
export NATIVE_MINILUA_EXECUTABLE=$TERMUX_PKG_HOSTBUILD_DIR/ext/opcache/minilua

View File

@ -0,0 +1,15 @@
Since ICU 75, ICU C++ headers need at least C++17 to compile as it
uses `std::enable_if_t` (introduced in C++14) and `std::is_same_v`
(introduced in C++17).
--- a/ext/intl/config.m4
+++ b/ext/intl/config.m4
@@ -80,7 +80,7 @@
breakiterator/codepointiterator_methods.cpp"
PHP_REQUIRE_CXX()
- PHP_CXX_COMPILE_STDCXX(11, mandatory, PHP_INTL_STDCXX)
+ PHP_CXX_COMPILE_STDCXX(17, mandatory, PHP_INTL_STDCXX)
PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS"
case $host_alias in
*cygwin*) PHP_INTL_CXX_FLAGS="$PHP_INTL_CXX_FLAGS -D_POSIX_C_SOURCE=200809L"

View File

@ -0,0 +1,26 @@
Since ICU 75, ICU C++ headers need at least C++17 to compile as it
uses `std::enable_if_t` (introduced in C++14) and `std::is_same_v`
(introduced in C++17).
--- a/crates/engine_xetex/build.rs
+++ b/crates/engine_xetex/build.rs
@@ -184,7 +184,7 @@
];
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 @@
let mut cppcfg = cc::Build::new();
let cppflags = [
- "-std=c++14",
+ "-std=c++17",
"-Wall",
"-Wdate-time",
"-Wendif-labels",

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A modernized, complete, self-contained TeX/LaTeX engine"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.15.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=git+https://github.com/tectonic-typesetting/tectonic
TERMUX_PKG_GIT_BRANCH=tectonic@${TERMUX_PKG_VERSION}
TERMUX_PKG_DEPENDS="fontconfig, freetype, libc++, libgraphite, libicu, libpng, openssl, zlib"