commit:     c55d18a4c4ecb8ded40594ed5466543455606c91
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat May  1 17:52:37 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat May  1 20:44:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55d18a4

dev-libs/elfutils: remove unused patches

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/20633
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../files/elfutils-0.179-CC-in-tests.patch         | 45 ----------------------
 .../files/elfutils-0.181-CC-in-tests-p2.patch      | 34 ----------------
 2 files changed, 79 deletions(-)

diff --git a/dev-libs/elfutils/files/elfutils-0.179-CC-in-tests.patch 
b/dev-libs/elfutils/files/elfutils-0.179-CC-in-tests.patch
deleted file mode 100644
index aa58862ec89..00000000000
--- a/dev-libs/elfutils/files/elfutils-0.179-CC-in-tests.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-https://bugs.gentoo.org/718872
---- a/tests/run-disasm-x86-64.sh
-+++ b/tests/run-disasm-x86-64.sh
-@@ -22,7 +22,7 @@ case "`uname -m`" in
-   x86_64)
-     tempfiles testfile45.o
-     testfiles testfile45.S testfile45.expect
--    gcc -m64 -c -o testfile45.o testfile45.S
-+    ${CC-gcc} -m64 -c -o testfile45.o testfile45.S
-     testrun_compare ${abs_top_builddir}/src/objdump -d testfile45.o < 
testfile45.expect
-     ;;
- esac
---- a/tests/run-disasm-x86.sh
-+++ b/tests/run-disasm-x86.sh
-@@ -22,7 +22,7 @@ case "`uname -m`" in
-   x86_64 | i?86 )
-     tempfiles testfile44.o
-     testfiles testfile44.S testfile44.expect
--    gcc -m32 -c -o testfile44.o testfile44.S
-+    ${CC-gcc} -m32 -c -o testfile44.o testfile44.S
-     testrun_compare ${abs_top_builddir}/src/objdump -d testfile44.o < 
testfile44.expect
-     ;;
- esac
---- a/tests/run-strip-g.sh
-+++ b/tests/run-strip-g.sh
-@@ -25,7 +25,7 @@
- tempfiles a.out strip.out debug.out readelf.out
- 
- echo Create debug a.out.
--echo "int main() { return 1; }" | gcc -g -xc -
-+echo "int main() { return 1; }" | ${CC-gcc} -g -xc -
- 
- echo strip -g to file with debug file
- testrun ${abs_top_builddir}/src/strip -g -o strip.out -f debug.out ||
---- a/tests/run-strip-nothing.sh
-+++ b/tests/run-strip-nothing.sh
-@@ -23,7 +23,7 @@
- tempfiles a.out strip.out debug.out
- 
- # Create no-debug a.out.
--echo "int main() { return 1; }" | gcc -s -xc -
-+echo "int main() { return 1; }" | ${CC-gcc} -s -xc -
- 
- # strip to file
- testrun ${abs_top_builddir}/src/strip -g -o strip.out ||

diff --git a/dev-libs/elfutils/files/elfutils-0.181-CC-in-tests-p2.patch 
b/dev-libs/elfutils/files/elfutils-0.181-CC-in-tests-p2.patch
deleted file mode 100644
index 63c0ed0cb60..00000000000
--- a/dev-libs/elfutils/files/elfutils-0.181-CC-in-tests-p2.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- a/tests/run-test-includes.sh
-+++ b/tests/run-test-includes.sh
-@@ -3,24 +3,24 @@
- . $srcdir/test-subr.sh
- 
- echo '#include "libelf.h"' \
--  | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
-+  | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
- echo '#include "gelf.h"' \
--  | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
-+  | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
- 
- echo '#include "dwarf.h"' \
--  | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+  | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-         -I ${abs_srcdir}/../libdw -xc -
- echo '#include "libdw.h"' \
--  | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+  | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-         -I ${abs_srcdir}/../libdw -xc -
- 
- echo '#include "libdwfl.h"' \
--  | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+  | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-     -I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwfl -xc -
- echo '#include "libdwelf.h"' \
--  | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+  | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-     -I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwelf -xc -
- 
- echo '#include "libasm.h"' \
--  | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+  | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-     -I ${abs_srcdir}/../libasm -xc -

Reply via email to