mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
asio: bump to version 1.36.0, update boost, fix build flags (#12794)
This commit is contained in:
@@ -2,12 +2,12 @@ SUMMARY="Asynchronous Network Library"
|
||||
DESCRIPTION="Asio is a cross-platform C++ library for network and low-level I/O programming \
|
||||
that provides developers with a consistent asynchronous model using a modern C++ approach"
|
||||
HOMEPAGE="https://github.com/chriskohlhoff/asio/"
|
||||
COPYRIGHT="2003-2023 Christopher M. Kohlhoff"
|
||||
COPYRIGHT="2003-2025 Christopher M. Kohlhoff"
|
||||
LICENSE="Boost v1.0"
|
||||
REVISION="1"
|
||||
ASIO_VERSION=`echo $portVersion | sed 's/\./-/g'`
|
||||
SOURCE_URI="https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-$ASIO_VERSION.tar.gz"
|
||||
CHECKSUM_SHA256="530540f973498c2d297771af1bc852f69b27509bbb56bc7ac3309c928373286f"
|
||||
CHECKSUM_SHA256="0310a76b27e1854f09f696b30de57dc490b5e1b17faed1eb8c9a2891f956e52b"
|
||||
SOURCE_DIR="asio-asio-$ASIO_VERSION"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -26,8 +26,8 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_coroutine$secondaryArchSuffix >= 1.83.0
|
||||
devel:libboost_regex$secondaryArchSuffix >= 1.83.0
|
||||
devel:libboost_coroutine$secondaryArchSuffix >= 1.88.0
|
||||
devel:libboost_regex$secondaryArchSuffix >= 1.88.0
|
||||
# devel:libssl$secondaryArchSuffix >= 3
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
@@ -42,7 +42,8 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export CXXFLAGS="_DEFAULT_SOURCE"
|
||||
export CXXFLAGS="-D_DEFAULT_SOURCE -O2"
|
||||
export LIBS="-lbsd"
|
||||
cd asio
|
||||
autoupdate
|
||||
aclocal
|
||||
@@ -60,7 +61,37 @@ INSTALL()
|
||||
fixPkgconfig
|
||||
}
|
||||
|
||||
TEST() {
|
||||
TEST()
|
||||
{
|
||||
# examples:
|
||||
# ============================================================================
|
||||
# Testsuite summary for asio 1.36.0
|
||||
# ============================================================================
|
||||
# TOTAL: 171
|
||||
# PASS: 171
|
||||
# SKIP: 0
|
||||
# XFAIL: 0
|
||||
# FAIL: 0
|
||||
# XPASS: 0
|
||||
# ERROR: 0
|
||||
# ============================================================================
|
||||
|
||||
# unit tests:
|
||||
# ============================================================================
|
||||
# Testsuite summary for asio 1.36.0
|
||||
# ============================================================================
|
||||
# TOTAL: 170
|
||||
# PASS: 167
|
||||
# SKIP: 0
|
||||
# XFAIL: 0
|
||||
# FAIL: 3
|
||||
# XPASS: 0
|
||||
# ERROR: 0
|
||||
# ============================================================================
|
||||
# FAIL: unit/ip/multicast
|
||||
# FAIL: unit/ip/v6_only
|
||||
# FAIL: unit/socket_base
|
||||
|
||||
cd asio
|
||||
make check $jobArgs
|
||||
}
|
||||
Reference in New Issue
Block a user