summaryrefslogtreecommitdiff
path: root/user/mesa/time64.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-26 03:04:20 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-26 03:04:20 +0000
commit4725a4d40a085ee4e6987309a4eb5e570a1a6d4a (patch)
treec0b2f3ba2c61accbb9ebc54f9b9e9c837e74cd90 /user/mesa/time64.patch
parentf47db32429e4a86d4bbfc7b041f7cf541159e71c (diff)
downloadpackages-4725a4d40a085ee4e6987309a4eb5e570a1a6d4a.tar.gz
packages-4725a4d40a085ee4e6987309a4eb5e570a1a6d4a.tar.bz2
packages-4725a4d40a085ee4e6987309a4eb5e570a1a6d4a.tar.xz
packages-4725a4d40a085ee4e6987309a4eb5e570a1a6d4a.zip
user/mesa: Bump to 19.3.4; fix time64 issues on ARMv7
Diffstat (limited to 'user/mesa/time64.patch')
-rw-r--r--user/mesa/time64.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/mesa/time64.patch b/user/mesa/time64.patch
new file mode 100644
index 000000000..7e7894a9d
--- /dev/null
+++ b/user/mesa/time64.patch
@@ -0,0 +1,34 @@
+--- mesa-19.3.1/src/gallium/drivers/vc4/vc4_bufmgr.c.old 2019-12-18 18:36:00.000000000 +0000
++++ mesa-19.3.1/src/gallium/drivers/vc4/vc4_bufmgr.c 2020-01-20 19:26:36.470000000 +0000
+@@ -107,8 +107,8 @@
+
+ struct timespec time;
+ clock_gettime(CLOCK_MONOTONIC, &time);
+- fprintf(stderr, " now: %ld\n",
+- time.tv_sec);
++ fprintf(stderr, " now: %"PRId64"\n",
++ (int64_t)time.tv_sec);
+ }
+ }
+
+--- mesa-19.3.1/src/gallium/drivers/v3d/v3d_bufmgr.c.old 2019-12-18 18:36:00.000000000 +0000
++++ mesa-19.3.1/src/gallium/drivers/v3d/v3d_bufmgr.c 2020-01-20 19:28:02.600000000 +0000
+@@ -23,6 +23,7 @@
+
+ #include <errno.h>
+ #include <err.h>
++#include <inttypes.h>
+ #include <sys/mman.h>
+ #include <fcntl.h>
+ #include <xf86drm.h>
+@@ -80,8 +81,8 @@
+
+ struct timespec time;
+ clock_gettime(CLOCK_MONOTONIC, &time);
+- fprintf(stderr, " now: %ld\n",
+- time.tv_sec);
++ fprintf(stderr, " now: %"PRId64"\n",
++ (int64_t)time.tv_sec);
+ }
+ }
+