Просмотр исходного кода

on Solaris 2.6 the last argument to recvfrom(2) is a size_t *, so test using this type as well

Michael Schloh von Bennewitz 21 лет назад
Родитель
Сommit
10675edeb1
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      nmap/nmap.spec

+ 5 - 1
nmap/nmap.spec

@@ -34,7 +34,7 @@ Class:        BASE
 Group:        Network
 License:      GPL
 Version:      3.50
-Release:      20040207
+Release:      20040603
 
 #   list of sources
 Source0:      http://www.insecure.org/nmap/dist/nmap-%{version}.tgz
@@ -73,6 +73,10 @@ AutoReqProv:  no
         -e 's;/usr/local/;%{l_prefix}/;g' \
         -e 's;$LIBS -lnsock;-lnsock $LIBS;g' \
         configure */configure
+    %{l_shtool} subst \
+        -e 's;\(socklen_t int\);\1 size_t;g' \
+        aclocal.m \
+        configure
 
 %build
     cppflags=""