Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/
Date: Sat, 01 May 2021 20:44:31
Message-Id: 1619901863.c55d18a4c4ecb8ded40594ed5466543455606c91.slyfox@gentoo
1 commit: c55d18a4c4ecb8ded40594ed5466543455606c91
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Sat May 1 17:52:37 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat May 1 20:44:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55d18a4
7
8 dev-libs/elfutils: remove unused patches
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Closes: https://github.com/gentoo/gentoo/pull/20633
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 .../files/elfutils-0.179-CC-in-tests.patch | 45 ----------------------
16 .../files/elfutils-0.181-CC-in-tests-p2.patch | 34 ----------------
17 2 files changed, 79 deletions(-)
18
19 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
20 deleted file mode 100644
21 index aa58862ec89..00000000000
22 --- a/dev-libs/elfutils/files/elfutils-0.179-CC-in-tests.patch
23 +++ /dev/null
24 @@ -1,45 +0,0 @@
25 -https://bugs.gentoo.org/718872
26 ---- a/tests/run-disasm-x86-64.sh
27 -+++ b/tests/run-disasm-x86-64.sh
28 -@@ -22,7 +22,7 @@ case "`uname -m`" in
29 - x86_64)
30 - tempfiles testfile45.o
31 - testfiles testfile45.S testfile45.expect
32 -- gcc -m64 -c -o testfile45.o testfile45.S
33 -+ ${CC-gcc} -m64 -c -o testfile45.o testfile45.S
34 - testrun_compare ${abs_top_builddir}/src/objdump -d testfile45.o < testfile45.expect
35 - ;;
36 - esac
37 ---- a/tests/run-disasm-x86.sh
38 -+++ b/tests/run-disasm-x86.sh
39 -@@ -22,7 +22,7 @@ case "`uname -m`" in
40 - x86_64 | i?86 )
41 - tempfiles testfile44.o
42 - testfiles testfile44.S testfile44.expect
43 -- gcc -m32 -c -o testfile44.o testfile44.S
44 -+ ${CC-gcc} -m32 -c -o testfile44.o testfile44.S
45 - testrun_compare ${abs_top_builddir}/src/objdump -d testfile44.o < testfile44.expect
46 - ;;
47 - esac
48 ---- a/tests/run-strip-g.sh
49 -+++ b/tests/run-strip-g.sh
50 -@@ -25,7 +25,7 @@
51 - tempfiles a.out strip.out debug.out readelf.out
52 -
53 - echo Create debug a.out.
54 --echo "int main() { return 1; }" | gcc -g -xc -
55 -+echo "int main() { return 1; }" | ${CC-gcc} -g -xc -
56 -
57 - echo strip -g to file with debug file
58 - testrun ${abs_top_builddir}/src/strip -g -o strip.out -f debug.out ||
59 ---- a/tests/run-strip-nothing.sh
60 -+++ b/tests/run-strip-nothing.sh
61 -@@ -23,7 +23,7 @@
62 - tempfiles a.out strip.out debug.out
63 -
64 - # Create no-debug a.out.
65 --echo "int main() { return 1; }" | gcc -s -xc -
66 -+echo "int main() { return 1; }" | ${CC-gcc} -s -xc -
67 -
68 - # strip to file
69 - testrun ${abs_top_builddir}/src/strip -g -o strip.out ||
70
71 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
72 deleted file mode 100644
73 index 63c0ed0cb60..00000000000
74 --- a/dev-libs/elfutils/files/elfutils-0.181-CC-in-tests-p2.patch
75 +++ /dev/null
76 @@ -1,34 +0,0 @@
77 ---- a/tests/run-test-includes.sh
78 -+++ b/tests/run-test-includes.sh
79 -@@ -3,24 +3,24 @@
80 - . $srcdir/test-subr.sh
81 -
82 - echo '#include "libelf.h"' \
83 -- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
84 -+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
85 - echo '#include "gelf.h"' \
86 -- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
87 -+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
88 -
89 - echo '#include "dwarf.h"' \
90 -- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
91 -+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
92 - -I ${abs_srcdir}/../libdw -xc -
93 - echo '#include "libdw.h"' \
94 -- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
95 -+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
96 - -I ${abs_srcdir}/../libdw -xc -
97 -
98 - echo '#include "libdwfl.h"' \
99 -- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
100 -+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
101 - -I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwfl -xc -
102 - echo '#include "libdwelf.h"' \
103 -- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
104 -+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
105 - -I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwelf -xc -
106 -
107 - echo '#include "libasm.h"' \
108 -- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
109 -+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
110 - -I ${abs_srcdir}/../libasm -xc -