summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2016-05-03 11:50:29 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2016-05-06 12:40:26 +0200
commit5bece73f64ae7f736cd08eef387d67d74e31a424 (patch)
treeb9f40fb74c4d8aa264a8d5b1a5a85d682fc789a4
parent821414a07d435f9dd797e3ba09cd49d495a9d460 (diff)
downloadmeta-openembedded-5bece73f64ae7f736cd08eef387d67d74e31a424.tar.gz
fbreader: add cflags fix for fribidi 0.19.7
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-gpe/recipes-support/fbreader/fbreader-0.12.10/fix-cflags-fribidi.patch11
-rw-r--r--meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb3
2 files changed, 13 insertions, 1 deletions
diff --git a/meta-gpe/recipes-support/fbreader/fbreader-0.12.10/fix-cflags-fribidi.patch b/meta-gpe/recipes-support/fbreader/fbreader-0.12.10/fix-cflags-fribidi.patch
new file mode 100644
index 000000000..e72fa8cf2
--- /dev/null
+++ b/meta-gpe/recipes-support/fbreader/fbreader-0.12.10/fix-cflags-fribidi.patch
@@ -0,0 +1,11 @@
1--- fbreader-0.12.10/makefiles/config.mk.orig 2016-05-03 11:11:07.259734561 -0400
2+++ fbreader-0.12.10/makefiles/config.mk 2016-05-03 11:11:37.447735786 -0400
3@@ -38,7 +38,7 @@
4 LDFLAGS += -pg
5 endif
6
7-ZINCLUDE = -I $(ROOTDIR)/zlibrary/core/include -I $(ROOTDIR)/zlibrary/text/include
8+ZINCLUDE = $(shell pkg-config --cflags fribidi) -I $(ROOTDIR)/zlibrary/core/include -I $(ROOTDIR)/zlibrary/text/include
9
10 ZLSHARED ?= yes
11
diff --git a/meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb b/meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb
index e9ead0f24..1487f11a2 100644
--- a/meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb
+++ b/meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb
@@ -9,7 +9,8 @@ PR = "r1"
9 9
10SRC_URI = "http://www.fbreader.org/fbreader-sources-${PV}.tgz \ 10SRC_URI = "http://www.fbreader.org/fbreader-sources-${PV}.tgz \
11file://Makefile.patch \ 11file://Makefile.patch \
12file://gcc45.patch" 12file://gcc45.patch \
13file://fix-cflags-fribidi.patch"
13 14
14# Set the defaults 15# Set the defaults
15READER_RESOLUTION ?= "1024x600" 16READER_RESOLUTION ?= "1024x600"