summaryrefslogtreecommitdiff
path: root/x11-misc/nvidia-settings/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-03-07 18:44:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-03-07 18:44:03 +0000
commit44f3ef71249aa62af2086ceb18046ecc68ba6d43 (patch)
tree17d59e7037f103f7c730cc3a746aae108667ca99 /x11-misc/nvidia-settings/files
parent06ed2d7d2e127f80b97ec707c00b3c7ac66b1980 (diff)
nvidia drivers 440xx : version bump (v440.64)
Diffstat (limited to 'x11-misc/nvidia-settings/files')
-rw-r--r--x11-misc/nvidia-settings/files/nvidia-settings-fno-common.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-misc/nvidia-settings/files/nvidia-settings-fno-common.patch b/x11-misc/nvidia-settings/files/nvidia-settings-fno-common.patch
new file mode 100644
index 00000000..be03fa27
--- /dev/null
+++ b/x11-misc/nvidia-settings/files/nvidia-settings-fno-common.patch
@@ -0,0 +1,22 @@
+--- a/src/gtk+-2.x/ctkvdpau.c
++++ b/src/gtk+-2.x/ctkvdpau.c
+@@ -103,6 +103,8 @@
+ const gchar* __video_mixer_attribute_help =
+ "This shows the video mixer attributes and any applicable ranges.";
+
++struct VDPAUDeviceImpl VDPAUDeviceFunctions;
++
+ static int queryOutputSurface(CtkVDPAU *ctk_vdpau, VdpDevice device,
+ VdpGetProcAddress *getProcAddress);
+
+--- a/src/gtk+-2.x/ctkvdpau.h
++++ b/src/gtk+-2.x/ctkvdpau.h
+@@ -46,7 +46,7 @@
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), CTK_TYPE_VDPAU, CtkVDPAUClass))
+
+
+-struct VDPAUDeviceImpl {
++extern struct VDPAUDeviceImpl {
+
+ VdpGetErrorString *GetErrorString;
+ VdpGetProcAddress *GetProcAddress;