summaryrefslogtreecommitdiff
path: root/x11-misc/nvidia-settings
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
parent06ed2d7d2e127f80b97ec707c00b3c7ac66b1980 (diff)
nvidia drivers 440xx : version bump (v440.64)
Diffstat (limited to 'x11-misc/nvidia-settings')
-rw-r--r--x11-misc/nvidia-settings/Manifest2
-rw-r--r--x11-misc/nvidia-settings/files/nvidia-settings-fno-common.patch22
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-440.64.ebuild (renamed from x11-misc/nvidia-settings/nvidia-settings-440.44-r1.ebuild)3
3 files changed, 25 insertions, 2 deletions
diff --git a/x11-misc/nvidia-settings/Manifest b/x11-misc/nvidia-settings/Manifest
index 031fb6ab..705b140c 100644
--- a/x11-misc/nvidia-settings/Manifest
+++ b/x11-misc/nvidia-settings/Manifest
@@ -1 +1 @@
-DIST nvidia-settings-440.44.tar.gz 1314352 BLAKE2B 5708f24bd98cf01064e5cc7eca8f6109d2072996a8ac9f77db1ccbc3e3995c28f6dec2e74729fddf0a7be324193b089835e30d9acb0bf3ae58592dad48914c9d SHA512 5826a5915f0ed50ab80f442d005668dc876565233eb0f36723db5047d7592ca9b81ebfa824bc04f5275792d8b34bb457a7db173d1bdf464df7a186bfc528da1d
+DIST nvidia-settings-440.64.tar.gz 1314493 BLAKE2B e93bdd125c0d31651a390dd93dd7932116a008e0ca23c3d7457e18759ba9b10fc3f36ae00d67505161627c4a0d04258c4f27013d2bc28d58aa672e978e1e65a1 SHA512 dab4148f85cb4f7379a2bff3d4bb6c09510b6ccec6a8520b4896968c00d3ec3bdcb468b6f15a6a33cd10e6c060d95d053a20fa6431e22341f946ead931748322
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;
diff --git a/x11-misc/nvidia-settings/nvidia-settings-440.44-r1.ebuild b/x11-misc/nvidia-settings/nvidia-settings-440.64.ebuild
index d589dd08..6e22c7d7 100644
--- a/x11-misc/nvidia-settings/nvidia-settings-440.44-r1.ebuild
+++ b/x11-misc/nvidia-settings/nvidia-settings-440.64.ebuild
@@ -41,7 +41,8 @@ DEPEND="${RDEPEND}
src_prepare() {
default
- eapply "${FILESDIR}"/nvidia-settings-linker.patch
+ eapply "${FILESDIR}"/"${PN}"-linker.patch
+ eapply "${FILESDIR}"/"${PN}"-fno-common.patch
}