Correct false detection of timer functions in libc(3).

Thu, 04 Oct 2012 20:35:57 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:35:57 +0200
changeset 720
7cbb7c0c025b
parent 719
c1c586743518
child 721
63c8527d60f4

Correct false detection of timer functions in libc(3).

ntp/ntp.spec file | annotate | diff | comparison | revisions
     1.1 --- a/ntp/ntp.spec	Thu Oct 04 20:34:54 2012 +0200
     1.2 +++ b/ntp/ntp.spec	Thu Oct 04 20:35:57 2012 +0200
     1.3 @@ -37,7 +37,7 @@
     1.4  Group:        Network
     1.5  License:      BSD-style
     1.6  Version:      %{V_major}.%{V_minor}.%{V_micro}
     1.7 -Release:      20111226
     1.8 +Release:      20120800
     1.9  
    1.10  #   package options
    1.11  %option       with_fsl     yes
    1.12 @@ -87,6 +87,9 @@
    1.13  %prep
    1.14      %setup -q
    1.15      %setup -q -T -D -a 1
    1.16 +    %{l_shtool} subst \
    1.17 +        -e 's;#  if defined(HAVE_TIMER_CREATE) && \(defined(HAVE_TIMER_SETTIME)\);#if \1;g' \
    1.18 +        ntpd/ntp_timer.c
    1.19  
    1.20  %build
    1.21      #   configure program

mercurial