summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-07-26 17:01:31 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2014-08-22 10:17:21 -0300
commita69ee0b84fff4491eeadfc12a59a814ef05485df (patch)
treed81d7cd2a9680bad7772c7a063a45a4611fba711
parentc8b533f68fcf9f6b13375eed9bc74a099ec1c08b (diff)
downloadmeta-fsl-arm-a69ee0b84fff4491eeadfc12a59a814ef05485df.tar.gz
directfb-examples: Fix building with new autoconf
This fixes the following build error: ,---- | .../configure: line 4229: syntax error near unexpected token `DIRECTFB,' | .../configure: line 4229: `PKG_CHECK_MODULES(DIRECTFB, directfb >= $DIRECTFB_REQUIRED_VERSION, WATER=`$PKG_CONFIG --variable=water directfb` ,' `---- Change-Id: Ibd5807b1497ff83b4241cd53f97d18b62a0cb2df Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-graphics/directfb/directfb-examples-1.6.0/configure.in-Fix-string-argument-syntax.patch28
-rw-r--r--recipes-graphics/directfb/directfb-examples_1.6.0.bb7
2 files changed, 31 insertions, 4 deletions
diff --git a/recipes-graphics/directfb/directfb-examples-1.6.0/configure.in-Fix-string-argument-syntax.patch b/recipes-graphics/directfb/directfb-examples-1.6.0/configure.in-Fix-string-argument-syntax.patch
new file mode 100644
index 0000000..0717ea6
--- /dev/null
+++ b/recipes-graphics/directfb/directfb-examples-1.6.0/configure.in-Fix-string-argument-syntax.patch
@@ -0,0 +1,28 @@
1From 88077ed156a714f32bb408f422278d61611ffd41 Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Sat, 26 Jul 2014 16:57:46 -0300
4Subject: [PATCH] configure.in: Fix string argument syntax
5
6Upstream-Status: Submitted
7
8Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9---
10 configure.in | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/configure.in b/configure.in
14index bfe1b82..e939bbd 100644
15--- a/configure.in
16+++ b/configure.in
17@@ -65,7 +65,7 @@ fi)
18
19 DIRECTFB_REQUIRED_VERSION=1.4.14
20
21-PKG_CHECK_MODULES(DIRECTFB, directfb >= $DIRECTFB_REQUIRED_VERSION,[ WATER=`$PKG_CONFIG --variable=water directfb` ],
22+PKG_CHECK_MODULES([DIRECTFB], directfb >= $DIRECTFB_REQUIRED_VERSION,[ WATER=`$PKG_CONFIG --variable=water directfb` ],
23 AC_MSG_ERROR([$DIRECTFB_PKG_ERRORS
24 *** DirectFB $DIRECTFB_REQUIRED_VERSION or newer is required. The latest version
25 *** of DirectFB is available from http://www.directfb.org/.]))
26--
271.7.10.4
28
diff --git a/recipes-graphics/directfb/directfb-examples_1.6.0.bb b/recipes-graphics/directfb/directfb-examples_1.6.0.bb
index 499060b..3e14c1b 100644
--- a/recipes-graphics/directfb/directfb-examples_1.6.0.bb
+++ b/recipes-graphics/directfb/directfb-examples_1.6.0.bb
@@ -6,15 +6,14 @@ DEPENDS = "directfb"
6SECTION = "libs" 6SECTION = "libs"
7LICENSE = "MIT" 7LICENSE = "MIT"
8 8
9SRC_URI = " \ 9SRC_URI = "http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz \
10 http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz \ 10 file://configure.in-Fix-string-argument-syntax.patch"
11 "
12 11
13LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f" 12LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f"
14 13
15S = "${WORKDIR}/DirectFB-examples-${PV}" 14S = "${WORKDIR}/DirectFB-examples-${PV}"
16 15
17inherit autotools 16inherit autotools pkgconfig
18 17
19SRC_URI[md5sum] = "27619d31e8a647fdd3023a0c1779b63d" 18SRC_URI[md5sum] = "27619d31e8a647fdd3023a0c1779b63d"
20SRC_URI[sha256sum] = "b08293697c211b690856f76a25ad7acd4ca458b4132851e0a1e471d0bf23c821" 19SRC_URI[sha256sum] = "b08293697c211b690856f76a25ad7acd4ca458b4132851e0a1e471d0bf23c821"