summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/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
parent54b1804c15a12957ea8edc8da91395f4c0582f03 (diff)
downloadmeta-openembedded-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')
-rw-r--r--meta-networking/recipes-support/netcat/netcat/obsolete_autoconf_macros.patch32
-rw-r--r--meta-networking/recipes-support/netcat/netcat_0.7.1.bb6
2 files changed, 36 insertions, 2 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 000000000..9b0ed58d6
--- /dev/null
+++ b/meta-networking/recipes-support/netcat/netcat/obsolete_autoconf_macros.patch
@@ -0,0 +1,32 @@
1Replace obsoleted AM_CONFIG_HEADER flagged by autoconf 2.69
2locale.h check was picked from old gettext macros but with new aclocal
3it picks the right 0.18 gettext.m4 and does not get the check
4therefore we explicitly add it to configure.ac
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10Index: netcat-0.7.1/configure.ac
11===================================================================
12--- netcat-0.7.1.orig/configure.ac 2013-01-18 01:30:01.928069739 -0800
13+++ netcat-0.7.1/configure.ac 2013-01-18 01:32:50.568073009 -0800
14@@ -26,8 +26,7 @@
15 AC_PREREQ(2.53)
16
17 dnl without this order in this file, automake will be confused!
18-AM_CONFIG_HEADER(config.h)
19-
20+AC_CONFIG_HEADERS(config.h)
21 dnl check for programs. first the c compiler.
22 AC_PROG_CC
23 AC_PROG_CPP
24@@ -56,7 +55,7 @@
25 AC_LBL_LIBRARY_NET
26
27 dnl Fortunately we have Solaris...
28-AC_CHECK_HEADERS(sys/sockio.h)
29+AC_CHECK_HEADERS(sys/sockio.h locale.h)
30
31 AC_CHECK_FUNCS(srandom random)
32 if test $ac_cv_func_srandom = no; then
diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
index c4f1f331a..8dacdecb4 100644
--- a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
+++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
@@ -4,9 +4,11 @@ HOMEPAGE = "http://netcat.sourceforge.net"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6 6
7PR = "r1" 7PR = "r2"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2" 9SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \
10 file://obsolete_autoconf_macros.patch \
11 "
10 12
11SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef" 13SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
12SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb" 14SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"