Hi Jiri,
On Thu, Mar 28, 2013 at 11:04:08PM +0100, Jiri Slachta wrote:
> Index: net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch
> ===================================================================
> --- net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch
> (revision 36140)
> +++ net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch
> (working copy)
> @@ -1,12 +1,11 @@
> --- a/configure
> +++ b/configure
> -@@ -24043,9 +24043,6 @@ $as_echo "$ac_try_echo") >&5
> - { $as_echo "$as_me:$LINENO: result: yes" >&5
> +@@ -16353,7 +16353,7 @@
> + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
> $as_echo "yes" >&6; }
>
> --cat >>confdefs.h <<\_ACEOF
> --#define HAVE_RES_NINIT 1
> --_ACEOF
> +-$as_echo "#define HAVE_RES_NINIT 1" >>confdefs.h
This should be enough.
> ++#$as_echo "#define HAVE_RES_NINIT 1" >>confdefs.h
So don't comment lines that you don't want to be executed. Just remove
the entire line.
Other changes are ok. Please send v2 of this patch.
Luka
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel