diff options
-rw-r--r-- | meta/conf/distro/include/poky-default.inc | 3 | ||||
-rw-r--r-- | meta/packages/expat/expat.inc | 14 | ||||
-rw-r--r-- | meta/packages/expat/expat_2.0.1.bb | 11 |
3 files changed, 16 insertions, 12 deletions
diff --git a/meta/conf/distro/include/poky-default.inc b/meta/conf/distro/include/poky-default.inc index 0df5cf680a..d7d70261fb 100644 --- a/meta/conf/distro/include/poky-default.inc +++ b/meta/conf/distro/include/poky-default.inc | |||
@@ -42,6 +42,9 @@ PREFERRED_VERSION_glibc-nativesdk ?= "${GLIBCVERSION}" | |||
42 | PREFERRED_VERSION_glibc-initial ?= "${GLIBCVERSION}" | 42 | PREFERRED_VERSION_glibc-initial ?= "${GLIBCVERSION}" |
43 | PREFERRED_VERSION_glibc-initial-nativesdk ?= "${GLIBCVERSION}" | 43 | PREFERRED_VERSION_glibc-initial-nativesdk ?= "${GLIBCVERSION}" |
44 | PREFERRED_VERSION_elfutils ?= "0.148" | 44 | PREFERRED_VERSION_elfutils ?= "0.148" |
45 | # don't use version earlier than 1.4 for gzip-native, as it's necessary for | ||
46 | # some packages using an archive format incompatible with earlier gzip | ||
47 | PREFERRED_VERSION_gzip-native ?= "1.4" | ||
45 | 48 | ||
46 | require conf/distro/include/as-needed.inc | 49 | require conf/distro/include/as-needed.inc |
47 | 50 | ||
diff --git a/meta/packages/expat/expat.inc b/meta/packages/expat/expat.inc index d47e340629..8c5010e481 100644 --- a/meta/packages/expat/expat.inc +++ b/meta/packages/expat/expat.inc | |||
@@ -3,7 +3,17 @@ HOMEPAGE = "http://expat.sourceforge.net/" | |||
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | 5 | ||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz" | 6 | SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \ |
7 | file://autotools.patch" | ||
7 | 8 | ||
8 | inherit autotools | 9 | inherit autotools lib_package |
9 | 10 | ||
11 | # This package uses an archive format known to have issue with some | ||
12 | # versions of gzip | ||
13 | do_unpack[depends] += "gzip-native:do_populate_sysroot" | ||
14 | |||
15 | do_configure_prepend () { | ||
16 | rm -f ${S}/conftools/libtool.m4 | ||
17 | } | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/packages/expat/expat_2.0.1.bb b/meta/packages/expat/expat_2.0.1.bb index da2682e41f..9983fe5838 100644 --- a/meta/packages/expat/expat_2.0.1.bb +++ b/meta/packages/expat/expat_2.0.1.bb | |||
@@ -1,12 +1,3 @@ | |||
1 | require expat.inc | 1 | require expat.inc |
2 | PR = "r0" | ||
3 | |||
4 | SRC_URI += "file://autotools.patch;" | ||
5 | |||
6 | inherit lib_package | ||
7 | 2 | ||
8 | do_configure_prepend () { | 3 | PR = "r0" |
9 | rm -f ${S}/conftools/libtool.m4 | ||
10 | } | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||