diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-12-26 15:00:33 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-12-29 09:04:17 -0800 |
| commit | 85360acc4d93e135a647bf4819b9ba524df3cdf0 (patch) | |
| tree | 4fcc91cdd8d916b619c85c5c442958040d0ccdfa | |
| parent | 51648324086a34abe212c659ce3e6b70edd0e210 (diff) | |
| download | meta-openembedded-85360acc4d93e135a647bf4819b9ba524df3cdf0.tar.gz | |
jasper: Fix install conflict when enable multilib.
Error: Transaction test error:
file /usr/include/jasper/jas_config.h conflicts between attempted installs of lib32-jasper-dev-4.1.1-r0.armv7ahf_neon and jasper-dev-4.1.1-r0.cortexa57
The differences between the two files are as follows:
@@ -44,10 +44,10 @@
/* #undef JAS_HAVE_INT128_T */
#define JAS_SIZEOF_INT 4
-#define JAS_SIZEOF_LONG 4
+#define JAS_SIZEOF_LONG 8
#define JAS_SIZEOF_LLONG 8
-#define JAS_SIZEOF_SIZE_T 4
-#define JAS_SIZEOF_SSIZE_T 4
+#define JAS_SIZEOF_SIZE_T 8
+#define JAS_SIZEOF_SSIZE_T 8
#define JAS_HAVE_FCNTL_H
/* #undef JAS_HAVE_IO_H */
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb b/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb index 14f50d0b29..5281980ecb 100644 --- a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb +++ b/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb | |||
| @@ -10,7 +10,7 @@ CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't | |||
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| 12 | 12 | ||
| 13 | inherit cmake | 13 | inherit cmake multilib_header |
| 14 | 14 | ||
| 15 | do_configure:prepend() { | 15 | do_configure:prepend() { |
| 16 | JAS_STDC_VERSION="$(echo __STDC_VERSION__ | ${CPP} -E -P -)" | 16 | JAS_STDC_VERSION="$(echo __STDC_VERSION__ | ${CPP} -E -P -)" |
| @@ -29,5 +29,6 @@ do_install:append() { | |||
| 29 | chrpath -d ${D}${bindir}/imginfo | 29 | chrpath -d ${D}${bindir}/imginfo |
| 30 | chrpath -d ${D}${bindir}/imgcmp | 30 | chrpath -d ${D}${bindir}/imgcmp |
| 31 | chrpath -d ${D}${libdir}/libjasper.so.* | 31 | chrpath -d ${D}${libdir}/libjasper.so.* |
| 32 | oe_multilib_header jasper/jas_config.h | ||
| 32 | } | 33 | } |
| 33 | 34 | ||
