]> git.pld-linux.org Git - packages/flatpak.git/blame - x32.patch
- fix build on x32
[packages/flatpak.git] / x32.patch
CommitLineData
46c841b0
JR
1--- flatpak-0.9.4/common/flatpak-oci-registry.c~ 2017-05-22 09:02:48.000000000 +0200
2+++ flatpak-0.9.4/common/flatpak-oci-registry.c 2017-06-05 10:46:01.316092892 +0200
3@@ -264,7 +264,11 @@
4 if (fd == -1)
5 return NULL;
6
7+#ifdef __ILP32__
8+ current_etag = g_strdup_printf ("%llu", st_buf.st_mtime);
9+#else
10 current_etag = g_strdup_printf ("%lu", st_buf.st_mtime);
11+#endif
12
13 if (etag != NULL && strcmp (current_etag, etag) == 0)
14 {
This page took 0.132264 seconds and 4 git commands to generate.