mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 01:20:31 -04:00
Changes: https://www.mesa3d.org/relnotes/18.3.0.html Changes: https://www.mesa3d.org/relnotes/18.3.1.html Changes: https://www.mesa3d.org/relnotes/18.3.2.html PR: 233034 Tested by: Kevin Oberman Approved by: maintainer timeout (2 weeks after 2019Q1) Differential Revision: https://reviews.freebsd.org/D17872
19 lines
478 B
C
19 lines
478 B
C
- Define CLOCK_MONOTONIC_RAW if missing
|
|
|
|
--- src/amd/vulkan/radv_device.c.orig 2018-11-06 16:16:02 UTC
|
|
+++ src/amd/vulkan/radv_device.c
|
|
@@ -50,6 +50,14 @@
|
|
#include "util/debug.h"
|
|
#include "util/mesa-sha1.h"
|
|
|
|
+#ifndef CLOCK_MONOTONIC_RAW
|
|
+# ifdef CLOCK_MONOTONIC_FAST
|
|
+# define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC_FAST
|
|
+# else
|
|
+# define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
|
|
+# endif
|
|
+#endif
|
|
+
|
|
static int
|
|
radv_device_get_cache_uuid(enum radeon_family family, void *uuid)
|
|
{
|