aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/netcat/netcat
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-01-18 01:39:18 -0800
committerJoe MacDonald <joe.macdonald@windriver.com>2013-01-18 07:35:28 -0500
commit26debc05d8b1b9d06d66612bb52de36e3c37f09a (patch)
treedd791e26657420145ba27e86de5a47738bf8f457 /meta-networking/recipes-support/netcat/netcat
parent54b1804c15a12957ea8edc8da91395f4c0582f03 (diff)
downloadmeta-openembedded-contrib-26debc05d8b1b9d06d66612bb52de36e3c37f09a.tar.gz
netcat_0.7.1.bb: Fix build with new versions of autotools
autoconf and automake got updates which need these changes see patch header for details Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Diffstat (limited to 'meta-networking/recipes-support/netcat/netcat')
-rw-r--r--meta-networking/recipes-support/netcat/netcat/obsolete_autoconf_macros.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/netcat/netcat/obsolete_autoconf_macros.patch b/meta-networking/recipes-support/netcat/netcat/obsolete_autoconf_macros.patch
new file mode 100644
index 0000000000..9b0ed58d66
--- /dev/null
+++ b/meta-networking/recipes-support/netcat/netcat/obsolete_autoconf_macros.patch
@@ -0,0 +1,32 @@
+Replace obsoleted AM_CONFIG_HEADER flagged by autoconf 2.69
+locale.h check was picked from old gettext macros but with new aclocal
+it picks the right 0.18 gettext.m4 and does not get the check
+therefore we explicitly add it to configure.ac
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: netcat-0.7.1/configure.ac
+===================================================================
+--- netcat-0.7.1.orig/configure.ac 2013-01-18 01:30:01.928069739 -0800
++++ netcat-0.7.1/configure.ac 2013-01-18 01:32:50.568073009 -0800
+@@ -26,8 +26,7 @@
+ AC_PREREQ(2.53)
+
+ dnl without this order in this file, automake will be confused!
+-AM_CONFIG_HEADER(config.h)
+-
++AC_CONFIG_HEADERS(config.h)
+ dnl check for programs. first the c compiler.
+ AC_PROG_CC
+ AC_PROG_CPP
+@@ -56,7 +55,7 @@
+ AC_LBL_LIBRARY_NET
+
+ dnl Fortunately we have Solaris...
+-AC_CHECK_HEADERS(sys/sockio.h)
++AC_CHECK_HEADERS(sys/sockio.h locale.h)
+
+ AC_CHECK_FUNCS(srandom random)
+ if test $ac_cv_func_srandom = no; then