mirror of
https://github.com/termux/termux-packages
synced 2024-06-19 23:47:04 +00:00
libicu: revbump revdeps(7)
This commit is contained in:
parent
860242fce5
commit
5fb924c202
|
@ -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
|
||||
|
|
15
packages/php/ext-intl-config.m4.patch
Normal file
15
packages/php/ext-intl-config.m4.patch
Normal 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"
|
26
packages/tectonic/0001-libicu-75-cxx17.patch
Normal file
26
packages/tectonic/0001-libicu-75-cxx17.patch
Normal 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",
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user