boost: avoid use of statx

This commit is contained in:
Leonid Pliushch 2021-02-08 14:39:20 +02:00
parent 6390836354
commit 7068764a19
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Free peer-reviewed portable C++ source libraries"
TERMUX_PKG_LICENSE="BSL-1.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.75.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://dl.bintray.com/boostorg/release/$TERMUX_PKG_VERSION/source/boost_${TERMUX_PKG_VERSION//./_}.tar.bz2
TERMUX_PKG_SHA256=953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb
TERMUX_PKG_DEPENDS="libc++, libbz2, libiconv, liblzma, zlib"

View File

@ -0,0 +1,12 @@
diff -uNr boost_1_75_0/libs/filesystem/build/Jamfile.v2 boost_1_75_0.mod/libs/filesystem/build/Jamfile.v2
--- boost_1_75_0/libs/filesystem/build/Jamfile.v2 2020-12-03 07:01:22.000000000 +0200
+++ boost_1_75_0.mod/libs/filesystem/build/Jamfile.v2 2021-02-08 14:38:18.980601879 +0200
@@ -53,8 +53,6 @@
[ check-target-builds ../config//has_stat_st_birthtim "has stat::st_birthtim" : <define>BOOST_FILESYSTEM_HAS_STAT_ST_BIRTHTIM ]
[ check-target-builds ../config//has_stat_st_birthtimensec "has stat::st_birthtimensec" : <define>BOOST_FILESYSTEM_HAS_STAT_ST_BIRTHTIMENSEC ]
[ check-target-builds ../config//has_stat_st_birthtimespec "has stat::st_birthtimespec" : <define>BOOST_FILESYSTEM_HAS_STAT_ST_BIRTHTIMESPEC ]
- [ check-target-builds ../config//has_statx "has statx" : <define>BOOST_FILESYSTEM_HAS_STATX ]
- [ check-target-builds ../config//has_statx_syscall "has statx syscall" : <define>BOOST_FILESYSTEM_HAS_STATX_SYSCALL ]
<conditional>@select-windows-crypto-api
: source-location ../src
: usage-requirements # pass these requirement to dependents (i.e. users)