diff -r aa99e75f2e06 -r 87f4014366d2 apr/apr.spec --- a/apr/apr.spec Wed Aug 08 00:07:34 2012 +0200 +++ b/apr/apr.spec Wed Aug 08 00:10:41 2012 +0200 @@ -36,7 +36,7 @@ Group: Libraries License: Apache Version: %{V_apr} -Release: 20120214 +Release: 20120800 # package options %option with_threads no @@ -113,6 +113,9 @@ %setup -q -c %setup -q -D -T -a 1 %patch -p0 + %{l_shtool} subst \ + -e 's;APR_USE_PROC_PTHREAD_SERIALIZE;APR_HAS_PROC_PTHREAD_SERIALIZE;' \ + apr-%{V_apr}/locks/unix/proc_mutex.c %build ( cd apr-%{V_apr}