Patchwork [meta-oe,02/14] libdivecomputer: added missing AM_PROG_AR

login
register
mail settings
Submitter Marcin Juszkiewicz
Date Oct. 9, 2012, 11:11 a.m.
Message ID <1349781099-25754-2-git-send-email-marcin.juszkiewicz@linaro.org>
Download mbox | patch
Permalink /patch/37999/
State Accepted
Headers show

Comments

Marcin Juszkiewicz - Oct. 9, 2012, 11:11 a.m.
Change is present upstream for long time. We should consider update of
recipe.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 .../libdivecomputer/files/fix-ar.patch               |   18 ++++++++++++++++++
 .../libdivecomputer/libdivecomputer_git.bb           |    5 ++++-
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-extended/libdivecomputer/files/fix-ar.patch

Patch

diff --git a/meta-oe/recipes-extended/libdivecomputer/files/fix-ar.patch b/meta-oe/recipes-extended/libdivecomputer/files/fix-ar.patch
new file mode 100644
index 0000000..cc3f5d4
--- /dev/null
+++ b/meta-oe/recipes-extended/libdivecomputer/files/fix-ar.patch
@@ -0,0 +1,18 @@ 
+---
+ configure.ac |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- git.orig/configure.ac
++++ git/configure.ac
+@@ -24,10 +24,11 @@ LT_INIT([win32-dll])
+ LT_PROG_RC
+ 
+ # Checks for programs.
+ AC_PROG_CC
+ AC_PROG_CC_C99
++AM_PROG_AR
+ 
+ # Enable automake silent build rules.
+ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+ 
+ # Checks for native Windows.
diff --git a/meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb b/meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb
index ac609a9..1154dc0 100644
--- a/meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb
+++ b/meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb
@@ -9,8 +9,11 @@  DEPENDS = "libusb1"
 inherit autotools pkgconfig
 
 PV = "0.0.0"
+PR = "r1"
+
 SRCREV = "b7a6be15ca58cc8f89fbc8fa1a4c840e13d51092"
-SRC_URI = "git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer"
+SRC_URI = "git://libdivecomputer.git.sourceforge.net/gitroot/libdivecomputer/libdivecomputer \
+file://fix-ar.patch"
 S = "${WORKDIR}/git"