diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-support/onig | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-support/onig')
-rw-r--r-- | meta-oe/recipes-support/onig/files/configure.patch | 13 | ||||
-rw-r--r-- | meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch | 44 | ||||
-rw-r--r-- | meta-oe/recipes-support/onig/onig_5.9.3.bb | 17 |
3 files changed, 74 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/onig/files/configure.patch b/meta-oe/recipes-support/onig/files/configure.patch new file mode 100644 index 000000000..5fa700f19 --- /dev/null +++ b/meta-oe/recipes-support/onig/files/configure.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: onig-5.9.3/configure.in | ||
2 | =================================================================== | ||
3 | --- onig-5.9.3.orig/configure.in 2012-10-26 07:06:14.000000000 +0000 | ||
4 | +++ onig-5.9.3/configure.in 2014-07-18 08:02:52.701574484 +0000 | ||
5 | @@ -3,7 +3,7 @@ | ||
6 | |||
7 | AC_CONFIG_MACRO_DIR([m4]) | ||
8 | |||
9 | -AM_INIT_AUTOMAKE | ||
10 | +AM_INIT_AUTOMAKE([foreign]) | ||
11 | AC_CONFIG_HEADER(config.h) | ||
12 | |||
13 | |||
diff --git a/meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch b/meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch new file mode 100644 index 000000000..b93602a26 --- /dev/null +++ b/meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | Author: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | ||
2 | |||
3 | When build on host with older eglibc (Ubuntu 12.04) build fails with: | ||
4 | |||
5 | /tmp/OE/build/tmp-eglibc/sysroots/genericarmv8/usr/include/bits/predefs.h:23:3: error: #error "Never use <bits/predefs.h> directly; include <stdc-predef.h> instead." | ||
6 | |||
7 | Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | ||
8 | |||
9 | Upstream-Status: Inappropriate [embedded specific] | ||
10 | |||
11 | --- | ||
12 | Makefile.am | 2 +- | ||
13 | sample/Makefile.am | 2 +- | ||
14 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | --- onig-5.9.3.orig/Makefile.am | ||
17 | +++ onig-5.9.3/Makefile.am | ||
18 | @@ -4,11 +4,11 @@ sampledir = $(top_srcdir)/sample | ||
19 | libname = libonig.la | ||
20 | |||
21 | ACLOCAL_AMFLAGS = -I m4 | ||
22 | #AM_CFLAGS = -DNOT_RUBY | ||
23 | AM_CFLAGS = | ||
24 | -INCLUDES = -I$(top_srcdir) -I$(includedir) | ||
25 | +INCLUDES = -I$(top_srcdir) | ||
26 | |||
27 | SUBDIRS = . sample | ||
28 | |||
29 | include_HEADERS = oniguruma.h oniggnu.h onigposix.h | ||
30 | lib_LTLIBRARIES = $(libname) | ||
31 | --- onig-5.9.3.orig/sample/Makefile.am | ||
32 | +++ onig-5.9.3/sample/Makefile.am | ||
33 | @@ -1,10 +1,10 @@ | ||
34 | noinst_PROGRAMS = encode listcap names posix simple sql syntax crnl | ||
35 | |||
36 | libname = $(top_builddir)/libonig.la | ||
37 | LDADD = $(libname) | ||
38 | -INCLUDES = -I$(top_srcdir) -I$(includedir) | ||
39 | +INCLUDES = -I$(top_srcdir) | ||
40 | |||
41 | encode_SOURCES = encode.c | ||
42 | listcap_SOURCES = listcap.c | ||
43 | names_SOURCES = names.c | ||
44 | posix_SOURCES = posix.c | ||
diff --git a/meta-oe/recipes-support/onig/onig_5.9.3.bb b/meta-oe/recipes-support/onig/onig_5.9.3.bb new file mode 100644 index 000000000..22db78afe --- /dev/null +++ b/meta-oe/recipes-support/onig/onig_5.9.3.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "Regular expressions library. The characteristics of this \ | ||
2 | library is that different character encoding for every regular expression \ | ||
3 | object can be specified." | ||
4 | HOMEPAGE = "http://www.geocities.jp/kosako3/oniguruma/" | ||
5 | LICENSE = "BSD" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=0d4861b5bc0c392a5aa90d9d76ebd86f" | ||
7 | |||
8 | SRC_URI = "http://www.geocities.jp/kosako3/oniguruma/archive/onig-${PV}.tar.gz \ | ||
9 | file://do-not-use-system-headers.patch \ | ||
10 | file://configure.patch" | ||
11 | |||
12 | SRC_URI[md5sum] = "0d4eda2066d3c92970842a6790ce897a" | ||
13 | SRC_URI[sha256sum] = "c3bba66b2a84760e6582c40881db97c839d94f327870009724bb8b4d0c051f2a" | ||
14 | |||
15 | DEPENDS = "libevent" | ||
16 | |||
17 | inherit autotools binconfig | ||