diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-03-24 21:17:32 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-03-25 10:31:43 -0700 |
commit | 996809d1fca2495641195e1d708bdbf962acc69c (patch) | |
tree | 43ce06ff761baed92f8bc458dfda0060201a3e86 /sys-apps/likwid/files | |
parent | media-libs/lsp-plugins: use ED for distdir (diff) | |
download | gentoo-996809d1fca2495641195e1d708bdbf962acc69c.tar.gz gentoo-996809d1fca2495641195e1d708bdbf962acc69c.tar.bz2 gentoo-996809d1fca2495641195e1d708bdbf962acc69c.zip |
sys-apps/likwid: re-add package, with major cleanups
Includes some preparation for the next upstream release.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --force
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sys-apps/likwid/files')
-rw-r--r-- | sys-apps/likwid/files/likwid-4.3.1-fix-gnustack.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/likwid/files/likwid-4.3.1-fix-gnustack.patch b/sys-apps/likwid/files/likwid-4.3.1-fix-gnustack.patch new file mode 100644 index 000000000000..c543a6ccd2d3 --- /dev/null +++ b/sys-apps/likwid/files/likwid-4.3.1-fix-gnustack.patch @@ -0,0 +1,32 @@ +--- likwid-likwid-4.3.1/bench/Makefile.org 2018-02-26 14:03:17.706837535 +0800 ++++ likwid-likwid-4.3.1/bench/Makefile 2018-02-26 14:04:19.427195208 +0800 +@@ -115,6 +115,7 @@ + $(BUILD_DIR)/%.o: $(BUILD_DIR)/%.pas + @echo "===> ASSEMBLE $@" + $(Q)$(PAS) -i $(PASFLAGS) -o $(BUILD_DIR)/$*.s $< '$(DEFINES)' ++ @cat ../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 ++++ likwid-likwid-4.1.1/fix_gnustack.txt +@@ -0,0 +1,3 @@ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif + +--- likwid-likwid-4.3.1/src/loadData.S.org 2018-02-26 14:06:16.418872121 +0800 ++++ likwid-likwid-4.3.1/src/loadData.S 2018-02-26 14:19:03.281289307 +0800 +@@ -41,4 +41,6 @@ + #endif + .size _loadData, .-_loadData + +- ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif + |