summaryrefslogtreecommitdiff
path: root/x11-misc/nvidia-settings/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-22 15:54:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-22 15:54:43 +0100
commit19571f577cb686e34897cb7dcb83140d6821d53a (patch)
tree1e0a596eeea38f6e74e98577f649fdc6c8778e39 /x11-misc/nvidia-settings/files
parent6434a9bd033fef782448018e1decc309ecdcc93a (diff)
x11-misc/nvidia-settings : add a new slotted ebuild, add a linker patch, EAPI bump
Diffstat (limited to 'x11-misc/nvidia-settings/files')
-rw-r--r--x11-misc/nvidia-settings/files/nvidia-settings-linker.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-misc/nvidia-settings/files/nvidia-settings-linker.patch b/x11-misc/nvidia-settings/files/nvidia-settings-linker.patch
new file mode 100644
index 00000000..de65a598
--- /dev/null
+++ b/x11-misc/nvidia-settings/files/nvidia-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 \