Gentoo Archives: gentoo-commits

From: Marco Leise <marco.leise@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/, dev-lang/dmd/, dev-util/dub/files/, dev-util/dub/, ...
Date: Sat, 15 Aug 2020 01:50:46
Message-Id: 1597455286.4125a7e240a73f7ef21f407b0fed89bf4fddfadf.mleise@gentoo
1 commit: 4125a7e240a73f7ef21f407b0fed89bf4fddfadf
2 Author: Marco Leise <marco.leise <AT> gmx <DOT> de>
3 AuthorDate: Fri Aug 14 21:47:45 2020 +0000
4 Commit: Marco Leise <marco.leise <AT> gmx <DOT> de>
5 CommitDate: Sat Aug 15 01:34:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=4125a7e2
7
8 dmd-2.093 & dub-1.22.0
9
10 Signed-off-by: Marco Leise <marco.leise <AT> gmx.de>
11
12 dev-lang/dmd/Manifest | 1 +
13 dev-lang/dmd/dmd-2.074.1-r6.ebuild | 4 +-
14 dev-lang/dmd/dmd-2.075.1-r4.ebuild | 4 +-
15 dev-lang/dmd/dmd-2.076.1-r4.ebuild | 4 +-
16 dev-lang/dmd/dmd-2.077.1-r3.ebuild | 4 +-
17 dev-lang/dmd/dmd-2.078.3-r3.ebuild | 4 +-
18 dev-lang/dmd/dmd-2.079.1-r3.ebuild | 4 +-
19 dev-lang/dmd/dmd-2.080.1-r3.ebuild | 4 +-
20 dev-lang/dmd/dmd-2.081.2-r3.ebuild | 4 +-
21 dev-lang/dmd/dmd-2.082.1-r3.ebuild | 6 +--
22 dev-lang/dmd/dmd-2.083.1-r2.ebuild | 6 +--
23 dev-lang/dmd/dmd-2.084.1-r2.ebuild | 6 +--
24 dev-lang/dmd/dmd-2.085.1-r2.ebuild | 6 +--
25 dev-lang/dmd/dmd-2.086.1-r1.ebuild | 6 +--
26 dev-lang/dmd/dmd-2.087.1-r1.ebuild | 6 +--
27 dev-lang/dmd/dmd-2.088.1-r1.ebuild | 4 +-
28 dev-lang/dmd/dmd-2.089.1.ebuild | 4 +-
29 dev-lang/dmd/dmd-2.090.1.ebuild | 2 +-
30 dev-lang/dmd/dmd-2.091.1.ebuild | 2 +-
31 dev-lang/dmd/dmd-2.092.1.ebuild | 2 +-
32 dev-lang/dmd/dmd-2.093.0.ebuild | 14 ++++++
33 dev-lang/dmd/files/2.063-no-narrowing.patch | 6 +--
34 dev-lang/dmd/files/2.064-no-narrowing.patch | 6 +--
35 dev-lang/dmd/files/2.065-no-narrowing.patch | 6 +--
36 ...2.074-link-32-bit-shared-lib-with-ld.bfd.patch} | 3 +-
37 ...2.078-link-32-bit-shared-lib-with-ld.bfd.patch} | 3 +-
38 dev-lang/dmd/files/2.082-allow-deprecations.patch | 11 +++++
39 dev-util/dlang-tools/Manifest | 1 +
40 dev-util/dlang-tools/dlang-tools-2.093.0.ebuild | 54 ++++++++++++++++++++++
41 dev-util/dub/Manifest | 1 +
42 dev-util/dub/dub-1.22.0.ebuild | 39 ++++++++++++++++
43 .../dub/files/dub-1.22.0-gdc-dmd-pathfix.patch | 16 +++++++
44 eclass/dmd.eclass | 2 +-
45 33 files changed, 190 insertions(+), 55 deletions(-)
46
47 diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
48 index de65e24..d76e9d5 100644
49 --- a/dev-lang/dmd/Manifest
50 +++ b/dev-lang/dmd/Manifest
51 @@ -28,3 +28,4 @@ DIST dmd.2.089.1.linux.tar.xz 25877024 BLAKE2B 38fdbac595a6d9ea7548ee331aacefec5
52 DIST dmd.2.090.1.linux.tar.xz 25595804 BLAKE2B addd21fc482aa90d816593312aa6490949e54c3f8f36989eec193e9b09412022afe5d1f7006153f9b258a2c96fed9266ef5a9a94ca9c999cbc3ec1230937dec8 SHA512 ebc769d9c4c784b7e59730606e57bbde8dbfaea07be2492a0e475e0818f0ef4aaf3cb2bc8b1be066cc14479d9a3dd0d9655e0b0025c79383dbbbe9b2f2caf04f
53 DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 4db4c1733ecfdaa79a396039b8be735c217841deefd41b91b72a25e075e0f064892aa07497d840ef738021f66b58071d3d8c228573110614c43036ad51d7f701 SHA512 94db61b8cabd6229b404ce34e1618a710d6780bd7ce6db4ac666221b9bef616046ab9e4e793651e4e976fb4dd0eeedd5445abc9169ca27be753ff5611001e6bb
54 DIST dmd.2.092.1.linux.tar.xz 24354760 BLAKE2B dd342c7cbb22f081720719a9aa2af40adb6bd9b6f25257eb85dc1e8b977dc80de87475b7fd9652c0c1cbba0e5115febd69969dce1f883e1a87e0f2a45b105d82 SHA512 df02256148a06bdab1427bed4428230b804da45e5241e6289f72fbc2bbf64020fe63a84b7aa91c36acb60ea8fb048933dc5a8c31f954df2637fd44a2964da0a3
55 +DIST dmd.2.093.0.linux.tar.xz 24477480 BLAKE2B a638963c2e98a43150451ca7d6280da5919b8dfea05af784a780cca35d3d61792b1f74842ae8c10221b4256ec3f6f223c84128fedb77933121f0357b5b4bfc86 SHA512 804da6df17d027e5584c80ba2ea7575218154b08c3c83c2993bb147887cd4c90da1b73166bf9e0ae18dd2d08054b2de092a39a0825b313afa3c9bb17a0b83f1f
56
57 diff --git a/dev-lang/dmd/dmd-2.074.1-r6.ebuild b/dev-lang/dmd/dmd-2.074.1-r6.ebuild
58 index d692175..124c1c1 100644
59 --- a/dev-lang/dmd/dmd-2.074.1-r6.ebuild
60 +++ b/dev-lang/dmd/dmd-2.074.1-r6.ebuild
61 @@ -1,4 +1,4 @@
62 -# Copyright 1999-2019 Gentoo Authors
63 +# Copyright 1999-2020 Gentoo Authors
64 # Distributed under the terms of the GNU General Public License v2
65
66 EAPI=6
67 @@ -12,7 +12,7 @@ inherit dmd
68 PATCHES=(
69 "${FILESDIR}/2.074-fix-segv-in-evalu8.patch"
70 "${FILESDIR}/2.074-fix-out-of-bounds-in-evalu8.patch"
71 - "${FILESDIR}/2.077-link-32-bit-shared-lib-with-ld.bfd.patch"
72 + "${FILESDIR}/2.074-link-32-bit-shared-lib-with-ld.bfd.patch"
73 )
74
75 dmd_src_prepare_extra() {
76
77 diff --git a/dev-lang/dmd/dmd-2.075.1-r4.ebuild b/dev-lang/dmd/dmd-2.075.1-r4.ebuild
78 index a5d8015..d1358be 100644
79 --- a/dev-lang/dmd/dmd-2.075.1-r4.ebuild
80 +++ b/dev-lang/dmd/dmd-2.075.1-r4.ebuild
81 @@ -1,4 +1,4 @@
82 -# Copyright 1999-2019 Gentoo Authors
83 +# Copyright 1999-2020 Gentoo Authors
84 # Distributed under the terms of the GNU General Public License v2
85
86 EAPI=6
87 @@ -9,7 +9,7 @@ DLANG_VERSION_RANGE="2.067-2.080"
88
89 inherit dmd
90
91 -PATCHES=( "${FILESDIR}/2.077-link-32-bit-shared-lib-with-ld.bfd.patch" )
92 +PATCHES=( "${FILESDIR}/2.074-link-32-bit-shared-lib-with-ld.bfd.patch" )
93
94 dmd_src_prepare_extra() {
95 # Copy default DDOC theme file into resource directory
96
97 diff --git a/dev-lang/dmd/dmd-2.076.1-r4.ebuild b/dev-lang/dmd/dmd-2.076.1-r4.ebuild
98 index 714266e..41e4493 100644
99 --- a/dev-lang/dmd/dmd-2.076.1-r4.ebuild
100 +++ b/dev-lang/dmd/dmd-2.076.1-r4.ebuild
101 @@ -1,4 +1,4 @@
102 -# Copyright 1999-2019 Gentoo Authors
103 +# Copyright 1999-2020 Gentoo Authors
104 # Distributed under the terms of the GNU General Public License v2
105
106 EAPI=6
107 @@ -9,7 +9,7 @@ DLANG_VERSION_RANGE="2.067-2.080"
108
109 inherit dmd
110
111 -PATCHES=( "${FILESDIR}/2.077-link-32-bit-shared-lib-with-ld.bfd.patch" )
112 +PATCHES=( "${FILESDIR}/2.074-link-32-bit-shared-lib-with-ld.bfd.patch" )
113
114 dmd_src_prepare_extra() {
115 # Copy default DDOC theme file into resource directory
116
117 diff --git a/dev-lang/dmd/dmd-2.077.1-r3.ebuild b/dev-lang/dmd/dmd-2.077.1-r3.ebuild
118 index 714266e..41e4493 100644
119 --- a/dev-lang/dmd/dmd-2.077.1-r3.ebuild
120 +++ b/dev-lang/dmd/dmd-2.077.1-r3.ebuild
121 @@ -1,4 +1,4 @@
122 -# Copyright 1999-2019 Gentoo Authors
123 +# Copyright 1999-2020 Gentoo Authors
124 # Distributed under the terms of the GNU General Public License v2
125
126 EAPI=6
127 @@ -9,7 +9,7 @@ DLANG_VERSION_RANGE="2.067-2.080"
128
129 inherit dmd
130
131 -PATCHES=( "${FILESDIR}/2.077-link-32-bit-shared-lib-with-ld.bfd.patch" )
132 +PATCHES=( "${FILESDIR}/2.074-link-32-bit-shared-lib-with-ld.bfd.patch" )
133
134 dmd_src_prepare_extra() {
135 # Copy default DDOC theme file into resource directory
136
137 diff --git a/dev-lang/dmd/dmd-2.078.3-r3.ebuild b/dev-lang/dmd/dmd-2.078.3-r3.ebuild
138 index 0024f37..932c83e 100644
139 --- a/dev-lang/dmd/dmd-2.078.3-r3.ebuild
140 +++ b/dev-lang/dmd/dmd-2.078.3-r3.ebuild
141 @@ -1,4 +1,4 @@
142 -# Copyright 1999-2019 Gentoo Authors
143 +# Copyright 1999-2020 Gentoo Authors
144 # Distributed under the terms of the GNU General Public License v2
145
146 EAPI=6
147 @@ -11,7 +11,7 @@ inherit dmd
148
149 PATCHES=(
150 "${FILESDIR}/2.078-allow-deprecations.patch"
151 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
152 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
153 )
154
155 dmd_src_prepare_extra() {
156
157 diff --git a/dev-lang/dmd/dmd-2.079.1-r3.ebuild b/dev-lang/dmd/dmd-2.079.1-r3.ebuild
158 index 0024f37..932c83e 100644
159 --- a/dev-lang/dmd/dmd-2.079.1-r3.ebuild
160 +++ b/dev-lang/dmd/dmd-2.079.1-r3.ebuild
161 @@ -1,4 +1,4 @@
162 -# Copyright 1999-2019 Gentoo Authors
163 +# Copyright 1999-2020 Gentoo Authors
164 # Distributed under the terms of the GNU General Public License v2
165
166 EAPI=6
167 @@ -11,7 +11,7 @@ inherit dmd
168
169 PATCHES=(
170 "${FILESDIR}/2.078-allow-deprecations.patch"
171 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
172 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
173 )
174
175 dmd_src_prepare_extra() {
176
177 diff --git a/dev-lang/dmd/dmd-2.080.1-r3.ebuild b/dev-lang/dmd/dmd-2.080.1-r3.ebuild
178 index 7cc207e..d7a6ae7 100644
179 --- a/dev-lang/dmd/dmd-2.080.1-r3.ebuild
180 +++ b/dev-lang/dmd/dmd-2.080.1-r3.ebuild
181 @@ -1,4 +1,4 @@
182 -# Copyright 1999-2019 Gentoo Authors
183 +# Copyright 1999-2020 Gentoo Authors
184 # Distributed under the terms of the GNU General Public License v2
185
186 EAPI=6
187 @@ -9,7 +9,7 @@ DLANG_VERSION_RANGE="2.067-2.080"
188
189 inherit dmd
190
191 -PATCHES=( "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" )
192 +PATCHES=( "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" )
193
194 dmd_src_prepare_extra() {
195 # Copy default DDOC theme file into resource directory
196
197 diff --git a/dev-lang/dmd/dmd-2.081.2-r3.ebuild b/dev-lang/dmd/dmd-2.081.2-r3.ebuild
198 index e448d2c..71abcf7 100644
199 --- a/dev-lang/dmd/dmd-2.081.2-r3.ebuild
200 +++ b/dev-lang/dmd/dmd-2.081.2-r3.ebuild
201 @@ -1,4 +1,4 @@
202 -# Copyright 1999-2019 Gentoo Authors
203 +# Copyright 1999-2020 Gentoo Authors
204 # Distributed under the terms of the GNU General Public License v2
205
206 EAPI=6
207 @@ -11,7 +11,7 @@ inherit dmd
208
209 PATCHES=(
210 "${FILESDIR}/2.081-allow-deprecations.patch"
211 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
212 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
213 )
214
215 dmd_src_prepare_extra() {
216
217 diff --git a/dev-lang/dmd/dmd-2.082.1-r3.ebuild b/dev-lang/dmd/dmd-2.082.1-r3.ebuild
218 index f80d9a7..54f2016 100644
219 --- a/dev-lang/dmd/dmd-2.082.1-r3.ebuild
220 +++ b/dev-lang/dmd/dmd-2.082.1-r3.ebuild
221 @@ -1,4 +1,4 @@
222 -# Copyright 1999-2019 Gentoo Authors
223 +# Copyright 1999-2020 Gentoo Authors
224 # Distributed under the terms of the GNU General Public License v2
225
226 EAPI=6
227 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-"
228 inherit dmd
229
230 PATCHES=(
231 - "${FILESDIR}/2.081-allow-deprecations.patch"
232 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
233 + "${FILESDIR}/2.082-allow-deprecations.patch"
234 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
235 )
236
237 dmd_src_prepare_extra() {
238
239 diff --git a/dev-lang/dmd/dmd-2.083.1-r2.ebuild b/dev-lang/dmd/dmd-2.083.1-r2.ebuild
240 index f80d9a7..54f2016 100644
241 --- a/dev-lang/dmd/dmd-2.083.1-r2.ebuild
242 +++ b/dev-lang/dmd/dmd-2.083.1-r2.ebuild
243 @@ -1,4 +1,4 @@
244 -# Copyright 1999-2019 Gentoo Authors
245 +# Copyright 1999-2020 Gentoo Authors
246 # Distributed under the terms of the GNU General Public License v2
247
248 EAPI=6
249 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-"
250 inherit dmd
251
252 PATCHES=(
253 - "${FILESDIR}/2.081-allow-deprecations.patch"
254 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
255 + "${FILESDIR}/2.082-allow-deprecations.patch"
256 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
257 )
258
259 dmd_src_prepare_extra() {
260
261 diff --git a/dev-lang/dmd/dmd-2.084.1-r2.ebuild b/dev-lang/dmd/dmd-2.084.1-r2.ebuild
262 index f8ab160..8289941 100644
263 --- a/dev-lang/dmd/dmd-2.084.1-r2.ebuild
264 +++ b/dev-lang/dmd/dmd-2.084.1-r2.ebuild
265 @@ -1,4 +1,4 @@
266 -# Copyright 1999-2019 Gentoo Authors
267 +# Copyright 1999-2020 Gentoo Authors
268 # Distributed under the terms of the GNU General Public License v2
269
270 EAPI=6
271 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-"
272 inherit dmd
273
274 PATCHES=(
275 - "${FILESDIR}/2.081-allow-deprecations.patch"
276 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
277 + "${FILESDIR}/2.082-allow-deprecations.patch"
278 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
279 )
280
281 dmd_src_prepare_extra() {
282
283 diff --git a/dev-lang/dmd/dmd-2.085.1-r2.ebuild b/dev-lang/dmd/dmd-2.085.1-r2.ebuild
284 index f8ab160..8289941 100644
285 --- a/dev-lang/dmd/dmd-2.085.1-r2.ebuild
286 +++ b/dev-lang/dmd/dmd-2.085.1-r2.ebuild
287 @@ -1,4 +1,4 @@
288 -# Copyright 1999-2019 Gentoo Authors
289 +# Copyright 1999-2020 Gentoo Authors
290 # Distributed under the terms of the GNU General Public License v2
291
292 EAPI=6
293 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-"
294 inherit dmd
295
296 PATCHES=(
297 - "${FILESDIR}/2.081-allow-deprecations.patch"
298 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
299 + "${FILESDIR}/2.082-allow-deprecations.patch"
300 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
301 )
302
303 dmd_src_prepare_extra() {
304
305 diff --git a/dev-lang/dmd/dmd-2.086.1-r1.ebuild b/dev-lang/dmd/dmd-2.086.1-r1.ebuild
306 index 757a4dc..728dce9 100644
307 --- a/dev-lang/dmd/dmd-2.086.1-r1.ebuild
308 +++ b/dev-lang/dmd/dmd-2.086.1-r1.ebuild
309 @@ -1,4 +1,4 @@
310 -# Copyright 1999-2019 Gentoo Authors
311 +# Copyright 1999-2020 Gentoo Authors
312 # Distributed under the terms of the GNU General Public License v2
313
314 EAPI=6
315 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-"
316 inherit dmd
317
318 PATCHES=(
319 - "${FILESDIR}/2.081-allow-deprecations.patch"
320 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
321 + "${FILESDIR}/2.082-allow-deprecations.patch"
322 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
323 )
324
325 dmd_src_prepare_extra() {
326
327 diff --git a/dev-lang/dmd/dmd-2.087.1-r1.ebuild b/dev-lang/dmd/dmd-2.087.1-r1.ebuild
328 index 785eb6b..11fbc18 100644
329 --- a/dev-lang/dmd/dmd-2.087.1-r1.ebuild
330 +++ b/dev-lang/dmd/dmd-2.087.1-r1.ebuild
331 @@ -1,4 +1,4 @@
332 -# Copyright 1999-2019 Gentoo Authors
333 +# Copyright 1999-2020 Gentoo Authors
334 # Distributed under the terms of the GNU General Public License v2
335
336 EAPI=6
337 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.075-"
338 inherit dmd
339
340 PATCHES=(
341 - "${FILESDIR}/2.081-allow-deprecations.patch"
342 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
343 + "${FILESDIR}/2.082-allow-deprecations.patch"
344 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
345 )
346
347 dmd_src_prepare_extra() {
348
349 diff --git a/dev-lang/dmd/dmd-2.088.1-r1.ebuild b/dev-lang/dmd/dmd-2.088.1-r1.ebuild
350 index e651c15..ec01d83 100644
351 --- a/dev-lang/dmd/dmd-2.088.1-r1.ebuild
352 +++ b/dev-lang/dmd/dmd-2.088.1-r1.ebuild
353 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.075-"
354 inherit dmd
355
356 PATCHES=(
357 - "${FILESDIR}/2.081-allow-deprecations.patch"
358 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
359 + "${FILESDIR}/2.082-allow-deprecations.patch"
360 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
361 )
362
363 dmd_src_prepare_extra() {
364
365 diff --git a/dev-lang/dmd/dmd-2.089.1.ebuild b/dev-lang/dmd/dmd-2.089.1.ebuild
366 index e651c15..ec01d83 100644
367 --- a/dev-lang/dmd/dmd-2.089.1.ebuild
368 +++ b/dev-lang/dmd/dmd-2.089.1.ebuild
369 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.075-"
370 inherit dmd
371
372 PATCHES=(
373 - "${FILESDIR}/2.081-allow-deprecations.patch"
374 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
375 + "${FILESDIR}/2.082-allow-deprecations.patch"
376 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
377 )
378
379 dmd_src_prepare_extra() {
380
381 diff --git a/dev-lang/dmd/dmd-2.090.1.ebuild b/dev-lang/dmd/dmd-2.090.1.ebuild
382 index e750be0..41237d0 100644
383 --- a/dev-lang/dmd/dmd-2.090.1.ebuild
384 +++ b/dev-lang/dmd/dmd-2.090.1.ebuild
385 @@ -10,7 +10,7 @@ DLANG_VERSION_RANGE="2.076-"
386 inherit dmd
387
388 PATCHES=(
389 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
390 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
391 )
392
393 dmd_src_prepare_extra() {
394
395 diff --git a/dev-lang/dmd/dmd-2.091.1.ebuild b/dev-lang/dmd/dmd-2.091.1.ebuild
396 index e750be0..41237d0 100644
397 --- a/dev-lang/dmd/dmd-2.091.1.ebuild
398 +++ b/dev-lang/dmd/dmd-2.091.1.ebuild
399 @@ -10,7 +10,7 @@ DLANG_VERSION_RANGE="2.076-"
400 inherit dmd
401
402 PATCHES=(
403 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
404 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
405 )
406
407 dmd_src_prepare_extra() {
408
409 diff --git a/dev-lang/dmd/dmd-2.092.1.ebuild b/dev-lang/dmd/dmd-2.092.1.ebuild
410 index 6b582a8..3de9271 100644
411 --- a/dev-lang/dmd/dmd-2.092.1.ebuild
412 +++ b/dev-lang/dmd/dmd-2.092.1.ebuild
413 @@ -10,7 +10,7 @@ DLANG_VERSION_RANGE="2.076-"
414 inherit dmd
415
416 PATCHES=(
417 - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch"
418 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
419 )
420
421 dmd_src_prepare_extra() {
422
423 diff --git a/dev-lang/dmd/dmd-2.093.0.ebuild b/dev-lang/dmd/dmd-2.093.0.ebuild
424 new file mode 100644
425 index 0000000..cce541d
426 --- /dev/null
427 +++ b/dev-lang/dmd/dmd-2.093.0.ebuild
428 @@ -0,0 +1,14 @@
429 +# Copyright 1999-2020 Gentoo Authors
430 +# Distributed under the terms of the GNU General Public License v2
431 +
432 +EAPI=6
433 +
434 +KEYWORDS="-* ~amd64 ~x86"
435 +YEAR=2020
436 +DLANG_VERSION_RANGE="2.076-"
437 +
438 +inherit dmd
439 +
440 +PATCHES=(
441 + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch"
442 +)
443
444 diff --git a/dev-lang/dmd/files/2.063-no-narrowing.patch b/dev-lang/dmd/files/2.063-no-narrowing.patch
445 index 5bbab9f..4fca27d 100644
446 --- a/dev-lang/dmd/files/2.063-no-narrowing.patch
447 +++ b/dev-lang/dmd/files/2.063-no-narrowing.patch
448 @@ -1,12 +1,12 @@
449 --- dmd2/dmd/src/posix.mak
450 +++ dmd2/dmd/src/posix.mak
451 @@ -69,6 +69,9 @@ endif
452 -
453 +
454 CFLAGS = $(GFLAGS) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1
455 MFLAGS = $(GFLAGS) -I$C -I$(TK) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1
456 +ifeq ($(findstring g++,$(HOST_CC)), g++)
457 +MFLAGS := $(MFLAGS) -std=gnu++98
458 +endif
459 -
460 +
461 CH= $C/cc.h $C/global.h $C/oper.h $C/code.h $C/type.h \
462 - $C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH)
463 + $C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH)
464
465 diff --git a/dev-lang/dmd/files/2.064-no-narrowing.patch b/dev-lang/dmd/files/2.064-no-narrowing.patch
466 index a981c7e..82ae513 100644
467 --- a/dev-lang/dmd/files/2.064-no-narrowing.patch
468 +++ b/dev-lang/dmd/files/2.064-no-narrowing.patch
469 @@ -1,12 +1,12 @@
470 --- dmd2/dmd/src/posix.mak
471 +++ dmd2/dmd/src/posix.mak
472 @@ -76,6 +76,9 @@ endif
473 -
474 +
475 CFLAGS = $(GFLAGS) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1
476 MFLAGS = $(GFLAGS) -I$C -I$(TK) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 -DDMDV2=1
477 +ifeq ($(findstring g++,$(HOST_CC)), g++)
478 +MFLAGS := $(MFLAGS) -std=gnu++98
479 +endif
480 -
481 +
482 CH= $C/cc.h $C/global.h $C/oper.h $C/code.h $C/type.h \
483 - $C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH)
484 + $C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH)
485
486 diff --git a/dev-lang/dmd/files/2.065-no-narrowing.patch b/dev-lang/dmd/files/2.065-no-narrowing.patch
487 index 87c2e63..5fe49f6 100644
488 --- a/dev-lang/dmd/files/2.065-no-narrowing.patch
489 +++ b/dev-lang/dmd/files/2.065-no-narrowing.patch
490 @@ -1,12 +1,12 @@
491 --- dmd2/dmd/src/posix.mak
492 +++ dmd2/dmd/src/posix.mak
493 -@@ -54,6 +54,9 @@
494 +@@ -54,6 +54,9 @@
495 OS_UPCASE:=$(shell echo $(OS) | tr '[a-z]' '[A-Z]')
496 CFLAGS = $(GFLAGS) -I$(ROOT) -DMARS=1 -DTARGET_$(OS_UPCASE)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1
497 MFLAGS = $(GFLAGS) -I$C -I$(TK) -I$(ROOT) -DMARS=1 -DTARGET_$(OS_UPCASE)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 -DDMDV2=1
498 +ifeq ($(findstring g++,$(HOST_CC)), g++)
499 +MFLAGS := $(MFLAGS) -std=gnu++98
500 +endif
501 -
502 +
503 DMD_OBJS = \
504 - access.o attrib.o bcomplex.o blockopt.o \
505 + access.o attrib.o bcomplex.o blockopt.o \
506
507 diff --git a/dev-lang/dmd/files/2.077-link-32-bit-shared-lib-with-ld.bfd.patch b/dev-lang/dmd/files/2.074-link-32-bit-shared-lib-with-ld.bfd.patch
508 similarity index 86%
509 rename from dev-lang/dmd/files/2.077-link-32-bit-shared-lib-with-ld.bfd.patch
510 rename to dev-lang/dmd/files/2.074-link-32-bit-shared-lib-with-ld.bfd.patch
511 index 52d66fa..ca9b685 100644
512 --- a/dev-lang/dmd/files/2.077-link-32-bit-shared-lib-with-ld.bfd.patch
513 +++ b/dev-lang/dmd/files/2.074-link-32-bit-shared-lib-with-ld.bfd.patch
514 @@ -1,7 +1,6 @@
515 --- dmd2/dmd/src/ddmd/link.d
516 +++ dmd2/dmd/src/ddmd/link.d
517 -@@ -501,7 +501,9 @@ }
518 - else version (Posix)
519 +@@ -487,6 +487,8 @@ else version (Posix)
520 {
521 if (global.params.dll)
522 argv.push("-shared");
523
524 diff --git a/dev-lang/dmd/files/2.083-link-32-bit-shared-lib-with-ld.bfd.patch b/dev-lang/dmd/files/2.078-link-32-bit-shared-lib-with-ld.bfd.patch
525 similarity index 86%
526 rename from dev-lang/dmd/files/2.083-link-32-bit-shared-lib-with-ld.bfd.patch
527 rename to dev-lang/dmd/files/2.078-link-32-bit-shared-lib-with-ld.bfd.patch
528 index 422e61f..4de62e4 100644
529 --- a/dev-lang/dmd/files/2.083-link-32-bit-shared-lib-with-ld.bfd.patch
530 +++ b/dev-lang/dmd/files/2.078-link-32-bit-shared-lib-with-ld.bfd.patch
531 @@ -1,7 +1,6 @@
532 --- dmd2/dmd/src/dmd/link.d
533 +++ dmd2/dmd/src/dmd/link.d
534 -@@ -434,7 +434,9 @@ }
535 - else version (Posix)
536 +@@ -446,6 +446,8 @@ else version (Posix)
537 {
538 if (global.params.dll)
539 argv.push("-shared");
540
541 diff --git a/dev-lang/dmd/files/2.082-allow-deprecations.patch b/dev-lang/dmd/files/2.082-allow-deprecations.patch
542 new file mode 100644
543 index 0000000..5a256de
544 --- /dev/null
545 +++ b/dev-lang/dmd/files/2.082-allow-deprecations.patch
546 @@ -0,0 +1,11 @@
547 +--- dmd2/dmd/src/posix.mak
548 ++++ dmd2/dmd/src/posix.mak
549 +@@ -233,7 +233,7 @@
550 + DFLAGS=
551 + override DFLAGS += -version=MARS $(PIC) -J$G
552 + # Enable D warnings
553 +-override DFLAGS += -w -de
554 ++override DFLAGS += -w
555 +
556 + # Append different flags for debugging, profiling and release.
557 + ifdef ENABLE_DEBUG
558
559 diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest
560 index e82bd6b..6db3edd 100644
561 --- a/dev-util/dlang-tools/Manifest
562 +++ b/dev-util/dlang-tools/Manifest
563 @@ -27,6 +27,7 @@ DIST dlang-tools-2.089.1.tar.gz 117693 BLAKE2B 6e499fd01bda7a58036b08f30319549ca
564 DIST dlang-tools-2.090.1.tar.gz 117709 BLAKE2B 8a714a5bd6860bf4a856fbbde2a7188b404b819e11f9ed815688b9acb5fa6e95a95c0fb4aa407495da89a0e3b19dba584be1d90f3c60c2af95090d6e81f221d6 SHA512 82f6d3fd4a7f6fd013425894ec5f817c960764479649c97139a019802fc5c2a83671102f1b2a9427e88446055e5a1a4fa884a4b86400a84107b2d5ca322b7a32
565 DIST dlang-tools-2.091.1.tar.gz 117714 BLAKE2B bd0957f0e70401b1ededf29be7f942da1445c66e3ea4b47f31b136413b506c3dd03faa4cb1962a10ae51edd0cb18b282da072b0ba63f0f0d7e2cd3e460924e3a SHA512 b8fb4f4c1e9aed1e2134644152a32a7c6073d801458bf0a45a23e86cd761a19c4b517365112edc7af73fbef3c26b4106fa0ee7478a78fa41c531a060c25e3955
566 DIST dlang-tools-2.092.1.tar.gz 119015 BLAKE2B 35121ccda680297d686b6133b80f27d04c133d3d6add4a335294c203a58475326563b5f81cd90a3d1b261c7799b244b739924ec32a6bbf887a98dcad486b64b4 SHA512 84d69e2b5e073bc038f438304060a490bc41c740eba14599b911aa66cc40b0f4ba1fa55536c77f01c6964210025283a3c6d32768493e9ca1e021eadaaa38f8b2
567 +DIST dlang-tools-2.093.0.tar.gz 118851 BLAKE2B 8678f91a9a8b9168314cef88abd9896369109a16c3cad85b2cb450ec73d3a73c289fda6bd998979859fff7c07692986b1e16fa10db79373a4bff0fed3360fc41 SHA512 e22cef21b37b05f7abf98e514c836fef1de58eebc219a2c9b6178de336f1b82d4ece87376722dd0a07b6b8803b7bf9cbe9d015a089f709c319f327d7577e35da
568 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9 SHA512 a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf
569 DIST dlang.org-2.065.0.tar.gz 1005429 BLAKE2B 01fc8ec0c5148f910e2923be556208c08a18f00453ffa1f1a22d6725db6489b6f9022cd170caa3a05078baddde353ee819984da5efa53547e78006d2f0a97b9c SHA512 0fb185603766b54c3b9dc57824b18ec7ea9f37281610729860543630f4546591f9523bff48eee5414235d2ee656201c444e6d2efc44ba66a052b98a0d9b4729e
570 DIST dlang.org-2.066.1.tar.gz 1024075 BLAKE2B cfdb4922c38d9f0ced941eeb4578d71f09d65201d2f89cfc73e46ae73f0939c74fa92d7f003b87a28f814c5b2cc0dda6855b86e64fd86be3920c129f8c20df6a SHA512 d3838cc2ab6236d57c17f92fa5eaef8458176715985aecbea9653cc772725e1b9f813c9ffc8e06490e08c1031826ab84d1fcfbd88008791cac3257db814e3dc8
571
572 diff --git a/dev-util/dlang-tools/dlang-tools-2.093.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.093.0.ebuild
573 new file mode 100644
574 index 0000000..6b8a8e1
575 --- /dev/null
576 +++ b/dev-util/dlang-tools/dlang-tools-2.093.0.ebuild
577 @@ -0,0 +1,54 @@
578 +# Copyright 1999-2020 Gentoo Authors
579 +# Distributed under the terms of the GNU General Public License v2
580 +
581 +EAPI=6
582 +
583 +DESCRIPTION="Ancilliary tools for the D programming language compiler"
584 +HOMEPAGE="http://dlang.org/"
585 +LICENSE="Boost-1.0"
586 +
587 +SLOT="0"
588 +KEYWORDS="~amd64 ~x86"
589 +TOOLS="ddemangle detab dustmite rdmd"
590 +IUSE="+ddemangle detab dustmite +rdmd"
591 +REQUIRED_USE="|| ( ${TOOLS} )"
592 +
593 +inherit eapi7-ver
594 +
595 +DLANG_SLOT="$(ver_cut 1-2)"
596 +RESTRICT="mirror"
597 +
598 +BETA="$(ver_cut 4)"
599 +VERSION="$(ver_cut 1-3)"
600 +
601 +if [[ -n "${BETA}" ]]; then
602 + VERSION="${VERSION}-b${BETA:4}"
603 +fi
604 +SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-tools-${VERSION}.tar.gz"
605 +
606 +DLANG_VERSION_RANGE="2.076-"
607 +DLANG_PACKAGE_TYPE="single"
608 +
609 +inherit eutils dlang
610 +
611 +S="${WORKDIR}/tools-${VERSION}"
612 +
613 +d_src_compile() {
614 + use ddemangle && dlang_compile_bin ddemangle ddemangle.d
615 + use detab && dlang_compile_bin detab detab.d
616 + use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d
617 + use rdmd && dlang_compile_bin rdmd rdmd.d
618 +}
619 +
620 +d_src_install() {
621 + for tool in ${TOOLS}; do
622 + if use "${tool}"; then
623 + dobin "${tool}"
624 + fi
625 + done
626 +
627 + # file icons
628 + for size in 16 22 24 32 48 256; do
629 + newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
630 + done
631 +}
632
633 diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
634 index 9ff7ef1..8f9c47b 100644
635 --- a/dev-util/dub/Manifest
636 +++ b/dev-util/dub/Manifest
637 @@ -1 +1,2 @@
638 DIST dub-1.21.0.tar.gz 1272369 BLAKE2B afcc92d9c7a9c49497259011d9c70aaeb559c0835d45d7e90c54c2e2361ec3c9ec69928e16c06ace0bb6c03f9e66ecad6717a64df5f83e41d671763296540339 SHA512 d85be6e35f51e34d34afce71fe902b8ef623c6f49ed6f5f755dded5bceda49416f9d625377136b928d0f95496e57999f0dd57a4cea796360edd34c72556debd7
639 +DIST dub-1.22.0.tar.gz 1275009 BLAKE2B 87bb4235595b4e24a368ede86c9000ef8c605dbc471207e5d8e474647ed3002ba370b3c3c732fcec8ad3082add7c9fb98947df522ece8a6ac727ec4e956b3a63 SHA512 61f923916be1f16e8f77c228c53724e69e532573140674da902c374b63f3ca1f66b0da323a9c3a131f98af48e7755b5d3b70d33433fa0deb733215da2b4cd6b2
640
641 diff --git a/dev-util/dub/dub-1.22.0.ebuild b/dev-util/dub/dub-1.22.0.ebuild
642 new file mode 100644
643 index 0000000..23205f6
644 --- /dev/null
645 +++ b/dev-util/dub/dub-1.22.0.ebuild
646 @@ -0,0 +1,39 @@
647 +# Copyright 1999-2020 Gentoo Authors
648 +# Distributed under the terms of the GNU General Public License v2
649 +
650 +EAPI=7
651 +
652 +DESCRIPTION="Package and build management system for D"
653 +HOMEPAGE="http://code.dlang.org/"
654 +LICENSE="MIT"
655 +
656 +SLOT="0"
657 +KEYWORDS="~amd64 ~arm ~x86"
658 +IUSE="debug"
659 +
660 +GITHUB_URI="https://codeload.github.com/dlang"
661 +SRC_URI="${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz"
662 +PATCHES="${FILESDIR}/${P}-gdc-dmd-pathfix.patch"
663 +
664 +DLANG_VERSION_RANGE="2.076-"
665 +DLANG_PACKAGE_TYPE="single"
666 +
667 +inherit dlang
668 +
669 +DEPEND="net-misc/curl"
670 +RDEPEND="${DEPEND}"
671 +
672 +d_src_compile() {
673 + local imports=source versions="DubApplication DubUseCurl" libs="curl z"
674 + dlang_compile_bin bin/dub $(<build-files.txt)
675 +}
676 +
677 +d_src_test() {
678 + echo "Test phase disabled due to multiple problems."
679 + #DUB="${S}/bin/dub" test/run-unittest.sh || die "Test phase failed"
680 +}
681 +
682 +d_src_install() {
683 + dobin bin/dub
684 + dodoc README.md
685 +}
686
687 diff --git a/dev-util/dub/files/dub-1.22.0-gdc-dmd-pathfix.patch b/dev-util/dub/files/dub-1.22.0-gdc-dmd-pathfix.patch
688 new file mode 100644
689 index 0000000..497ef50
690 --- /dev/null
691 +++ b/dev-util/dub/files/dub-1.22.0-gdc-dmd-pathfix.patch
692 @@ -0,0 +1,16 @@
693 +diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d
694 +--- a/source/dub/generators/build.d
695 ++++ b/source/dub/generators/build.d
696 +@@ -119,10 +119,10 @@ class BuildGenerator : ProjectGenerator {
697 + auto build_id = computeBuildID(config, buildsettings, settings);
698 +
699 + // make all paths relative to shrink the command line
700 +- string makeRelative(string path) { return shrinkPath(NativePath(path), cwd); }
701 ++ /+string makeRelative(string path) { return shrinkPath(NativePath(path), cwd); }
702 + foreach (ref f; buildsettings.sourceFiles) f = makeRelative(f);
703 + foreach (ref p; buildsettings.importPaths) p = makeRelative(p);
704 +- foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p);
705 ++ foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p);+/
706 +
707 + // perform the actual build
708 + bool cached = false;
709
710 diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass
711 index 5e346d6..8373f5f 100644
712 --- a/eclass/dmd.eclass
713 +++ b/eclass/dmd.eclass
714 @@ -130,7 +130,7 @@ dmd_src_compile() {
715 dmd_ge 2.071 && HOST_CXX="HOST_CXX" || HOST_CXX="HOST_CC"
716 # 2.072 and 2.073 have support for LTO, but would need a Makefile patch.
717 # From 2.088 on, the build fails with it active.
718 - dmd_ge 2.074 && ! dmd_eq 2.088 && ! dmd_eq 2.089 && ! dmd_eq 2.090 && ! dmd_eq 2.091 && ! dmd_eq 2.092 && LTO="ENABLE_LTO=1"
719 + dmd_ge 2.074 && ! dmd_ge 2.088 && LTO="ENABLE_LTO=1"
720 # 2.080 and below used RELEASE instead of ENABLE_RELEASE
721 dmd_ge 2.081 && ENABLE_RELEASE="ENABLE_RELEASE" || ENABLE_RELEASE="RELEASE"