summaryrefslogtreecommitdiff
path: root/x11-misc/nvidia-legacy-settings/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 00:57:10 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 00:57:10 +0000
commite4bfdb47132ba559d3f205c38c6fd05f3b84d1e5 (patch)
treed90e397a95f4c7dc554180d079062fa048477d7f /x11-misc/nvidia-legacy-settings/files
parent721e5c85cea97b8daff045a9640c45c37b4b5bfb (diff)
move : x11-misc/nvidia-settings:0/390132 -> x11-misc/nvidia-legacy-settings
Diffstat (limited to 'x11-misc/nvidia-legacy-settings/files')
-rw-r--r--x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch22
-rw-r--r--x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings.desktop8
2 files changed, 30 insertions, 0 deletions
diff --git a/x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch b/x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch
new file mode 100644
index 00000000..de65a598
--- /dev/null
+++ b/x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings-linker.patch
@@ -0,0 +1,22 @@
+--- a/utils.mk
++++ b/utils.mk
+@@ -475,7 +475,7 @@
+ define READ_ONLY_OBJECT_FROM_FILE_RULE
+ $$(OUTPUTDIR)/$$(notdir $(1)).o: $(1)
+ $(at_if_quiet)cd $$(dir $(1)); \
+- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \
++ $$(call quiet_cmd_no_at,NVLD) -r -z noexecstack --format=binary \
+ $$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@)
+ $$(call quiet_cmd,OBJCOPY) \
+ --rename-section .data=.rodata,contents,alloc,load,data,readonly \
+--- a/src/libXNVCtrl/utils.mk
++++ b/src/libXNVCtrl/utils.mk
+@@ -475,7 +475,7 @@
+ define READ_ONLY_OBJECT_FROM_FILE_RULE
+ $$(OUTPUTDIR)/$$(notdir $(1)).o: $(1)
+ $(at_if_quiet)cd $$(dir $(1)); \
+- $$(call quiet_cmd_no_at,LD) -r -z noexecstack --format=binary \
++ $$(call quiet_cmd_no_at,NVLD) -r -z noexecstack --format=binary \
+ $$(notdir $(1)) -o $$(OUTPUTDIR_ABSOLUTE)/$$(notdir $$@)
+ $$(call quiet_cmd,OBJCOPY) \
+ --rename-section .data=.rodata,contents,alloc,load,data,readonly \
diff --git a/x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings.desktop b/x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings.desktop
new file mode 100644
index 00000000..35f8aeee
--- /dev/null
+++ b/x11-misc/nvidia-legacy-settings/files/nvidia-legacy-settings.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=NVIDIA X Server Settings
+Type=Application
+Comment=NVIDIA Linux X11 Settings Utility
+Exec=nvidia-settings
+TryExec=nvidia-settings
+Icon=nvidia-settings
+Categories=Settings;System;