Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152636999
D17872.id50203.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D17872.id50203.diff
View Options
Index: graphics/mesa-dri/Makefile.common
===================================================================
--- graphics/mesa-dri/Makefile.common
+++ graphics/mesa-dri/Makefile.common
@@ -14,9 +14,9 @@
MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/}
MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/}
-MESABASEVERSION= 18.2.4
+MESABASEVERSION= 18.3.0
# if there is a subversion, don't include the '-' between 7.11-rc2.
-MESASUBVERSION=
+MESASUBVERSION= rc2
MASTER_SITES= https://mesa.freedesktop.org/archive/ \
https://mesa.freedesktop.org/archive/${MESABASEVERSION}/ \
Index: graphics/mesa-dri/distinfo
===================================================================
--- graphics/mesa-dri/distinfo
+++ graphics/mesa-dri/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1541010385
-SHA256 (mesa-18.2.4.tar.xz) = 621d1aebb57876d5b6a5d2dcf4eb7e0620e650c6fe5cf3655c65e243adc9cb4e
-SIZE (mesa-18.2.4.tar.xz) = 11377556
+TIMESTAMP = 1541761380
+SHA256 (mesa-18.3.0-rc2.tar.xz) = b6fe79ce3aaabc7b7b52f83d01dae746e2d8c9665c121ac2adee8f4b7397bc64
+SIZE (mesa-18.3.0-rc2.tar.xz) = 11862200
Index: graphics/mesa-dri/files/patch-src_amd_vulkan_radv__device.c
===================================================================
--- /dev/null
+++ graphics/mesa-dri/files/patch-src_amd_vulkan_radv__device.c
@@ -0,0 +1,15 @@
+- 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,10 @@
+ #include "util/debug.h"
+ #include "util/mesa-sha1.h"
+
++#ifndef CLOCK_MONOTONIC_RAW
++#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
++#endif
++
+ static int
+ radv_device_get_cache_uuid(enum radeon_family family, void *uuid)
+ {
Index: graphics/mesa-dri/files/patch-src_intel_tools_aub__mem.c
===================================================================
--- graphics/mesa-dri/files/patch-src_intel_tools_aub__mem.c
+++ graphics/mesa-dri/files/patch-src_intel_tools_aub__mem.c
@@ -1,8 +1,13 @@
- Partially implement memfd_create() via mkostemp()
---- src/intel/tools/aubinator.c.orig 2018-08-02 15:41:20 UTC
-+++ src/intel/tools/aubinator.c
-@@ -52,7 +52,29 @@
+--- src/intel/tools/aub_mem.c.orig 2018-11-06 16:16:02 UTC
++++ src/intel/tools/aub_mem.c
+@@ -30,11 +30,34 @@
+
+ #ifndef HAVE_MEMFD_CREATE
+ #include <sys/syscall.h>
++#include <fcntl.h>
+
static inline int
memfd_create(const char *name, unsigned int flags)
{
Index: graphics/mesa-dri/files/patch-src_intel_vulkan_anv__device.c
===================================================================
--- graphics/mesa-dri/files/patch-src_intel_vulkan_anv__device.c
+++ graphics/mesa-dri/files/patch-src_intel_vulkan_anv__device.c
@@ -1,7 +1,8 @@
- Without sysinfo() fall back to sysconf()
- Define ETIME if missing
+- Define CLOCK_MONOTONIC_RAW if missing
---- src/intel/vulkan/anv_device.c.orig 2018-01-23 18:08:50 UTC
+--- src/intel/vulkan/anv_device.c.orig 2018-11-06 16:16:02 UTC
+++ src/intel/vulkan/anv_device.c
@@ -25,7 +25,9 @@
#include <stdbool.h>
@@ -13,20 +14,23 @@
#include <unistd.h>
#include <fcntl.h>
#include <xf86drm.h>
-@@ -40,6 +42,10 @@
+@@ -44,6 +46,13 @@
#include "genxml/gen7_pack.h"
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
++#ifndef CLOCK_MONOTONIC_RAW
++#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
++#endif
+
static void
compiler_debug_log(void *data, const char *fmt, ...)
{ }
-@@ -75,10 +81,15 @@ anv_compute_heap_size(int fd, uint64_t *heap_size)
- }
-
+@@ -64,10 +73,15 @@ static VkResult
+ anv_compute_heap_size(int fd, uint64_t gtt_size, uint64_t *heap_size)
+ {
/* Query the total ram from the system */
+#ifdef __GLIBC__
struct sysinfo info;
Index: graphics/mesa-dri/pkg-plist
===================================================================
--- graphics/mesa-dri/pkg-plist
+++ graphics/mesa-dri/pkg-plist
@@ -1,4 +1,3 @@
-etc/drirc
@comment include/EGL/egl.h
@comment include/EGL/eglext.h
@comment include/EGL/eglextchromium.h
@@ -89,5 +88,6 @@
@comment libdata/pkgconfig/gl.pc
@comment libdata/pkgconfig/glesv2.pc
@comment libdata/pkgconfig/osmesa.pc
+share/drirc.d/00-mesa-defaults.conf
%%INTEL_VDRIVER%%share/vulkan/icd.d/intel_icd.%%ARCH%%.json
%%RADEON_VDRIVER%%share/vulkan/icd.d/radeon_icd.%%ARCH%%.json
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 17, 4:34 AM (20 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31585703
Default Alt Text
D17872.id50203.diff (4 KB)
Attached To
Mode
D17872: graphics/mesa-dri: update to 18.3.1
Attached
Detach File
Event Timeline
Log In to Comment