summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-08-25 00:22:24 +0800
committerIan Delaney <idella4@gentoo.org>2015-08-25 00:22:24 +0800
commit10cd91a253aeb95771eb745363414685b3a78c9a (patch)
treef7e4e7dd7e632d8271a8debd6ffb7492b5212a15 /sys-apps/likwid/files/likwid-4.0.1-fix-gnustack.patch
parentkde-frameworks/kwallet: backport patch from upstream to avoid unwanted migrat... (diff)
downloadgentoo-10cd91a253aeb95771eb745363414685b3a78c9a.tar.gz
gentoo-10cd91a253aeb95771eb745363414685b3a78c9a.tar.bz2
gentoo-10cd91a253aeb95771eb745363414685b3a78c9a.zip
sys-apps/likwid: bump; new patches supporting changes
All patches by maintainer (undersys), fixes bug #558402 Package-Manager: portage-2.2.20
Diffstat (limited to 'sys-apps/likwid/files/likwid-4.0.1-fix-gnustack.patch')
-rw-r--r--sys-apps/likwid/files/likwid-4.0.1-fix-gnustack.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/likwid/files/likwid-4.0.1-fix-gnustack.patch b/sys-apps/likwid/files/likwid-4.0.1-fix-gnustack.patch
new file mode 100644
index 000000000000..a0eaadf6cec1
--- /dev/null
+++ b/sys-apps/likwid/files/likwid-4.0.1-fix-gnustack.patch
@@ -0,0 +1,31 @@
+--- bench/Makefile.org 2015-08-22 13:56:17.242177531 +0800
++++ bench/Makefile 2015-08-22 13:56:46.985086094 +0800
+@@ -118,6 +118,7 @@
+ $(BUILD_DIR)/%.o: $(BUILD_DIR)/%.pas
+ @echo "===> ASSEMBLE $@"
+ $(Q)$(PAS) -i $(PASFLAGS) -o $(BUILD_DIR)/$*.s $< '$(DEFINES)'
++ @cat ../b/fix_gnustack.txt >> $(BUILD_DIR)/$*.s
+ $(Q)$(AS) $(ASFLAGS) $(BUILD_DIR)/$*.s -o $@
+
+ ifeq ($(findstring $(MAKECMDGOALS),clean),)
+
+diff --git a/fix_gnustack.txt b/fix_gnustack.txt
+new file mode 100644
+index 0000000..965af94
+--- /dev/null
++++ b/fix_gnustack.txt
+@@ -0,0 +1,3 @@
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+
+--- src/loadData.S.org 2015-08-22 14:26:28.634629884 +0800
++++ src/loadData.S 2015-08-22 14:28:42.247210117 +0800
+@@ -41,4 +41,6 @@
+ #endif
+ .size _loadData, .-_loadData
+
+-
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif