commit 46c841b06d5b26ebcd9267942b61d5fd04914bc7 Author: Jan Rękorajski <bagg...@pld-linux.org> Date: Mon Jun 5 10:47:01 2017 +0200
- fix build on x32 flatpak.spec | 1 + x32.patch | 14 ++++++++++++++ 2 files changed, 15 insertions(+) --- diff --git a/flatpak.spec b/flatpak.spec index d92f4ed..b16c6fd 100644 --- a/flatpak.spec +++ b/flatpak.spec @@ -14,6 +14,7 @@ Group: Applications Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz # Source0-md5: 7c70a8dbf4b40abfea61574d326ab869 Patch0: flatpak-0.6.14-fix-gnome-software-crash.patch +Patch1: x32.patch URL: http://flatpak.org/ %{?with_system_bwrap:BuildRequires: bubblewrap >= 0.1.8} BuildRequires: docbook-dtd412-xml diff --git a/x32.patch b/x32.patch new file mode 100644 index 0000000..b4cb7af --- /dev/null +++ b/x32.patch @@ -0,0 +1,14 @@ +--- flatpak-0.9.4/common/flatpak-oci-registry.c~ 2017-05-22 09:02:48.000000000 +0200 ++++ flatpak-0.9.4/common/flatpak-oci-registry.c 2017-06-05 10:46:01.316092892 +0200 +@@ -264,7 +264,11 @@ + if (fd == -1) + return NULL; + ++#ifdef __ILP32__ ++ current_etag = g_strdup_printf ("%llu", st_buf.st_mtime); ++#else + current_etag = g_strdup_printf ("%lu", st_buf.st_mtime); ++#endif + + if (etag != NULL && strcmp (current_etag, etag) == 0) + { ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/flatpak.git/commitdiff/46c841b06d5b26ebcd9267942b61d5fd04914bc7 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit