SHA256
1
0
forked from pool/Mesa
Mesa/U_0006-nouveau-nvc0-add-extern-keyword-to-nvc0_miptree_vtbl.patch
Stefan Dirsch 3c02115d0a - U_0001-gallium-Fix-a-couple-of-multiple-definition-warnings.patch
U_0002-r600-Move-get_pic_param-to-radeon_vce.c.patch
  U_0003-radeon-Move-si_get_pic_param-to-radeon_vce.c.patch
  U_0004-radeon-Fix-multiple-definition-error-with-radeon_deb.patch
  U_0005-radv-Remove-syncobj_handle-variable-in-header.patch
  U_0006-nouveau-nvc0-add-extern-keyword-to-nvc0_miptree_vtbl.patch
  * fixes build with gcc10 using -fno-common as default now (boo#1160578)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=911
2020-01-22 16:10:11 +00:00

31 lines
1.2 KiB
Diff

From 28eb481bc2156ccc07c106ab517c2a3a42a53de1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timur=20Krist=C3=B3f?= <timur.kristof@gmail.com>
Date: Tue, 21 Jan 2020 17:11:22 +0100
Subject: [PATCH] nouveau/nvc0: add extern keyword to nvc0_miptree_vtbl.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
---
src/gallium/drivers/nouveau/nvc0/nvc0_resource.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_resource.h b/src/gallium/drivers/nouveau/nvc0/nvc0_resource.h
index b24fca004ca..78a1d79261e 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_resource.h
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_resource.h
@@ -38,7 +38,7 @@ nvc0_miptree_create(struct pipe_screen *pscreen,
const struct pipe_resource *tmp,
const uint64_t *modifiers, unsigned int count);
-const struct u_resource_vtbl nvc0_miptree_vtbl;
+extern const struct u_resource_vtbl nvc0_miptree_vtbl;
struct pipe_surface *
nvc0_miptree_surface_new(struct pipe_context *,
--
2.16.4