Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-networking][PATCH] netcat_0.7.1.bb: Fix build with new versions of autotools
@ 2013-01-18  9:39 Khem Raj
  2013-01-18 12:35 ` Joe MacDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2013-01-18  9:39 UTC (permalink / raw)
  To: openembedded-devel

autoconf and automake got updates which need these changes
see patch header for details

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../netcat/netcat/obsolete_autoconf_macros.patch   |   32 ++++++++++++++++++++
 .../recipes-support/netcat/netcat_0.7.1.bb         |    6 ++--
 2 files changed, 36 insertions(+), 2 deletions(-)
 create mode 100644 meta-networking/recipes-support/netcat/netcat/obsolete_autoconf_macros.patch

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 0000000..9b0ed58
--- /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
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 c4f1f33..8dacdec 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"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-PR = "r1"
+PR = "r2"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
+SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \
+           file://obsolete_autoconf_macros.patch \
+          "
 
 SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
 SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-networking][PATCH] netcat_0.7.1.bb: Fix build with new versions of autotools
  2013-01-18  9:39 [meta-networking][PATCH] netcat_0.7.1.bb: Fix build with new versions of autotools Khem Raj
@ 2013-01-18 12:35 ` Joe MacDonald
  0 siblings, 0 replies; 2+ messages in thread
From: Joe MacDonald @ 2013-01-18 12:35 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2975 bytes --]

[[oe] [meta-networking][PATCH] netcat_0.7.1.bb: Fix build with new versions of autotools] On 13.01.18 (Fri 01:39) Khem Raj wrote:

> autoconf and automake got updates which need these changes
> see patch header for details
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

Merged, thanks.
-J.

> ---
>  .../netcat/netcat/obsolete_autoconf_macros.patch   |   32 ++++++++++++++++++++
>  .../recipes-support/netcat/netcat_0.7.1.bb         |    6 ++--
>  2 files changed, 36 insertions(+), 2 deletions(-)
>  create mode 100644 meta-networking/recipes-support/netcat/netcat/obsolete_autoconf_macros.patch
> 
> 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 0000000..9b0ed58
> --- /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
> 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 c4f1f33..8dacdec 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"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>  
> -PR = "r1"
> +PR = "r2"
>  
> -SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2"
> +SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \
> +           file://obsolete_autoconf_macros.patch \
> +          "
>  
>  SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
>  SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
-- 
-Joe MacDonald.
:wq

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-18 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18  9:39 [meta-networking][PATCH] netcat_0.7.1.bb: Fix build with new versions of autotools Khem Raj
2013-01-18 12:35 ` Joe MacDonald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox