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/log4c | |
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/log4c')
-rw-r--r-- | meta-oe/recipes-support/log4c/log4c/fix_configure_with-expat.patch | 21 | ||||
-rw-r--r-- | meta-oe/recipes-support/log4c/log4c_1.2.4.bb | 15 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/log4c/log4c/fix_configure_with-expat.patch b/meta-oe/recipes-support/log4c/log4c/fix_configure_with-expat.patch new file mode 100644 index 000000000..4872eb4f5 --- /dev/null +++ b/meta-oe/recipes-support/log4c/log4c/fix_configure_with-expat.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | The original use of AC_ARG_WITH is buggy and causes expat support | ||
2 | to be *disabled* if "--with-expat" is passed to configure. | ||
3 | |||
4 | Upstream status: pending | ||
5 | |||
6 | Index: log4c-1.2.4/configure.in | ||
7 | =================================================================== | ||
8 | --- log4c-1.2.4.orig/configure.in | ||
9 | +++ log4c-1.2.4/configure.in | ||
10 | @@ -217,9 +217,9 @@ AC_ARG_WITH(expat, | ||
11 | have any effect and Log4C uses some bundled yacc/lex code | ||
12 | for parsing it's configuration file. | ||
13 | ]), | ||
14 | - with_expat=no, | ||
15 | + [], | ||
16 | with_expat=yes) | ||
17 | -if test x$with_expat = xyes ; then | ||
18 | +if test x$with_expat != xno ; then | ||
19 | use_expat=yes | ||
20 | AM_PATH_EXPAT(1.95.1) | ||
21 | fi | ||
diff --git a/meta-oe/recipes-support/log4c/log4c_1.2.4.bb b/meta-oe/recipes-support/log4c/log4c_1.2.4.bb new file mode 100644 index 000000000..ea75757f8 --- /dev/null +++ b/meta-oe/recipes-support/log4c/log4c_1.2.4.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Log4c is a C library for flexible logging to files, syslog and other destinations" | ||
2 | HOMEPAGE = "http://log4c.sourceforge.net" | ||
3 | LICENSE = "LGPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
5 | |||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ | ||
7 | file://fix_configure_with-expat.patch" | ||
8 | |||
9 | SRC_URI[md5sum] = "0d94919136e1d16b68427562e74cb3dd" | ||
10 | SRC_URI[sha256sum] = "5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea" | ||
11 | |||
12 | PACKAGECONFIG ??= "expat" | ||
13 | PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat" | ||
14 | |||
15 | inherit autotools | ||