Skip to content

Commit d5c7f3b

Browse files
committed
ext/standard: enabling feature detection auxiliary vector on OpenBSD.
close gh-15175
1 parent fcd4d39 commit d5c7f3b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ PHP NEWS
5858

5959
- Standard:
6060
. Unserializing the uppercase 'S' tag is now deprecated. (timwolla)
61+
. Enables crc32 auxiliary detection on OpenBSD. (David Carlier)
6162

6263
- Streams:
6364
. Implemented GH-15155 (Stream context is lost when custom stream wrapper is

ext/standard/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ dnl
346346

347347
PHP_CHECK_FUNC(res_search, resolv, socket)
348348

349-
AC_CHECK_FUNCS([posix_spawn_file_actions_addchdir_np])
349+
AC_CHECK_FUNCS([posix_spawn_file_actions_addchdir_np elf_aux_info])
350350

351351
dnl
352352
dnl Obsolete check for strptime() declaration. The strptime, where available,

ext/standard/crc32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# include <asm/hwcap.h>
2929
# elif defined(__APPLE__)
3030
# include <sys/sysctl.h>
31-
# elif defined(__FreeBSD__)
31+
# elif defined(HAVE_ELF_AUX_INFO)
3232
# include <sys/auxv.h>
3333

3434
static unsigned long getauxval(unsigned long key) {

0 commit comments

Comments
 (0)