Fix serverel gcc 4.3 related build failures.
[openwrt/svn-archive/archive.git] / net / weechat / patches / 001-cross_compiling.patch
1 Index: weechat-0.2.5/configure
2 ===================================================================
3 --- weechat-0.2.5.orig/configure 2007-06-30 17:15:36.000000000 +0200
4 +++ weechat-0.2.5/configure 2007-06-30 17:15:36.000000000 +0200
5 @@ -29349,8 +29349,7 @@
6 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7 See \`config.log' for more details." >&5
8 echo "$as_me: error: cannot run test program while cross compiling
9 -See \`config.log' for more details." >&2;}
10 - { (exit 1); exit 1; }; }
11 +See \`config.log' for more details." >&2;} }
12 else
13 cat >conftest.$ac_ext <<_ACEOF
14 /* confdefs.h. */
15 @@ -29407,7 +29406,6 @@
16 echo "${ECHO_T}yes" >&6; }
17 fi
18 fi
19 -
20 if test "x$iconv_found" = "xno" ; then
21 { { echo "$as_me:$LINENO: error:
22 *** Iconv headers and/or libraries couldn't be found in your system.
23 @@ -29416,8 +29414,7 @@
24 echo "$as_me: error:
25 *** Iconv headers and/or libraries couldn't be found in your system.
26 *** Try to install them with your software package manager.
27 -*** WeeChat can't be built without Iconv support." >&2;}
28 - { (exit 1); exit 1; }; }
29 +*** WeeChat can't be built without Iconv support." >&2;} }
30 fi
31
32 # ------------------------------------------------------------------------------