Correct seemingly SVR5 pthread specific source flaw, more specifically

Wed, 08 Aug 2012 00:10:41 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Aug 2012 00:10:41 +0200
changeset 486
87f4014366d2
parent 485
aa99e75f2e06
child 487
76a25ceeb6bf

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.

apr/apr.spec file | annotate | diff | comparison | revisions
     1.1 --- a/apr/apr.spec	Wed Aug 08 00:07:34 2012 +0200
     1.2 +++ b/apr/apr.spec	Wed Aug 08 00:10:41 2012 +0200
     1.3 @@ -36,7 +36,7 @@
     1.4  Group:        Libraries
     1.5  License:      Apache
     1.6  Version:      %{V_apr}
     1.7 -Release:      20120214
     1.8 +Release:      20120800
     1.9  
    1.10  #   package options
    1.11  %option       with_threads  no
    1.12 @@ -113,6 +113,9 @@
    1.13      %setup -q -c
    1.14      %setup -q -D -T -a 1
    1.15      %patch -p0
    1.16 +    %{l_shtool} subst \
    1.17 +        -e 's;APR_USE_PROC_PTHREAD_SERIALIZE;APR_HAS_PROC_PTHREAD_SERIALIZE;' \
    1.18 +        apr-%{V_apr}/locks/unix/proc_mutex.c
    1.19  
    1.20  %build
    1.21      ( cd apr-%{V_apr}

mercurial