diff options
-rw-r--r-- | meta-gpe/recipes-support/fbreader/fbreader-0.12.10/fix-cflags-fribidi.patch | 11 | ||||
-rw-r--r-- | meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb | 3 |
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 | ||
10 | SRC_URI = "http://www.fbreader.org/fbreader-sources-${PV}.tgz \ | 10 | SRC_URI = "http://www.fbreader.org/fbreader-sources-${PV}.tgz \ |
11 | file://Makefile.patch \ | 11 | file://Makefile.patch \ |
12 | file://gcc45.patch" | 12 | file://gcc45.patch \ |
13 | file://fix-cflags-fribidi.patch" | ||
13 | 14 | ||
14 | # Set the defaults | 15 | # Set the defaults |
15 | READER_RESOLUTION ?= "1024x600" | 16 | READER_RESOLUTION ?= "1024x600" |