diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-06-05 18:49:51 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2020-06-05 18:49:51 +0000 |
commit | 51c873e1b01a55e46b7db4b5ab1a1245d9c4b7a0 (patch) | |
tree | 037b5d62c3739b00a435f082054e312e8af09716 /graphics/mesa-dri/files | |
parent | ba3f92c5014f19455000c21b4b1bb4861dfdb22f (diff) | |
download | ports-51c873e1b01a55e46b7db4b5ab1a1245d9c4b7a0.tar.gz ports-51c873e1b01a55e46b7db4b5ab1a1245d9c4b7a0.zip |
Notes
Diffstat (limited to 'graphics/mesa-dri/files')
3 files changed, 0 insertions, 55 deletions
diff --git a/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in b/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in deleted file mode 100644 index 373a5dcf2a0b..000000000000 --- a/graphics/mesa-dri/files/extra-src_gallium_drivers_vc4_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/gallium/drivers/vc4/Makefile.in.orig 2017-10-02 15:49:15 UTC -+++ src/gallium/drivers/vc4/Makefile.in -@@ -677,7 +677,7 @@ noinst_LTLIBRARIES = libvc4.la $(am__app - libvc4_la_SOURCES = $(C_SOURCES) - libvc4_la_LIBADD = $(SIM_LIB) $(am__append_5) - @HAVE_ARM_ASM_TRUE@libvc4_neon_la_SOURCES = $(NEON_C_SOURCES) --@HAVE_ARM_ASM_TRUE@libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -mfpu=neon -+@HAVE_ARM_ASM_TRUE@libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -march=armv7-a -mfpu=neon - libvc4_la_LDFLAGS = $(SIM_LDFLAGS) - EXTRA_DIST = kernel/README - all: all-am 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 deleted file mode 100644 index 2f35eb0307c8..000000000000 --- a/graphics/mesa-dri/files/patch-src_gallium_drivers_freedreno_freedreno__screen.c +++ /dev/null @@ -1,30 +0,0 @@ -- 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_gallium_drivers_vc4_vc4__bufmgr.c b/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_vc4__bufmgr.c deleted file mode 100644 index d97fc81097c5..000000000000 --- a/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_vc4__bufmgr.c +++ /dev/null @@ -1,14 +0,0 @@ -# define ETIME as ETIMEOUT same as in intel driver -# ---- src/gallium/drivers/vc4/vc4_bufmgr.c.orig 2017-05-10 14:13:57 UTC -+++ src/gallium/drivers/vc4/vc4_bufmgr.c -@@ -27,6 +27,9 @@ - #include <fcntl.h> - #include <xf86drm.h> - #include <xf86drmMode.h> -+#ifndef ETIME -+#define ETIME ETIMEDOUT -+#endif - - #include "util/u_hash_table.h" - #include "util/u_memory.h" |