1 |
commit: 38c4e6130d616269ba70a8f1bef4e38fda68da3f |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 30 18:30:52 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 2 18:08:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38c4e613 |
7 |
|
8 |
sys-apps/dtc: drop 1.5.0, 1.5.0-r2, EAPI-6-- |
9 |
|
10 |
Closes: https://bugs.gentoo.org/743977 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
sys-apps/dtc/Manifest | 1 - |
14 |
sys-apps/dtc/dtc-1.5.0-r2.ebuild | 87 ---------------------- |
15 |
sys-apps/dtc/dtc-1.5.0.ebuild | 59 --------------- |
16 |
sys-apps/dtc/files/dtc-1.4.4-posix-shell.patch | 48 ------------ |
17 |
.../dtc-1.5.0-fdt_check_full-visibility.patch | 12 --- |
18 |
sys-apps/dtc/files/dtc-1.5.0-gcc-10.patch | 50 ------------- |
19 |
6 files changed, 257 deletions(-) |
20 |
|
21 |
diff --git a/sys-apps/dtc/Manifest b/sys-apps/dtc/Manifest |
22 |
index ce7f0fee1d6b..993154b8a266 100644 |
23 |
--- a/sys-apps/dtc/Manifest |
24 |
+++ b/sys-apps/dtc/Manifest |
25 |
@@ -1,2 +1 @@ |
26 |
-DIST dtc-1.5.0.tar.xz 152936 BLAKE2B 4ad9cf8f8fd0ccde0c7b8b66c0039eb9b012ed26e51387c06c03fa7950ca194878bbb23b50be5b80c4d4e18140d6316092a9f0eea87e5d713856635dcfc1b0ec SHA512 fd1e692a1b7bf7987f921ad17d9be6719f7b3aa7915873b45fa86f4ecb1398a0a62cdf53c1fddf98a0f7fed9bf34a79f684018bd01a2b5e88746b50879bf7102 |
27 |
DIST dtc-1.6.0.tar.xz 158584 BLAKE2B 47b15b5df7f5d87369d6daaad87f2989a80865f2fab19f89d050d390a9f8319bcd86a36e12f7cc8d62947bb4d1335769071d0e3ea0a6e16861aea163e78f4696 SHA512 15433b24f1d6b7ed1f8066d050bd1bcbf988731aa38147564e3dd04b5f69af8d69e03befdc621a768526c620425a9bdd24aad4f9ff135930d6a1eeb0625f7de3 |
28 |
|
29 |
diff --git a/sys-apps/dtc/dtc-1.5.0-r2.ebuild b/sys-apps/dtc/dtc-1.5.0-r2.ebuild |
30 |
deleted file mode 100644 |
31 |
index 3394d77c0623..000000000000 |
32 |
--- a/sys-apps/dtc/dtc-1.5.0-r2.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,87 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
-inherit multilib toolchain-funcs |
40 |
- |
41 |
-if [[ ${PV} == "9999" ]] ; then |
42 |
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" |
43 |
- inherit git-r3 |
44 |
-else |
45 |
- SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz" |
46 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
47 |
-fi |
48 |
- |
49 |
-DESCRIPTION="Open Firmware device tree compiler" |
50 |
-HOMEPAGE="https://devicetree.org/ https://git.kernel.org/cgit/utils/dtc/dtc.git/" |
51 |
- |
52 |
-LICENSE="GPL-2" |
53 |
-SLOT="0" |
54 |
-IUSE="static-libs yaml" |
55 |
- |
56 |
-BDEPEND=" |
57 |
- sys-devel/bison |
58 |
- sys-devel/flex |
59 |
- virtual/pkgconfig |
60 |
-" |
61 |
-RDEPEND="yaml? ( dev-libs/libyaml )" |
62 |
-DEPEND="${RDEPEND}" |
63 |
- |
64 |
-DOCS=" |
65 |
- Documentation/dt-object-internal.txt |
66 |
- Documentation/dts-format.txt |
67 |
- Documentation/manual.txt |
68 |
-" |
69 |
- |
70 |
-PATCHES=( |
71 |
- "${FILESDIR}"/${PN}-1.4.4-posix-shell.patch |
72 |
- "${FILESDIR}"/${PN}-1.5.0-fdt_check_full-visibility.patch |
73 |
- "${FILESDIR}"/${PN}-1.5.0-gcc-10.patch |
74 |
-) |
75 |
- |
76 |
-_emake() { |
77 |
- # valgrind is used only in 'make checkm' |
78 |
- emake \ |
79 |
- NO_PYTHON=1 \ |
80 |
- NO_VALGRIND=1 \ |
81 |
- NO_YAML=$(usex !yaml 1 0) \ |
82 |
- \ |
83 |
- AR="$(tc-getAR)" \ |
84 |
- CC="$(tc-getCC)" \ |
85 |
- PKG_CONFIG="$(tc-getPKG_CONFIG)" \ |
86 |
- \ |
87 |
- V=1 \ |
88 |
- \ |
89 |
- PREFIX="${EPREFIX}/usr" \ |
90 |
- \ |
91 |
- LIBDIR="\$(PREFIX)/$(get_libdir)" \ |
92 |
- \ |
93 |
- "$@" |
94 |
-} |
95 |
- |
96 |
-src_prepare() { |
97 |
- default |
98 |
- |
99 |
- sed -i \ |
100 |
- -e '/^CFLAGS =/s:=:+=:' \ |
101 |
- -e '/^CPPFLAGS =/s:=:+=:' \ |
102 |
- -e 's:-Werror::' \ |
103 |
- -e 's:-g -Os::' \ |
104 |
- Makefile || die |
105 |
- |
106 |
- tc-export AR CC PKG_CONFIG |
107 |
-} |
108 |
- |
109 |
-src_compile() { |
110 |
- _emake |
111 |
-} |
112 |
- |
113 |
-src_test() { |
114 |
- _emake check |
115 |
-} |
116 |
- |
117 |
-src_install() { |
118 |
- _emake DESTDIR="${D}" install |
119 |
- |
120 |
- use static-libs || find "${ED}" -name '*.a' -delete |
121 |
-} |
122 |
|
123 |
diff --git a/sys-apps/dtc/dtc-1.5.0.ebuild b/sys-apps/dtc/dtc-1.5.0.ebuild |
124 |
deleted file mode 100644 |
125 |
index 1a41da72cf8f..000000000000 |
126 |
--- a/sys-apps/dtc/dtc-1.5.0.ebuild |
127 |
+++ /dev/null |
128 |
@@ -1,59 +0,0 @@ |
129 |
-# Copyright 1999-2021 Gentoo Authors |
130 |
-# Distributed under the terms of the GNU General Public License v2 |
131 |
- |
132 |
-EAPI=6 |
133 |
-inherit multilib toolchain-funcs |
134 |
- |
135 |
-if [[ ${PV} == "9999" ]] ; then |
136 |
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" |
137 |
- inherit git-r3 |
138 |
-else |
139 |
- SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz" |
140 |
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" |
141 |
-fi |
142 |
- |
143 |
-DESCRIPTION="Open Firmware device tree compiler" |
144 |
-HOMEPAGE="https://devicetree.org/ https://git.kernel.org/cgit/utils/dtc/dtc.git/" |
145 |
- |
146 |
-LICENSE="GPL-2" |
147 |
-SLOT="0" |
148 |
-IUSE="static-libs" |
149 |
- |
150 |
-DEPEND=" |
151 |
- sys-devel/bison |
152 |
- sys-devel/flex |
153 |
- virtual/pkgconfig |
154 |
-" |
155 |
-DOCS=" |
156 |
- Documentation/dt-object-internal.txt |
157 |
- Documentation/dts-format.txt |
158 |
- Documentation/manual.txt |
159 |
-" |
160 |
- |
161 |
-PATCHES=( |
162 |
- "${FILESDIR}"/${PN}-1.4.4-posix-shell.patch |
163 |
- "${FILESDIR}"/${PN}-1.5.0-fdt_check_full-visibility.patch |
164 |
- "${FILESDIR}"/${PN}-1.5.0-gcc-10.patch |
165 |
-) |
166 |
- |
167 |
-src_prepare() { |
168 |
- default |
169 |
- |
170 |
- sed -i \ |
171 |
- -e '/^CFLAGS =/s:=:+=:' \ |
172 |
- -e '/^CPPFLAGS =/s:=:+=:' \ |
173 |
- -e 's:-Werror::' \ |
174 |
- -e 's:-g -Os::' \ |
175 |
- -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ |
176 |
- -e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \ |
177 |
- Makefile || die |
178 |
- |
179 |
- tc-export AR CC PKG_CONFIG |
180 |
- export V=1 |
181 |
-} |
182 |
- |
183 |
-src_install() { |
184 |
- default |
185 |
- |
186 |
- use static-libs || find "${ED}" -name '*.a' -delete |
187 |
-} |
188 |
|
189 |
diff --git a/sys-apps/dtc/files/dtc-1.4.4-posix-shell.patch b/sys-apps/dtc/files/dtc-1.4.4-posix-shell.patch |
190 |
deleted file mode 100644 |
191 |
index b9b0175c0bd3..000000000000 |
192 |
--- a/sys-apps/dtc/files/dtc-1.4.4-posix-shell.patch |
193 |
+++ /dev/null |
194 |
@@ -1,48 +0,0 @@ |
195 |
-From 4d9522764985462741c7bb4af1ab231b9251476b Mon Sep 17 00:00:00 2001 |
196 |
-From: Mike Frysinger <vapier@××××××××.org> |
197 |
-Date: Wed, 10 Jan 2018 00:41:43 -0500 |
198 |
-Subject: [PATCH] dtdiff: change to POSIX shell |
199 |
- |
200 |
-This changes from the bash-specific process substitution feature to |
201 |
-reading with pipes. It relies on /dev/fd or /proc/self/fd existing. |
202 |
- |
203 |
-URL: https://crbug.com/756559 |
204 |
-Signed-off-by: Mike Frysinger <vapier@××××××××.org> |
205 |
---- |
206 |
- dtdiff | 19 +++++++++++++------ |
207 |
- 1 file changed, 13 insertions(+), 6 deletions(-) |
208 |
- |
209 |
-diff --git a/dtdiff b/dtdiff |
210 |
-index 5fa772b0ab62..4d1b71756c2f 100644 |
211 |
---- a/dtdiff |
212 |
-+++ b/dtdiff |
213 |
-@@ -1,8 +1,4 @@ |
214 |
--#! /bin/bash |
215 |
-- |
216 |
--# This script uses the bash <(...) extension. |
217 |
--# If you want to change this to work with a generic /bin/sh, make sure |
218 |
--# you fix that. |
219 |
-+#! /bin/sh |
220 |
- |
221 |
- |
222 |
- DTC=dtc |
223 |
-@@ -35,4 +31,15 @@ if [ $# != 2 ]; then |
224 |
- exit 1 |
225 |
- fi |
226 |
- |
227 |
--diff -u <(source_and_sort "$1") <(source_and_sort "$2") |
228 |
-+for dir in /dev/fd /proc/self/fd; do |
229 |
-+ if [ -d "${dir}" ]; then |
230 |
-+ break |
231 |
-+ fi |
232 |
-+done |
233 |
-+ |
234 |
-+source_and_sort "$1" | ( |
235 |
-+ # Duplicate current stdin from the first file to fd 3 so we can change fd 0 |
236 |
-+ # to the second file. |
237 |
-+ exec 3<&0 |
238 |
-+ source_and_sort "$2" | diff -u "${dir}/3" "${dir}/0" |
239 |
-+) |
240 |
--- |
241 |
-2.15.1 |
242 |
- |
243 |
|
244 |
diff --git a/sys-apps/dtc/files/dtc-1.5.0-fdt_check_full-visibility.patch b/sys-apps/dtc/files/dtc-1.5.0-fdt_check_full-visibility.patch |
245 |
deleted file mode 100644 |
246 |
index a5a3d7524c45..000000000000 |
247 |
--- a/sys-apps/dtc/files/dtc-1.5.0-fdt_check_full-visibility.patch |
248 |
+++ /dev/null |
249 |
@@ -1,12 +0,0 @@ |
250 |
-diff --git a/libfdt/version.lds b/libfdt/version.lds |
251 |
-index 9f5d708..6b0f6d8 100644 |
252 |
---- a/libfdt/version.lds |
253 |
-+++ b/libfdt/version.lds |
254 |
-@@ -1,6 +1,7 @@ |
255 |
- LIBFDT_1.2 { |
256 |
- global: |
257 |
- fdt_next_node; |
258 |
-+ fdt_check_full; |
259 |
- fdt_check_header; |
260 |
- fdt_move; |
261 |
- fdt_string; |
262 |
|
263 |
diff --git a/sys-apps/dtc/files/dtc-1.5.0-gcc-10.patch b/sys-apps/dtc/files/dtc-1.5.0-gcc-10.patch |
264 |
deleted file mode 100644 |
265 |
index 80773bfaebbc..000000000000 |
266 |
--- a/sys-apps/dtc/files/dtc-1.5.0-gcc-10.patch |
267 |
+++ /dev/null |
268 |
@@ -1,50 +0,0 @@ |
269 |
-https://bugs.gentoo.org/706660 |
270 |
-https://git.kernel.org/pub/scm/utils/dtc/dtc.git/patch/?id=0e9225eb0dfec51def612b928d2f1836b092bc7e |
271 |
- |
272 |
-From 0e9225eb0dfec51def612b928d2f1836b092bc7e Mon Sep 17 00:00:00 2001 |
273 |
-From: Dirk Mueller <dmueller@××××.com> |
274 |
-Date: Tue, 14 Jan 2020 18:53:41 +0100 |
275 |
-Subject: Remove redundant YYLOC global declaration |
276 |
- |
277 |
-gcc 10 will default to -fno-common, which causes this error at link |
278 |
-time: |
279 |
- |
280 |
- (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here |
281 |
- |
282 |
-This is because both dtc-lexer as well as dtc-parser define the same |
283 |
-global symbol yyloc. Before with -fcommon those were merged into one |
284 |
-defintion. The proper solution would be to to mark this as "extern", |
285 |
-however that leads to: |
286 |
- |
287 |
- dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls] |
288 |
- 26 | extern YYLTYPE yylloc; |
289 |
- | ^~~~~~ |
290 |
-In file included from dtc-lexer.l:24: |
291 |
-dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here |
292 |
- 127 | extern YYLTYPE yylloc; |
293 |
- | ^~~~~~ |
294 |
-cc1: all warnings being treated as errors |
295 |
- |
296 |
-which means the declaration is completely redundant and can just be |
297 |
-dropped. |
298 |
- |
299 |
-Signed-off-by: Dirk Mueller <dmueller@××××.com> |
300 |
-Message-Id: <20200114175341.2994-1-dmueller@××××.com> |
301 |
-Signed-off-by: David Gibson <david@××××××××××××××××××.au> |
302 |
---- |
303 |
- dtc-lexer.l | 1 - |
304 |
- 1 file changed, 1 deletion(-) |
305 |
- |
306 |
---- a/dtc-lexer.l |
307 |
-+++ b/dtc-lexer.l |
308 |
-@@ -23,7 +23,6 @@ LINECOMMENT "//".*\n |
309 |
- #include "srcpos.h" |
310 |
- #include "dtc-parser.tab.h" |
311 |
- |
312 |
--YYLTYPE yylloc; |
313 |
- extern bool treesource_error; |
314 |
- |
315 |
- /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ |
316 |
--- |
317 |
-cgit 1.2-0.3.lf.el7 |
318 |
- |