aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
+From 88077ed156a714f32bb408f422278d61611ffd41 Mon Sep 17 00:00:00 2001
+From: Otavio Salvador <otavio@ossystems.com.br>
+Date: Sat, 26 Jul 2014 16:57:46 -0300
+Subject: [PATCH] configure.in: Fix string argument syntax
+
+Upstream-Status: Submitted
+
+Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
+---
+ configure.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index bfe1b82..e939bbd 100644
+--- a/configure.in
++++ b/configure.in
+@@ -65,7 +65,7 @@ fi)
+
+ DIRECTFB_REQUIRED_VERSION=1.4.14
+
+-PKG_CHECK_MODULES(DIRECTFB, directfb >= $DIRECTFB_REQUIRED_VERSION,[ WATER=`$PKG_CONFIG --variable=water directfb` ],
++PKG_CHECK_MODULES([DIRECTFB], directfb >= $DIRECTFB_REQUIRED_VERSION,[ WATER=`$PKG_CONFIG --variable=water directfb` ],
+ AC_MSG_ERROR([$DIRECTFB_PKG_ERRORS
+ *** DirectFB $DIRECTFB_REQUIRED_VERSION or newer is required. The latest version
+ *** of DirectFB is available from http://www.directfb.org/.]))
+--
+1.7.10.4
+
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"
SECTION = "libs"
LICENSE = "MIT"
-SRC_URI = " \
- http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz \
- "
+SRC_URI = "http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz \
+ file://configure.in-Fix-string-argument-syntax.patch"
LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f"
S = "${WORKDIR}/DirectFB-examples-${PV}"
-inherit autotools
+inherit autotools pkgconfig
SRC_URI[md5sum] = "27619d31e8a647fdd3023a0c1779b63d"
SRC_URI[sha256sum] = "b08293697c211b690856f76a25ad7acd4ca458b4132851e0a1e471d0bf23c821"