diff --git a/NEWS b/NEWS index 1fdc3f7c9e8..3562198d0e7 100644 --- a/NEWS +++ b/NEWS @@ -58,6 +58,7 @@ PHP NEWS - Standard: . Unserializing the uppercase 'S' tag is now deprecated. (timwolla) + . Enables crc32 auxiliary detection on OpenBSD. (David Carlier) - Streams: . Implemented GH-15155 (Stream context is lost when custom stream wrapper is diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 314151726d1..acd32d6f14b 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -346,7 +346,7 @@ dnl PHP_CHECK_FUNC(res_search, resolv, socket) -AC_CHECK_FUNCS([posix_spawn_file_actions_addchdir_np]) +AC_CHECK_FUNCS([posix_spawn_file_actions_addchdir_np elf_aux_info]) dnl dnl Obsolete check for strptime() declaration. The strptime, where available, diff --git a/ext/standard/crc32.c b/ext/standard/crc32.c index 9b598489d3f..d9ccd78feb5 100644 --- a/ext/standard/crc32.c +++ b/ext/standard/crc32.c @@ -28,7 +28,7 @@ # include # elif defined(__APPLE__) # include -# elif defined(__FreeBSD__) +# elif defined(HAVE_ELF_AUX_INFO) # include static unsigned long getauxval(unsigned long key) {