mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
Changes for APR 1.5.2 *) apr_escape: Correctly calculate the size of the returned string in apr_escape_path and set the correct return value in case we actually escape the string. [<aduryagin gmail.com>] PR 57230. *) apr_poll(cb): fix error paths returned values and leaks. [Yann Ylavic] *) apr_skiplist: Optimize the number of allocations by reusing pooled or malloc()ed nodes for the lifetime of the skiplist. [Yann Ylavic] *) apr_skiplist: Fix possible multiple-free() on the same value in apr_skiplist_remove_all(). [Yann Ylavic] *) apr_global_mutex/apr_proc_mutex: Resolve failures with the POSIX sem implementation in environments which receive signals. [Jeff Trawick] *) apr_skiplist: Fix potential corruption of skiplists leading to results or crashes. [Takashi Sato <takashi tks st>, Eric Covener] PR 56654.
28 lines
896 B
Text
28 lines
896 B
Text
--- apr-1.5.2/configure.orig 2015-04-25 12:04:18 UTC
|
|
+++ apr-1.5.2/configure
|
|
@@ -6624,11 +6624,7 @@ if test "x$apr_preload_done" != "xyes" ;
|
|
apr_lock_method="USE_FLOCK_SERIALIZE"
|
|
fi
|
|
|
|
- if test -x /sbin/sysctl; then
|
|
- os_version=`/sbin/sysctl -n kern.osreldate`
|
|
- else
|
|
- os_version=000000
|
|
- fi
|
|
+ os_version="OSVERSION"
|
|
# 502102 is when libc_r switched to libpthread (aka libkse).
|
|
if test $os_version -ge "502102"; then
|
|
apr_cv_pthreads_cflags="none"
|
|
@@ -18841,11 +18837,7 @@ fi
|
|
# comparisons.
|
|
case $host in
|
|
*freebsd*)
|
|
- if test -x /sbin/sysctl; then
|
|
- os_version=`/sbin/sysctl -n kern.osreldate`
|
|
- else
|
|
- os_version=000000
|
|
- fi
|
|
+ os_version="OSVERSION"
|
|
;;
|
|
*linux*)
|
|
os_major=`uname -r | sed -e 's/\([1-9][0-9]*\)\..*/\1/'`
|