diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-16 15:52:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-16 15:52:07 +0100 |
commit | 65c73b332292cf97e537ae4c345cf352dc53fe5e (patch) | |
tree | f0e94d135fb31ceaa4b6634480fd22179c8b3cf3 /x11-misc/nvidia-settings/files/nvidia-settings-fno-common.patch | |
parent | ee301fa587e961154b4a0094772893680c456bf7 (diff) |
x11-drivers/nvidia-drivers : reorganise things so we support multiple versions
Diffstat (limited to 'x11-misc/nvidia-settings/files/nvidia-settings-fno-common.patch')
-rw-r--r-- | x11-misc/nvidia-settings/files/nvidia-settings-fno-common.patch | 22 |
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; |