Rename symbol for platforms already supplying md5_block_data_order(3).

Sat, 21 Feb 2009 16:45:11 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 21 Feb 2009 16:45:11 +0100
changeset 109
7fdb96a64ea9
parent 108
79a5b329670a
child 110
b70af19a3465

Rename symbol for platforms already supplying md5_block_data_order(3).

nmap/nmap.spec file | annotate | diff | comparison | revisions
     1.1 --- a/nmap/nmap.spec	Sat Feb 21 16:39:55 2009 +0100
     1.2 +++ b/nmap/nmap.spec	Sat Feb 21 16:45:11 2009 +0100
     1.3 @@ -32,7 +32,7 @@
     1.4  Group:        Mapping
     1.5  License:      GPL
     1.6  Version:      4.76
     1.7 -Release:      20080912
     1.8 +Release:      20090106
     1.9  
    1.10  #   list of sources
    1.11  Source0:      http://nmap.org/dist/nmap-%{version}.tgz
    1.12 @@ -74,6 +74,10 @@
    1.13          -e 's;\(socklen_t int\);\1 size_t;g' \
    1.14          aclocal.m4 \
    1.15          configure
    1.16 +    %{l_shtool} subst \
    1.17 +        -e 's;\(md5_block_data_order\);nmap_\1;g' \
    1.18 +        nbase/md32_common.h \
    1.19 +        nbase/nbase_md5.c
    1.20  
    1.21  %build
    1.22      cppflags="%{l_cppflags}"

mercurial