# HG changeset patch # User Michael Schloh von Bennewitz # Date 1344377441 -7200 # Node ID 87f4014366d2ade115d3b927f9dbedcfef96c75b # Parent aa99e75f2e06e3ea78d84880f112f5b40d45cb4f Correct seemingly SVR5 pthread specific source flaw, more specifically solve: In function 'proc_mutex_choose_method', 'mutex_proc_pthread_methods' undeclared in locks/unix/proc_mutex.c. 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}