Wed, 08 Feb 2012 20:07:00 +0200
Update version, adapt patch, correct PID writing, correct build on newer
FreeBSD releases, and most importantly introduce new patch to try to
avoid segfault caused by multiple network interfaces with the same (or
no) address. This is common when configuring bridges and tunnels.
michael@428 | 1 | Index: configure |
michael@428 | 2 | --- configure.orig 2009-07-12 09:19:15 +0200 |
michael@428 | 3 | +++ configure 2010-01-07 18:10:28 +0100 |
michael@428 | 4 | @@ -2821,7 +2821,7 @@ |
michael@428 | 5 | # Check whether --enable-expert-mode was given. |
michael@428 | 6 | if test "${enable_expert_mode+set}" = set; then |
michael@428 | 7 | enableval=$enable_expert_mode; |
michael@428 | 8 | - ac_enable_expert_mode=yes |
michael@428 | 9 | + ac_enable_expert_mode=$enableval |
michael@13 | 10 | |
michael@428 | 11 | else |
michael@13 | 12 | |
michael@428 | 13 | @@ -4502,13 +4502,7 @@ |
michael@428 | 14 | if $ac_preproc_ok; then |
michael@428 | 15 | : |
michael@428 | 16 | else |
michael@428 | 17 | - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
michael@428 | 18 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
michael@428 | 19 | -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
michael@428 | 20 | -See \`config.log' for more details." >&5 |
michael@428 | 21 | -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
michael@428 | 22 | -See \`config.log' for more details." >&2;} |
michael@428 | 23 | - { (exit 1); exit 1; }; }; } |
michael@428 | 24 | + : |
michael@428 | 25 | fi |
michael@13 | 26 | |
michael@428 | 27 | ac_ext=c |
michael@428 | 28 | @@ -6170,13 +6164,7 @@ |
michael@428 | 29 | if $ac_preproc_ok; then |
michael@428 | 30 | : |
michael@428 | 31 | else |
michael@428 | 32 | - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
michael@428 | 33 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
michael@428 | 34 | -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
michael@428 | 35 | -See \`config.log' for more details." >&5 |
michael@428 | 36 | -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
michael@428 | 37 | -See \`config.log' for more details." >&2;} |
michael@428 | 38 | - { (exit 1); exit 1; }; }; } |
michael@428 | 39 | + : |
michael@428 | 40 | fi |
michael@13 | 41 | |
michael@428 | 42 | ac_ext=c |
michael@428 | 43 | @@ -6901,13 +6889,7 @@ |
michael@428 | 44 | if $ac_preproc_ok; then |
michael@428 | 45 | : |
michael@428 | 46 | else |
michael@428 | 47 | - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
michael@428 | 48 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
michael@428 | 49 | -{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
michael@428 | 50 | -See \`config.log' for more details." >&5 |
michael@428 | 51 | -$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
michael@428 | 52 | -See \`config.log' for more details." >&2;} |
michael@428 | 53 | - { (exit 1); exit 1; }; }; } |
michael@428 | 54 | + : |
michael@428 | 55 | fi |
michael@13 | 56 | |
michael@428 | 57 | ac_ext=c |
michael@13 | 58 | Index: gnu.h.in |
michael@428 | 59 | --- gnu.h.in.orig 2009-06-18 21:56:25 +0200 |
michael@428 | 60 | +++ gnu.h.in 2010-01-07 18:10:08 +0100 |
michael@428 | 61 | @@ -59,15 +59,6 @@ |
michael@13 | 62 | @TYPEDEF_UINT32_T@ |
michael@13 | 63 | @TYPEDEF_UINT64_T@ |
michael@13 | 64 | |
michael@13 | 65 | -#if defined(__GNUC__) |
michael@13 | 66 | -# if !defined(__GNUC_PREREQ__) |
michael@13 | 67 | -# define __GNUC_PREREQ__(maj, min) (__GNUC__ > (maj) || __GNUC__ == (maj) && __GNUC_MINOR__ >= (min)) |
michael@13 | 68 | -# endif |
michael@13 | 69 | -#else |
michael@13 | 70 | -# define __GNUC__ 0 |
michael@13 | 71 | -# define __GNUC_PREREQ__(maj, min) 0 |
michael@13 | 72 | -#endif |
michael@13 | 73 | - |
michael@13 | 74 | /* WARNING: overriding this value is dangerous; some assembler routines |
michael@13 | 75 | * make assumptions about the size set by the configure script |
michael@13 | 76 | */ |