]> code.ossystems Code Review - openembedded-core.git/commit
gpgme: fix multilib header conflict
authorChangqing Li <changqing.li@windriver.com>
Tue, 18 Aug 2020 09:59:02 +0000 (17:59 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Aug 2020 14:28:57 +0000 (15:28 +0100)
commitbd056f9c4c22740a4f7ede00c758a21037eae5ca
treea7fbf5be877010dceebaaf6558f35438791d6c06
parentf883413b2bc6e7d0bd44ce8324cd36a8fe918e5f
gpgme: fix multilib header conflict

fix error:
file /usr/include/gpgme.h conflicts between attempted installs of gpgme-dev-1.13.1-r0.core2_64 and lib32-gpgme-dev-1.13.1-r0.core2_32

part of diff:
-#if 64
+#if 0
 #ifndef _FILE_OFFSET_BITS
-#error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#error GPGME was compiled with _FILE_OFFSET_BITS = 0, please see the section "Largefile support (LFS)" in the GPGME manual.
 #else
-#if (_FILE_OFFSET_BITS) != (64)
-#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#if (_FILE_OFFSET_BITS) != (0)
+#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 0, please see the section "Largefile support (LFS)" in the GPGME manual.
 #endif
 #endif
 #endif

LFS support is enabled by default, and this header is generated during
build according to current configure

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gpgme/gpgme_1.13.1.bb