components/nmap/patches/1.configure.patch
changeset 146 8e22ba234817
equal deleted inserted replaced
145:1e2390f5555e 146:8e22ba234817
       
     1 --- nmap-5.21/nbase/configure.~1~	Thu Aug 13 14:54:55 2009
       
     2 +++ nmap-5.21/nbase/configure	Mon Mar 21 15:32:17 2011
       
     3 @@ -1,4 +1,4 @@
       
     4 -#! /bin/sh
       
     5 +#! /bin/bash
       
     6  # Guess values for system-dependent variables and create Makefiles.
       
     7  # Generated by GNU Autoconf 2.63.
       
     8  #
       
     9 @@ -589,7 +589,7 @@
       
    10  subdirs=
       
    11  MFLAGS=
       
    12  MAKEFLAGS=
       
    13 -SHELL=${CONFIG_SHELL-/bin/sh}
       
    14 +SHELL=${CONFIG_SHELL-/bin/bash}
       
    15  
       
    16  # Identity of this package.
       
    17  PACKAGE_NAME=
       
    18 @@ -657,7 +657,9 @@
       
    19  CPPFLAGS
       
    20  LDFLAGS
       
    21  CFLAGS
       
    22 +CXXFLAGS
       
    23  CC
       
    24 +CXX
       
    25  target_alias
       
    26  host_alias
       
    27  build_alias
       
    28 @@ -706,7 +708,9 @@
       
    29  host_alias
       
    30  target_alias
       
    31  CC
       
    32 +CXX
       
    33  CFLAGS
       
    34 +CXXFLAGS
       
    35  LDFLAGS
       
    36  LIBS
       
    37  CPPFLAGS
       
    38 @@ -748,7 +752,7 @@
       
    39  datadir='${datarootdir}'
       
    40  sysconfdir='${prefix}/etc'
       
    41  sharedstatedir='${prefix}/com'
       
    42 -localstatedir='${prefix}/var'
       
    43 +localstatedir=
       
    44  includedir='${prefix}/include'
       
    45  oldincludedir='/usr/include'
       
    46  docdir='${datarootdir}/doc/${PACKAGE}'
       
    47 @@ -3916,6 +3920,10 @@
       
    48  
       
    49  	#include <stdlib.h>
       
    50  
       
    51 +#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
       
    52 +#error "GNU __attribute__ extension not suported "
       
    53 +#endif
       
    54 +
       
    55  	static void foo(void) __attribute__ ((noreturn));
       
    56  
       
    57  	static void