diff options
Diffstat (limited to 'x11-drivers/nvidia-drivers/files')
3 files changed, 32 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-desktop.patch b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-desktop.patch new file mode 100644 index 000000000000..a00545ad6044 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-desktop.patch @@ -0,0 +1,12 @@ +For icon: https://github.com/NVIDIA/nvidia-settings/pull/56 +--- a/nvidia-settings/doc/nvidia-settings.desktop ++++ b/nvidia-settings/doc/nvidia-settings.desktop +@@ -5,5 +5,5 @@ + Comment=Configure NVIDIA X Server Settings +-Exec=__UTILS_PATH__/nvidia-settings +-Icon=__PIXMAP_PATH__/nvidia-settings.png +-Categories=__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__ ++Exec=nvidia-settings ++Icon=nvidia-settings ++Categories=System;HardwareSettings; + diff --git a/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-no-gtk2.patch b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-no-gtk2.patch new file mode 100644 index 000000000000..d1689ee27280 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-no-gtk2.patch @@ -0,0 +1,11 @@ +--- a/nvidia-settings/src/Makefile ++++ b/nvidia-settings/src/Makefile +@@ -132,3 +132,2 @@ + GTK2LIB_DIR = $(OUTPUTDIR)/gtk2 +-GTK2LIB = $(OUTPUTDIR)/$(GTK2LIB_NAME) + GTK2LIB_SONAME = $(GTK2LIB_NAME).$(NVIDIA_SETTINGS_VERSION) +@@ -276,4 +275,2 @@ + $(MKDIR) $(LIBDIR) +- $(INSTALL) $(INSTALL_LIB_ARGS) $(GTK2LIB) \ +- $(LIBDIR)/$(GTK2LIB_SONAME) + ifdef BUILD_GTK3LIB diff --git a/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-raw-ldflags.patch b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-raw-ldflags.patch new file mode 100644 index 000000000000..f815dadce704 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-settings-390.144-raw-ldflags.patch @@ -0,0 +1,9 @@ +Currently need to pass ABI flags if LD is ld.lld for USE=tools +ld.lld: error: target emulation unknown: -m or at least one .o file required +--- a/nvidia-settings/utils.mk ++++ b/nvidia-settings/utils.mk +@@ -477,3 +477,3 @@ + $(at_if_quiet)cd $$(dir $(1)); \ +- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \ ++ $$(call quiet_cmd_no_at,LD) $$(RAW_LDFLAGS) -r -z noexecstack --format=binary \ + $$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@) |