mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 14:56:43 +01:00
libgdata: fix compiling for 32-bit targets
When compiling for 32-bit targets, compilation fails with the following error: | ../libgdata-0.18.1/demos/calendar/calendar-cli.c:47:22: error: passing argument 1 of 'gmtime' from incompatible pointer type [-Wincompatible-pointer-types] | 47 | tm = gmtime (&tv->tv_sec); Upstream meanwhile has refactored the failing part in an untagged commit: they have removed the usage of GTimeVal, since it has been deprecated. Since it also solves the compilation issue, backport that patch. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
909985d1b9
commit
e1625a159e
File diff suppressed because it is too large
Load Diff
|
|
@ -13,6 +13,8 @@ GTKDOC_MESON_OPTION = "gtk_doc"
|
|||
|
||||
inherit gnomebase pkgconfig gettext gtk-doc vala gobject-introspection manpages features_check
|
||||
|
||||
SRC_URI += "file://0001-Drop-usage-of-deprecated-GTimeVal.patch"
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'goa', 'opengl', '', d)}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user