CVSROOT:        /cvs
Module name:    ports
Changes by:     j...@cvs.openbsd.org    2023/07/24 14:25:32

Modified files:
        lang/php/8.1/patches: patch-configure_ac 
        lang/php/8.2/patches: patch-configure_ac 

Log message:
Stop requiring libatomic on riscv64

Drop autoconf goo added for gcc <= 12.2, which falls back to an
__atomic_exchange_1 library call for atomic ops on bytes on riscv64.
At least clang-13 doesn't need this, but the AC_CHECK_LIB() autoconf
check is too naive to notice.  Similar to AC_SEARCH_LIBS(),
PHP_CHECK_FUNC() only calls PHP_ADD_LIBRARY() if an additional library
is needed to resolve the looked up symbol..

Upstream original PR: https://github.com/php/php-src/pull/11321

ok sthen@ (maintainer)

Reply via email to