fixes compile for ldap module in php5
[packages.git] / net / weechat / patches / 01-cross_compiling.patch
1 diff -urN weechat-0.2.0/configure weechat-0.2.0.new/configure
2 --- weechat-0.2.0/configure     2006-08-19 13:22:12.000000000 +0200
3 +++ weechat-0.2.0.new/configure 2006-09-17 13:51:42.000000000 +0200
4 @@ -29801,8 +29801,7 @@
5    { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6  See \`config.log' for more details." >&5
7  echo "$as_me: error: cannot run test program while cross compiling
8 -See \`config.log' for more details." >&2;}
9 -   { (exit 1); exit 1; }; }
10 +See \`config.log' for more details." >&2;} }
11  else
12    cat >conftest.$ac_ext <<_ACEOF
13  /* confdefs.h.  */
14 @@ -29859,7 +29858,6 @@
15  echo "${ECHO_T}yes" >&6; }
16    fi
17  fi
18 -
19  if test "x$iconv_found" = "xno" ; then
20     { { echo "$as_me:$LINENO: error:
21  *** Iconv headers and/or libraries couldn't be found in your system.
22 @@ -29868,8 +29866,7 @@
23  echo "$as_me: error:
24  *** Iconv headers and/or libraries couldn't be found in your system.
25  *** Try to install them with your software package manager.
26 -*** WeeChat can't be built without Iconv support." >&2;}
27 -   { (exit 1); exit 1; }; }
28 +*** WeeChat can't be built without Iconv support." >&2;} }
29  fi
30  
31  # ------------------------------------------------------------------------------