mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2025-03-16 22:30:57 +00:00
global packages update (#330)
apache2 bash-completion boost box64 box86 doxygen e2fsprogs gettext libaom libcurl libdrm libedit libelf libflac libgnutls libice libicu liblzma libnettle libnghttp2 libpam libpixman libpng libsecret libsm libsqlite libtool libtpms libuv libwayland-protocols libx11 libxau libxkbcommon libxml2 libxrender libxshmfence libxt libxxf86vm openssl pcre2 python zstd python-pip docbook-xsl-glibc binutils-libs
This commit is contained in:
gpkg
apache2
bash-completion
binutils-libs
boost
boost-process-detail-posix-shell_path.hpp.patchbuild.shfix-smart-pointer-output.patchshell_path.hpp.patch
box64
box86
docbook-xsl
doxygen
e2fsprogs
gettext
libaom
libcurl
libdrm
libedit
libelf
libflac
libgnutls
libice
libicu
liblzma
libnettle
libnghttp2
libpam
libpixman
libpng
libsecret
libsm
libsqlite
libtool
libtpms
libuv
libwayland-protocols
libwayland
libx11
libxau
libxkbcommon
libxml2
libxrender
libxshmfence
libxt
libxxf86vm
openssl
pcre2
python-pip
python
zstd
@ -1,19 +0,0 @@
|
||||
diff --color -uNr boost_1_80_0/boost/process/detail/posix/shell_path.hpp boost_1_80_0.mod/boost/process/detail/posix/shell_path.hpp
|
||||
--- boost_1_80_0/boost/process/detail/posix/shell_path.hpp 2022-08-03 23:47:11.000000000 -0300
|
||||
+++ boost_1_80_0.mod/boost/process/detail/posix/shell_path.hpp 2022-11-04 00:06:29.634809985 -0300
|
||||
@@ -18,13 +18,13 @@
|
||||
|
||||
inline boost::process::filesystem::path shell_path()
|
||||
{
|
||||
- return "/bin/sh";
|
||||
+ return "@TERMUX_PREFIX@/bin/sh";
|
||||
}
|
||||
|
||||
inline boost::process::filesystem::path shell_path(std::error_code &ec)
|
||||
{
|
||||
ec.clear();
|
||||
- return "/bin/sh";
|
||||
+ return "@TERMUX_PREFIX@/bin/sh";
|
||||
}
|
||||
|
||||
}}}}
|
@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://boost.org
|
||||
TERMUX_PKG_DESCRIPTION="Free peer-reviewed portable C++ source libraries"
|
||||
TERMUX_PKG_LICENSE="BSL-1.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux-pacman"
|
||||
TERMUX_PKG_VERSION="1.83.0"
|
||||
TERMUX_PKG_SRCURL=https://boostorg.jfrog.io/artifactory/main/release/$TERMUX_PKG_VERSION/source/boost_${TERMUX_PKG_VERSION//./_}.tar.bz2
|
||||
TERMUX_PKG_SHA256=6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e
|
||||
TERMUX_PKG_VERSION="1.87.0"
|
||||
TERMUX_PKG_SRCURL=https://archives.boost.io/release/$TERMUX_PKG_VERSION/source/boost_${TERMUX_PKG_VERSION//./_}.tar.bz2
|
||||
TERMUX_PKG_SHA256=af57be25cb4c4f4b413ed692fe378affb4352ea50fbe294a11ef548f4d527d89
|
||||
TERMUX_PKG_DEPENDS="libbz2-glibc, zlib-glibc, libicu-glibc, zstd-glibc"
|
||||
TERMUX_PKG_BUILD_DEPENDS="python-glibc"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
@ -26,6 +26,11 @@ termux_step_make_install() {
|
||||
local BOOSTAM=32
|
||||
fi
|
||||
|
||||
local ML_FLAG=""
|
||||
if [ "$TERMUX_ARCH" = i686 ]; then
|
||||
ML_FLAG="-DBOOST_STACKTRACE_LIBCXX_RUNTIME_MAY_CAUSE_MEMORY_LEAK"
|
||||
fi
|
||||
|
||||
./bootstrap.sh --with-toolset=gcc --with-icu --with-python=$TERMUX_PREFIX/bin/python3
|
||||
./b2 install \
|
||||
variant=release \
|
||||
@ -35,8 +40,8 @@ termux_step_make_install() {
|
||||
link=shared,static \
|
||||
toolset=gcc \
|
||||
python=$python_version \
|
||||
cflags="$CPPFLAGS $CFLAGS -fPIC -O3 -ffat-lto-objects" \
|
||||
cxxflags="$CPPFLAGS $CXXFLAGS -fPIC -O3 -ffat-lto-objects" \
|
||||
cflags="$CPPFLAGS $CFLAGS $ML_FLAG -fPIC -O3 -ffat-lto-objects" \
|
||||
cxxflags="$CPPFLAGS $CXXFLAGS $ML_FLAG -fPIC -O3 -ffat-lto-objects" \
|
||||
linkflags="$LDFLAGS" \
|
||||
--layout=system \
|
||||
--prefix=$TERMUX_PREFIX \
|
||||
|
26
gpkg/boost/fix-smart-pointer-output.patch
Normal file
26
gpkg/boost/fix-smart-pointer-output.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From e7433ba54596da97cb7859455cd37ca140305a9c Mon Sep 17 00:00:00 2001
|
||||
From: Peter Dimov <pdimov@gmail.com>
|
||||
Date: Mon, 13 Jan 2025 16:13:04 +0200
|
||||
Subject: [PATCH] Fix operator<< for shared_ptr and intrusive_ptr. Fixes #115.
|
||||
--- a/boost/smart_ptr/intrusive_ptr.hpp
|
||||
+++ b/boost/smart_ptr/intrusive_ptr.hpp
|
||||
@@ -285,7 +285,7 @@ template<class T, class U> intrusive_ptr<T> dynamic_pointer_cast( intrusive_ptr<
|
||||
|
||||
// operator<<
|
||||
|
||||
-template<class Y> std::ostream & operator<< (std::ostream & os, intrusive_ptr<Y> const & p)
|
||||
+template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, intrusive_ptr<Y> const & p)
|
||||
{
|
||||
os << p.get();
|
||||
return os;
|
||||
--- a/boost/smart_ptr/shared_ptr.hpp
|
||||
+++ b/boost/smart_ptr/shared_ptr.hpp
|
||||
@@ -775,7 +775,7 @@ template<class T> inline typename shared_ptr<T>::element_type * get_pointer(shar
|
||||
|
||||
// operator<<
|
||||
|
||||
-template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> const & p)
|
||||
+template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, shared_ptr<Y> const & p)
|
||||
{
|
||||
os << p.get();
|
||||
return os;
|
18
gpkg/boost/shell_path.hpp.patch
Normal file
18
gpkg/boost/shell_path.hpp.patch
Normal file
@ -0,0 +1,18 @@
|
||||
--- src/boost/process/v1/detail/posix/shell_path.hpp 2024-12-05 03:53:35.000000000 +0300
|
||||
+++ src/boost/process/v1/detail/posix/shell_path.hpp.patch 2025-03-05 14:02:47.847495863 +0300
|
||||
@@ -18,13 +18,13 @@
|
||||
|
||||
inline boost::process::v1::filesystem::path shell_path()
|
||||
{
|
||||
- return "/bin/sh";
|
||||
+ return "@TERMUX_PREFIX@/bin/sh";
|
||||
}
|
||||
|
||||
inline boost::process::v1::filesystem::path shell_path(std::error_code &ec)
|
||||
{
|
||||
ec.clear();
|
||||
- return "/bin/sh";
|
||||
+ return "@TERMUX_PREFIX@/bin/sh";
|
||||
}
|
||||
|
||||
}}}}}
|
Reference in New Issue
Block a user