FreeBSD Bugzilla – Attachment 192860 Details for
Bug 227685
graphics/mesa-dri: update to 18.1.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rc2
mesa-18.1.0.diff (text/plain), 5.04 KB, created by
Jan Beich
on 2018-04-27 23:46:51 UTC
(
hide
)
Description:
rc2
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2018-04-27 23:46:51 UTC
Size:
5.04 KB
patch
obsolete
>From 507362689adc94f8fe9317cbb9cb0622052a0453 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Tue, 10 Apr 2018 00:15:05 +0000 >Subject: [PATCH] graphics/mesa-{libs,dri}: update to 18.1.0 > >Changes: https://www.mesa3d.org/relnotes/18.1.0.html >ABI: https://abi-laboratory.pro/tracker/timeline/mesa/ >PR: 227685 >Tested by: Greg V >Reviewed by: ? >Approved by: ? >--- > graphics/mesa-dri/Makefile | 1 - > graphics/mesa-dri/Makefile.common | 4 +-- > graphics/mesa-dri/distinfo | 6 ++-- > ...ch-src_gallium_auxiliary_util_u__network.c | 11 ------- > ...lium_drivers_freedreno_freedreno__screen.c | 30 +++++++++++++++++++ > .../mesa-dri/files/patch-src_util_os__time.c | 11 +------ > 6 files changed, 36 insertions(+), 27 deletions(-) > delete mode 100644 graphics/mesa-dri/files/patch-src_gallium_auxiliary_util_u__network.c > create mode 100644 graphics/mesa-dri/files/patch-src_gallium_drivers_freedreno_freedreno__screen.c > >diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile >index f04c17080da1..1a54c48cfb9e 100644 >--- a/graphics/mesa-dri/Makefile >+++ b/graphics/mesa-dri/Makefile >@@ -3,7 +3,6 @@ > > PORTNAME= mesa-dri > PORTVERSION= ${MESAVERSION} >-PORTREVISION= 1 > CATEGORIES= graphics > > COMMENT= OpenGL hardware acceleration drivers for DRI2+ >diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common >index 6b006737c705..493a3f298fc0 100644 >--- a/graphics/mesa-dri/Makefile.common >+++ b/graphics/mesa-dri/Makefile.common >@@ -14,9 +14,9 @@ > MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/} > MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/} > >-MESABASEVERSION= 18.0.1 >+MESABASEVERSION= 18.1.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}/ \ >diff --git a/graphics/mesa-dri/distinfo b/graphics/mesa-dri/distinfo >index b16c79eef7bb..9f2c2a51888a 100644 >--- a/graphics/mesa-dri/distinfo >+++ b/graphics/mesa-dri/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1524062873 >-SHA256 (mesa-18.0.1.tar.xz) = b2d2f5b5dbaab13e15cb0dcb5ec81887467f55ebc9625945b303a3647cd87954 >-SIZE (mesa-18.0.1.tar.xz) = 10945308 >+TIMESTAMP = 1524862721 >+SHA256 (mesa-18.1.0-rc2.tar.xz) = 39f0a0c748edcd13b1bbefbf203be937a7931f3e325a908c59fecc91d1bd008e >+SIZE (mesa-18.1.0-rc2.tar.xz) = 11117872 >diff --git a/graphics/mesa-dri/files/patch-src_gallium_auxiliary_util_u__network.c b/graphics/mesa-dri/files/patch-src_gallium_auxiliary_util_u__network.c >deleted file mode 100644 >index 95489a7e25ae..000000000000 >--- a/graphics/mesa-dri/files/patch-src_gallium_auxiliary_util_u__network.c >+++ /dev/null >@@ -1,11 +0,0 @@ >---- src/gallium/auxiliary/util/u_network.c.orig 2018-01-23 18:08:49 UTC >-+++ src/gallium/auxiliary/util/u_network.c >-@@ -9,7 +9,7 @@ >- # include <winsock2.h> >- # include <windows.h> >- # include <ws2tcpip.h> >--#elif defined(PIPE_OS_LINUX) || defined(PIPE_OS_HAIKU) || \ >-+#elif defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_HAIKU) || \ >- defined(PIPE_OS_APPLE) || defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_SOLARIS) >- # include <sys/socket.h> >- # include <netinet/in.h> >diff --git a/graphics/mesa-dri/files/patch-src_gallium_drivers_freedreno_freedreno__screen.c b/graphics/mesa-dri/files/patch-src_gallium_drivers_freedreno_freedreno__screen.c >new file mode 100644 >index 000000000000..2f35eb0307c8 >--- /dev/null >+++ b/graphics/mesa-dri/files/patch-src_gallium_drivers_freedreno_freedreno__screen.c >@@ -0,0 +1,30 @@ >+- Without sysinfo() fall back to sysconf() >+ >+--- src/gallium/drivers/freedreno/freedreno_screen.c.orig 2018-04-21 05:48:24 UTC >++++ src/gallium/drivers/freedreno/freedreno_screen.c >+@@ -43,7 +43,11 @@ >+ #include <errno.h> >+ #include <stdio.h> >+ #include <stdlib.h> >++#ifdef __GLIBC__ >+ #include <sys/sysinfo.h> >++#else >++#include <unistd.h> >++#endif >+ >+ #include "freedreno_screen.h" >+ #include "freedreno_resource.h" >+@@ -837,9 +841,13 @@ fd_screen_create(struct fd_device *dev) >+ screen->priority_mask = (1 << val) - 1; >+ } >+ >++#ifdef __GLIBC__ >+ struct sysinfo si; >+ sysinfo(&si); >+ screen->ram_size = si.totalram; >++#else >++ screen->ram_size = sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGE_SIZE); >++#endif >+ >+ DBG("Pipe Info:"); >+ DBG(" GPU-id: %d", screen->gpu_id); >diff --git a/graphics/mesa-dri/files/patch-src_util_os__time.c b/graphics/mesa-dri/files/patch-src_util_os__time.c >index cce12d16316d..46c1a4e07b37 100644 >--- a/graphics/mesa-dri/files/patch-src_util_os__time.c >+++ b/graphics/mesa-dri/files/patch-src_util_os__time.c >@@ -1,16 +1,7 @@ > - Use monotonic clock for timeouts > >---- src/util/os_time.c.orig 2018-01-23 18:08:50 UTC >+--- src/util/os_time.c.orig 2018-04-21 05:48:25 UTC > +++ src/util/os_time.c >-@@ -55,7 +55,7 @@ >- int64_t >- os_time_get_nano(void) >- { >--#if defined(PIPE_OS_LINUX) >-+#if defined(PIPE_OS_BSD) || defined(PIPE_OS_LINUX) >- >- struct timespec tv; >- clock_gettime(CLOCK_MONOTONIC, &tv); > @@ -95,7 +95,7 @@ os_time_get_nano(void) > void > os_time_sleep(int64_t usecs)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227685
:
192719
|
192860
|
192884
|
193049
|
193319
|
193545
|
193555
|
193822