ports/devel/apr1/files/patch-apr-1.7.0_configure
Jochen Neumeister cc867e3fa0 Update to 1.7.0
*) apr_dir_read: [Unix] Dropped the preference of the dirread_r() flavor
   for dirread(), because the former is both deprecated and unneeded.
   [Yann Ylavic, William Rowe]

*) apr_file_info: [Win32 only] Treat only "name surrogate" reparse points
   as symlinks, and not other reparse tag types. PR47630
   [Oleg Liatte <olegliatte gmail.com>]

*) Test %ld vs. %lld to avoid compiler emits using APR_OFF_T_FMT, in the
   case of apparently equivilant long and long long types. [William Rowe]

*) Recognize APPLE predefined macros as equivilant to DARWIN. [Jim Jagielski]

*) Signals: Allow handling of SIGUSR2 in apr_signal_thread. [Yann Ylavic]

*) Atomics: Support for 64bit ints. [Jim Jagielski]

*) Add the apr_encode_* API that implements RFC4648 and RFC7515
   compliant BASE64, BASE64URL, BASE32, BASE32HEX and BASE16
   encode/decode functions. [Graham Leggett]

*) rand: Use arc4random_buf() on BSD platforms and getrandom() on Linux,
   when available. [Christian Weisgerber <naddy openbsd.org, Yann Ylavic]

*) Add apr_sockaddr_zone_set, apr_sockaddr_zone_set to set and retrieve
   the zone for link-local IPv6 addresses.  [Joe Orton]

*) apr_sockaddr_equal: Compare link-local IPv6 addresses with different
   zones as not equal.  [Joe Orton]

*) apr_sockaddr_ip_getbuf, apr_sockaddr_ip_get: Append "%zone" for
   IPv6 link-local addresses.  [Joe Orton]

*) Locks: add a --disable-timedlocks config option in case users
   encounter more platforms where it fails [Nick Kew].

*) apr_allocator, apr_pools: Add apr_allocator_page_size() and
   apr_allocator_min_order_set() to respectively get the (system's) page size
   in use and set the minimum allocation size for an allocator (expressed in
   2^order pages).  [Yann Ylavic]

*) locks: provide portable implementations of timedlock()s for
   posix-sems, sysv-sems and pthreads for those platforms that
   lack native versions (eg: OSX/macOS). [Jim Jagielski]

*) locks: Introduce apr_{thread,proc,global}_mutex_timedlock().
   [Yann Ylavic]

- Add PORTVERSION (with svn mv) to relevant patches to make it easier for maintaining

PR:		239382
Sponsored by:	Netzkommune GmbH
Differential Revision:	https://reviews.freebsd.org/D21073
2019-08-06 08:58:16 +00:00

28 lines
896 B
Text

--- apr-1.7.0/configure.orig 2015-04-25 12:04:18 UTC
+++ apr-1.7.0/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/'`