[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH 1/2] lrzsz: fix autoheader warning due to missing AC_DEFINE template
From:       ross.burton () intel ! com (Ross Burton)
Date:       2014-05-31 0:11:54
Message-ID: 1401495115-25542-1-git-send-email-ross.burton () intel ! com
[Download RAW message or body]

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/acdefine.patch |   19 +++++++++++++++++++
 meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb             |    1 +
 2 files changed, 20 insertions(+)
 create mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/acdefine.patch

diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/acdefine.patch \
b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/acdefine.patch new file mode 100644
index 0000000..682cf41
--- /dev/null
+++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/acdefine.patch
@@ -0,0 +1,19 @@
+Add a description to the AC_DEFINE for LOCALEDIR so that it appears in config.h
+and silences a fatal warning.
+
+Upstream-Status:Pending
+Signed-off-by: Ross Burton <ross.burton at intel.com>
+
+diff --git a/configure.in b/configure.in
+index c10460c..aa20263 100644
+--- a/configure.in
++++ b/configure.in
+@@ -258,7 +258,7 @@ AC_SUBST(LIBS)
+ 
+ AM_GNU_GETTEXT
+ 
+-AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/$DATADIRNAME")
++AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/$DATADIRNAME",[locale directory])
+ 
+ AC_OUTPUT([Makefile intl/Makefile lib/Makefile testsuite/Makefile  m4/Makefile \
+ man/Makefile po/Makefile.in src/Makefile debian/rules Specfile systype \
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb \
b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb index 0147b3d..e0ce57d 100644
--- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
+++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
@@ -16,6 +16,7 @@ SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
 	   file://autotools.patch \
 	   file://makefile.patch \
 	   file://gettext.patch \
+	   file://acdefine.patch \
 	   file://lrzsz_fix_for_automake-1.12.patch \
            file://lrzsz-check-locale.h.patch \
            "
-- 
1.7.10.4


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic