You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-drivers/nvidia-drivers/files/nvidia-settings-390.141-fno...

17 lines
478 B

Fix compilation with -fno-common or gcc10
https://bugs.gentoo.org/706742
--- a/nvidia-settings/src/gtk+-2.x/ctkvdpau.c
+++ b/nvidia-settings/src/gtk+-2.x/ctkvdpau.c
@@ -105,2 +105,4 @@
+struct VDPAUDeviceImpl VDPAUDeviceFunctions;
+
static int queryOutputSurface(CtkVDPAU *ctk_vdpau, VdpDevice device,
--- a/nvidia-settings/src/gtk+-2.x/ctkvdpau.h
+++ b/nvidia-settings/src/gtk+-2.x/ctkvdpau.h
@@ -48,3 +48,3 @@
-struct VDPAUDeviceImpl {
+extern struct VDPAUDeviceImpl {