From 4125a7e240a73f7ef21f407b0fed89bf4fddfadf Mon Sep 17 00:00:00 2001 From: Marco Leise Date: Fri, 14 Aug 2020 23:47:45 +0200 Subject: dmd-2.093 & dub-1.22.0 Signed-off-by: Marco Leise --- dev-lang/dmd/Manifest | 1 + dev-lang/dmd/dmd-2.074.1-r6.ebuild | 4 +- dev-lang/dmd/dmd-2.075.1-r4.ebuild | 4 +- dev-lang/dmd/dmd-2.076.1-r4.ebuild | 4 +- dev-lang/dmd/dmd-2.077.1-r3.ebuild | 4 +- dev-lang/dmd/dmd-2.078.3-r3.ebuild | 4 +- dev-lang/dmd/dmd-2.079.1-r3.ebuild | 4 +- dev-lang/dmd/dmd-2.080.1-r3.ebuild | 4 +- dev-lang/dmd/dmd-2.081.2-r3.ebuild | 4 +- dev-lang/dmd/dmd-2.082.1-r3.ebuild | 6 +-- dev-lang/dmd/dmd-2.083.1-r2.ebuild | 6 +-- dev-lang/dmd/dmd-2.084.1-r2.ebuild | 6 +-- dev-lang/dmd/dmd-2.085.1-r2.ebuild | 6 +-- dev-lang/dmd/dmd-2.086.1-r1.ebuild | 6 +-- dev-lang/dmd/dmd-2.087.1-r1.ebuild | 6 +-- dev-lang/dmd/dmd-2.088.1-r1.ebuild | 4 +- dev-lang/dmd/dmd-2.089.1.ebuild | 4 +- dev-lang/dmd/dmd-2.090.1.ebuild | 2 +- dev-lang/dmd/dmd-2.091.1.ebuild | 2 +- dev-lang/dmd/dmd-2.092.1.ebuild | 2 +- dev-lang/dmd/dmd-2.093.0.ebuild | 14 ++++++ dev-lang/dmd/files/2.063-no-narrowing.patch | 6 +-- dev-lang/dmd/files/2.064-no-narrowing.patch | 6 +-- dev-lang/dmd/files/2.065-no-narrowing.patch | 6 +-- .../2.074-link-32-bit-shared-lib-with-ld.bfd.patch | 11 +++++ .../2.077-link-32-bit-shared-lib-with-ld.bfd.patch | 12 ----- .../2.078-link-32-bit-shared-lib-with-ld.bfd.patch | 11 +++++ dev-lang/dmd/files/2.082-allow-deprecations.patch | 11 +++++ .../2.083-link-32-bit-shared-lib-with-ld.bfd.patch | 12 ----- dev-util/dlang-tools/Manifest | 1 + dev-util/dlang-tools/dlang-tools-2.093.0.ebuild | 54 ++++++++++++++++++++++ dev-util/dub/Manifest | 1 + dev-util/dub/dub-1.22.0.ebuild | 39 ++++++++++++++++ .../dub/files/dub-1.22.0-gdc-dmd-pathfix.patch | 16 +++++++ eclass/dmd.eclass | 2 +- 35 files changed, 210 insertions(+), 75 deletions(-) create mode 100644 dev-lang/dmd/dmd-2.093.0.ebuild create mode 100644 dev-lang/dmd/files/2.074-link-32-bit-shared-lib-with-ld.bfd.patch delete mode 100644 dev-lang/dmd/files/2.077-link-32-bit-shared-lib-with-ld.bfd.patch create mode 100644 dev-lang/dmd/files/2.078-link-32-bit-shared-lib-with-ld.bfd.patch create mode 100644 dev-lang/dmd/files/2.082-allow-deprecations.patch delete mode 100644 dev-lang/dmd/files/2.083-link-32-bit-shared-lib-with-ld.bfd.patch create mode 100644 dev-util/dlang-tools/dlang-tools-2.093.0.ebuild create mode 100644 dev-util/dub/dub-1.22.0.ebuild create mode 100644 dev-util/dub/files/dub-1.22.0-gdc-dmd-pathfix.patch diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest index de65e24..d76e9d5 100644 --- a/dev-lang/dmd/Manifest +++ b/dev-lang/dmd/Manifest @@ -28,3 +28,4 @@ DIST dmd.2.089.1.linux.tar.xz 25877024 BLAKE2B 38fdbac595a6d9ea7548ee331aacefec5 DIST dmd.2.090.1.linux.tar.xz 25595804 BLAKE2B addd21fc482aa90d816593312aa6490949e54c3f8f36989eec193e9b09412022afe5d1f7006153f9b258a2c96fed9266ef5a9a94ca9c999cbc3ec1230937dec8 SHA512 ebc769d9c4c784b7e59730606e57bbde8dbfaea07be2492a0e475e0818f0ef4aaf3cb2bc8b1be066cc14479d9a3dd0d9655e0b0025c79383dbbbe9b2f2caf04f DIST dmd.2.091.1.linux.tar.xz 23977732 BLAKE2B 4db4c1733ecfdaa79a396039b8be735c217841deefd41b91b72a25e075e0f064892aa07497d840ef738021f66b58071d3d8c228573110614c43036ad51d7f701 SHA512 94db61b8cabd6229b404ce34e1618a710d6780bd7ce6db4ac666221b9bef616046ab9e4e793651e4e976fb4dd0eeedd5445abc9169ca27be753ff5611001e6bb DIST dmd.2.092.1.linux.tar.xz 24354760 BLAKE2B dd342c7cbb22f081720719a9aa2af40adb6bd9b6f25257eb85dc1e8b977dc80de87475b7fd9652c0c1cbba0e5115febd69969dce1f883e1a87e0f2a45b105d82 SHA512 df02256148a06bdab1427bed4428230b804da45e5241e6289f72fbc2bbf64020fe63a84b7aa91c36acb60ea8fb048933dc5a8c31f954df2637fd44a2964da0a3 +DIST dmd.2.093.0.linux.tar.xz 24477480 BLAKE2B a638963c2e98a43150451ca7d6280da5919b8dfea05af784a780cca35d3d61792b1f74842ae8c10221b4256ec3f6f223c84128fedb77933121f0357b5b4bfc86 SHA512 804da6df17d027e5584c80ba2ea7575218154b08c3c83c2993bb147887cd4c90da1b73166bf9e0ae18dd2d08054b2de092a39a0825b313afa3c9bb17a0b83f1f diff --git a/dev-lang/dmd/dmd-2.074.1-r6.ebuild b/dev-lang/dmd/dmd-2.074.1-r6.ebuild index d692175..124c1c1 100644 --- a/dev-lang/dmd/dmd-2.074.1-r6.ebuild +++ b/dev-lang/dmd/dmd-2.074.1-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ inherit dmd PATCHES=( "${FILESDIR}/2.074-fix-segv-in-evalu8.patch" "${FILESDIR}/2.074-fix-out-of-bounds-in-evalu8.patch" - "${FILESDIR}/2.077-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.074-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.075.1-r4.ebuild b/dev-lang/dmd/dmd-2.075.1-r4.ebuild index a5d8015..d1358be 100644 --- a/dev-lang/dmd/dmd-2.075.1-r4.ebuild +++ b/dev-lang/dmd/dmd-2.075.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ DLANG_VERSION_RANGE="2.067-2.080" inherit dmd -PATCHES=( "${FILESDIR}/2.077-link-32-bit-shared-lib-with-ld.bfd.patch" ) +PATCHES=( "${FILESDIR}/2.074-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { # Copy default DDOC theme file into resource directory diff --git a/dev-lang/dmd/dmd-2.076.1-r4.ebuild b/dev-lang/dmd/dmd-2.076.1-r4.ebuild index 714266e..41e4493 100644 --- a/dev-lang/dmd/dmd-2.076.1-r4.ebuild +++ b/dev-lang/dmd/dmd-2.076.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ DLANG_VERSION_RANGE="2.067-2.080" inherit dmd -PATCHES=( "${FILESDIR}/2.077-link-32-bit-shared-lib-with-ld.bfd.patch" ) +PATCHES=( "${FILESDIR}/2.074-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { # Copy default DDOC theme file into resource directory diff --git a/dev-lang/dmd/dmd-2.077.1-r3.ebuild b/dev-lang/dmd/dmd-2.077.1-r3.ebuild index 714266e..41e4493 100644 --- a/dev-lang/dmd/dmd-2.077.1-r3.ebuild +++ b/dev-lang/dmd/dmd-2.077.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ DLANG_VERSION_RANGE="2.067-2.080" inherit dmd -PATCHES=( "${FILESDIR}/2.077-link-32-bit-shared-lib-with-ld.bfd.patch" ) +PATCHES=( "${FILESDIR}/2.074-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { # Copy default DDOC theme file into resource directory diff --git a/dev-lang/dmd/dmd-2.078.3-r3.ebuild b/dev-lang/dmd/dmd-2.078.3-r3.ebuild index 0024f37..932c83e 100644 --- a/dev-lang/dmd/dmd-2.078.3-r3.ebuild +++ b/dev-lang/dmd/dmd-2.078.3-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ inherit dmd PATCHES=( "${FILESDIR}/2.078-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.079.1-r3.ebuild b/dev-lang/dmd/dmd-2.079.1-r3.ebuild index 0024f37..932c83e 100644 --- a/dev-lang/dmd/dmd-2.079.1-r3.ebuild +++ b/dev-lang/dmd/dmd-2.079.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ inherit dmd PATCHES=( "${FILESDIR}/2.078-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.080.1-r3.ebuild b/dev-lang/dmd/dmd-2.080.1-r3.ebuild index 7cc207e..d7a6ae7 100644 --- a/dev-lang/dmd/dmd-2.080.1-r3.ebuild +++ b/dev-lang/dmd/dmd-2.080.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ DLANG_VERSION_RANGE="2.067-2.080" inherit dmd -PATCHES=( "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" ) +PATCHES=( "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { # Copy default DDOC theme file into resource directory diff --git a/dev-lang/dmd/dmd-2.081.2-r3.ebuild b/dev-lang/dmd/dmd-2.081.2-r3.ebuild index e448d2c..71abcf7 100644 --- a/dev-lang/dmd/dmd-2.081.2-r3.ebuild +++ b/dev-lang/dmd/dmd-2.081.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ inherit dmd PATCHES=( "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.082.1-r3.ebuild b/dev-lang/dmd/dmd-2.082.1-r3.ebuild index f80d9a7..54f2016 100644 --- a/dev-lang/dmd/dmd-2.082.1-r3.ebuild +++ b/dev-lang/dmd/dmd-2.082.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-" inherit dmd PATCHES=( - "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.082-allow-deprecations.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.083.1-r2.ebuild b/dev-lang/dmd/dmd-2.083.1-r2.ebuild index f80d9a7..54f2016 100644 --- a/dev-lang/dmd/dmd-2.083.1-r2.ebuild +++ b/dev-lang/dmd/dmd-2.083.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-" inherit dmd PATCHES=( - "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.082-allow-deprecations.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.084.1-r2.ebuild b/dev-lang/dmd/dmd-2.084.1-r2.ebuild index f8ab160..8289941 100644 --- a/dev-lang/dmd/dmd-2.084.1-r2.ebuild +++ b/dev-lang/dmd/dmd-2.084.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-" inherit dmd PATCHES=( - "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.082-allow-deprecations.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.085.1-r2.ebuild b/dev-lang/dmd/dmd-2.085.1-r2.ebuild index f8ab160..8289941 100644 --- a/dev-lang/dmd/dmd-2.085.1-r2.ebuild +++ b/dev-lang/dmd/dmd-2.085.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-" inherit dmd PATCHES=( - "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.082-allow-deprecations.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.086.1-r1.ebuild b/dev-lang/dmd/dmd-2.086.1-r1.ebuild index 757a4dc..728dce9 100644 --- a/dev-lang/dmd/dmd-2.086.1-r1.ebuild +++ b/dev-lang/dmd/dmd-2.086.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.073-" inherit dmd PATCHES=( - "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.082-allow-deprecations.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.087.1-r1.ebuild b/dev-lang/dmd/dmd-2.087.1-r1.ebuild index 785eb6b..11fbc18 100644 --- a/dev-lang/dmd/dmd-2.087.1-r1.ebuild +++ b/dev-lang/dmd/dmd-2.087.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.075-" inherit dmd PATCHES=( - "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.082-allow-deprecations.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.088.1-r1.ebuild b/dev-lang/dmd/dmd-2.088.1-r1.ebuild index e651c15..ec01d83 100644 --- a/dev-lang/dmd/dmd-2.088.1-r1.ebuild +++ b/dev-lang/dmd/dmd-2.088.1-r1.ebuild @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.075-" inherit dmd PATCHES=( - "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.082-allow-deprecations.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.089.1.ebuild b/dev-lang/dmd/dmd-2.089.1.ebuild index e651c15..ec01d83 100644 --- a/dev-lang/dmd/dmd-2.089.1.ebuild +++ b/dev-lang/dmd/dmd-2.089.1.ebuild @@ -10,8 +10,8 @@ DLANG_VERSION_RANGE="2.075-" inherit dmd PATCHES=( - "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.082-allow-deprecations.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.090.1.ebuild b/dev-lang/dmd/dmd-2.090.1.ebuild index e750be0..41237d0 100644 --- a/dev-lang/dmd/dmd-2.090.1.ebuild +++ b/dev-lang/dmd/dmd-2.090.1.ebuild @@ -10,7 +10,7 @@ DLANG_VERSION_RANGE="2.076-" inherit dmd PATCHES=( - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.091.1.ebuild b/dev-lang/dmd/dmd-2.091.1.ebuild index e750be0..41237d0 100644 --- a/dev-lang/dmd/dmd-2.091.1.ebuild +++ b/dev-lang/dmd/dmd-2.091.1.ebuild @@ -10,7 +10,7 @@ DLANG_VERSION_RANGE="2.076-" inherit dmd PATCHES=( - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.092.1.ebuild b/dev-lang/dmd/dmd-2.092.1.ebuild index 6b582a8..3de9271 100644 --- a/dev-lang/dmd/dmd-2.092.1.ebuild +++ b/dev-lang/dmd/dmd-2.092.1.ebuild @@ -10,7 +10,7 @@ DLANG_VERSION_RANGE="2.076-" inherit dmd PATCHES=( - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" ) dmd_src_prepare_extra() { diff --git a/dev-lang/dmd/dmd-2.093.0.ebuild b/dev-lang/dmd/dmd-2.093.0.ebuild new file mode 100644 index 0000000..cce541d --- /dev/null +++ b/dev-lang/dmd/dmd-2.093.0.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KEYWORDS="-* ~amd64 ~x86" +YEAR=2020 +DLANG_VERSION_RANGE="2.076-" + +inherit dmd + +PATCHES=( + "${FILESDIR}/2.078-link-32-bit-shared-lib-with-ld.bfd.patch" +) diff --git a/dev-lang/dmd/files/2.063-no-narrowing.patch b/dev-lang/dmd/files/2.063-no-narrowing.patch index 5bbab9f..4fca27d 100644 --- a/dev-lang/dmd/files/2.063-no-narrowing.patch +++ b/dev-lang/dmd/files/2.063-no-narrowing.patch @@ -1,12 +1,12 @@ --- dmd2/dmd/src/posix.mak +++ dmd2/dmd/src/posix.mak @@ -69,6 +69,9 @@ endif - + CFLAGS = $(GFLAGS) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 MFLAGS = $(GFLAGS) -I$C -I$(TK) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 +ifeq ($(findstring g++,$(HOST_CC)), g++) +MFLAGS := $(MFLAGS) -std=gnu++98 +endif - + CH= $C/cc.h $C/global.h $C/oper.h $C/code.h $C/type.h \ - $C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH) + $C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH) diff --git a/dev-lang/dmd/files/2.064-no-narrowing.patch b/dev-lang/dmd/files/2.064-no-narrowing.patch index a981c7e..82ae513 100644 --- a/dev-lang/dmd/files/2.064-no-narrowing.patch +++ b/dev-lang/dmd/files/2.064-no-narrowing.patch @@ -1,12 +1,12 @@ --- dmd2/dmd/src/posix.mak +++ dmd2/dmd/src/posix.mak @@ -76,6 +76,9 @@ endif - + CFLAGS = $(GFLAGS) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 MFLAGS = $(GFLAGS) -I$C -I$(TK) -I$(ROOT) -DMARS=1 -DTARGET_$(OS)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 -DDMDV2=1 +ifeq ($(findstring g++,$(HOST_CC)), g++) +MFLAGS := $(MFLAGS) -std=gnu++98 +endif - + CH= $C/cc.h $C/global.h $C/oper.h $C/code.h $C/type.h \ - $C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH) + $C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH) diff --git a/dev-lang/dmd/files/2.065-no-narrowing.patch b/dev-lang/dmd/files/2.065-no-narrowing.patch index 87c2e63..5fe49f6 100644 --- a/dev-lang/dmd/files/2.065-no-narrowing.patch +++ b/dev-lang/dmd/files/2.065-no-narrowing.patch @@ -1,12 +1,12 @@ --- dmd2/dmd/src/posix.mak +++ dmd2/dmd/src/posix.mak -@@ -54,6 +54,9 @@ +@@ -54,6 +54,9 @@ OS_UPCASE:=$(shell echo $(OS) | tr '[a-z]' '[A-Z]') CFLAGS = $(GFLAGS) -I$(ROOT) -DMARS=1 -DTARGET_$(OS_UPCASE)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 MFLAGS = $(GFLAGS) -I$C -I$(TK) -I$(ROOT) -DMARS=1 -DTARGET_$(OS_UPCASE)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 -DDMDV2=1 +ifeq ($(findstring g++,$(HOST_CC)), g++) +MFLAGS := $(MFLAGS) -std=gnu++98 +endif - + DMD_OBJS = \ - access.o attrib.o bcomplex.o blockopt.o \ + access.o attrib.o bcomplex.o blockopt.o \ diff --git a/dev-lang/dmd/files/2.074-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 new file mode 100644 index 0000000..ca9b685 --- /dev/null +++ b/dev-lang/dmd/files/2.074-link-32-bit-shared-lib-with-ld.bfd.patch @@ -0,0 +1,11 @@ +--- dmd2/dmd/src/ddmd/link.d ++++ dmd2/dmd/src/ddmd/link.d +@@ -487,6 +487,8 @@ else version (Posix) + { + if (global.params.dll) + argv.push("-shared"); ++ if (!global.params.is64bit) ++ argv.push("-fuse-ld=bfd"); + } + // None of that a.out stuff. Use explicit exe file name, or + // generate one from name of first source file. diff --git a/dev-lang/dmd/files/2.077-link-32-bit-shared-lib-with-ld.bfd.patch b/dev-lang/dmd/files/2.077-link-32-bit-shared-lib-with-ld.bfd.patch deleted file mode 100644 index 52d66fa..0000000 --- a/dev-lang/dmd/files/2.077-link-32-bit-shared-lib-with-ld.bfd.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- dmd2/dmd/src/ddmd/link.d -+++ dmd2/dmd/src/ddmd/link.d -@@ -501,7 +501,9 @@ } - else version (Posix) - { - if (global.params.dll) - argv.push("-shared"); -+ if (!global.params.is64bit) -+ argv.push("-fuse-ld=bfd"); - } - // None of that a.out stuff. Use explicit exe file name, or - // generate one from name of first source file. diff --git a/dev-lang/dmd/files/2.078-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 new file mode 100644 index 0000000..4de62e4 --- /dev/null +++ b/dev-lang/dmd/files/2.078-link-32-bit-shared-lib-with-ld.bfd.patch @@ -0,0 +1,11 @@ +--- dmd2/dmd/src/dmd/link.d ++++ dmd2/dmd/src/dmd/link.d +@@ -446,6 +446,8 @@ else version (Posix) + { + if (global.params.dll) + argv.push("-shared"); ++ if (!global.params.is64bit) ++ argv.push("-fuse-ld=bfd"); + } + // None of that a.out stuff. Use explicit exe file name, or + // generate one from name of first source file. diff --git a/dev-lang/dmd/files/2.082-allow-deprecations.patch b/dev-lang/dmd/files/2.082-allow-deprecations.patch new file mode 100644 index 0000000..5a256de --- /dev/null +++ b/dev-lang/dmd/files/2.082-allow-deprecations.patch @@ -0,0 +1,11 @@ +--- dmd2/dmd/src/posix.mak ++++ dmd2/dmd/src/posix.mak +@@ -233,7 +233,7 @@ + DFLAGS= + override DFLAGS += -version=MARS $(PIC) -J$G + # Enable D warnings +-override DFLAGS += -w -de ++override DFLAGS += -w + + # Append different flags for debugging, profiling and release. + ifdef ENABLE_DEBUG diff --git a/dev-lang/dmd/files/2.083-link-32-bit-shared-lib-with-ld.bfd.patch b/dev-lang/dmd/files/2.083-link-32-bit-shared-lib-with-ld.bfd.patch deleted file mode 100644 index 422e61f..0000000 --- a/dev-lang/dmd/files/2.083-link-32-bit-shared-lib-with-ld.bfd.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- dmd2/dmd/src/dmd/link.d -+++ dmd2/dmd/src/dmd/link.d -@@ -434,7 +434,9 @@ } - else version (Posix) - { - if (global.params.dll) - argv.push("-shared"); -+ if (!global.params.is64bit) -+ argv.push("-fuse-ld=bfd"); - } - // None of that a.out stuff. Use explicit exe file name, or - // generate one from name of first source file. diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest index e82bd6b..6db3edd 100644 --- a/dev-util/dlang-tools/Manifest +++ b/dev-util/dlang-tools/Manifest @@ -27,6 +27,7 @@ DIST dlang-tools-2.089.1.tar.gz 117693 BLAKE2B 6e499fd01bda7a58036b08f30319549ca DIST dlang-tools-2.090.1.tar.gz 117709 BLAKE2B 8a714a5bd6860bf4a856fbbde2a7188b404b819e11f9ed815688b9acb5fa6e95a95c0fb4aa407495da89a0e3b19dba584be1d90f3c60c2af95090d6e81f221d6 SHA512 82f6d3fd4a7f6fd013425894ec5f817c960764479649c97139a019802fc5c2a83671102f1b2a9427e88446055e5a1a4fa884a4b86400a84107b2d5ca322b7a32 DIST dlang-tools-2.091.1.tar.gz 117714 BLAKE2B bd0957f0e70401b1ededf29be7f942da1445c66e3ea4b47f31b136413b506c3dd03faa4cb1962a10ae51edd0cb18b282da072b0ba63f0f0d7e2cd3e460924e3a SHA512 b8fb4f4c1e9aed1e2134644152a32a7c6073d801458bf0a45a23e86cd761a19c4b517365112edc7af73fbef3c26b4106fa0ee7478a78fa41c531a060c25e3955 DIST dlang-tools-2.092.1.tar.gz 119015 BLAKE2B 35121ccda680297d686b6133b80f27d04c133d3d6add4a335294c203a58475326563b5f81cd90a3d1b261c7799b244b739924ec32a6bbf887a98dcad486b64b4 SHA512 84d69e2b5e073bc038f438304060a490bc41c740eba14599b911aa66cc40b0f4ba1fa55536c77f01c6964210025283a3c6d32768493e9ca1e021eadaaa38f8b2 +DIST dlang-tools-2.093.0.tar.gz 118851 BLAKE2B 8678f91a9a8b9168314cef88abd9896369109a16c3cad85b2cb450ec73d3a73c289fda6bd998979859fff7c07692986b1e16fa10db79373a4bff0fed3360fc41 SHA512 e22cef21b37b05f7abf98e514c836fef1de58eebc219a2c9b6178de336f1b82d4ece87376722dd0a07b6b8803b7bf9cbe9d015a089f709c319f327d7577e35da DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9 SHA512 a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf DIST dlang.org-2.065.0.tar.gz 1005429 BLAKE2B 01fc8ec0c5148f910e2923be556208c08a18f00453ffa1f1a22d6725db6489b6f9022cd170caa3a05078baddde353ee819984da5efa53547e78006d2f0a97b9c SHA512 0fb185603766b54c3b9dc57824b18ec7ea9f37281610729860543630f4546591f9523bff48eee5414235d2ee656201c444e6d2efc44ba66a052b98a0d9b4729e DIST dlang.org-2.066.1.tar.gz 1024075 BLAKE2B cfdb4922c38d9f0ced941eeb4578d71f09d65201d2f89cfc73e46ae73f0939c74fa92d7f003b87a28f814c5b2cc0dda6855b86e64fd86be3920c129f8c20df6a SHA512 d3838cc2ab6236d57c17f92fa5eaef8458176715985aecbea9653cc772725e1b9f813c9ffc8e06490e08c1031826ab84d1fcfbd88008791cac3257db814e3dc8 diff --git a/dev-util/dlang-tools/dlang-tools-2.093.0.ebuild b/dev-util/dlang-tools/dlang-tools-2.093.0.ebuild new file mode 100644 index 0000000..6b8a8e1 --- /dev/null +++ b/dev-util/dlang-tools/dlang-tools-2.093.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Ancilliary tools for the D programming language compiler" +HOMEPAGE="http://dlang.org/" +LICENSE="Boost-1.0" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +TOOLS="ddemangle detab dustmite rdmd" +IUSE="+ddemangle detab dustmite +rdmd" +REQUIRED_USE="|| ( ${TOOLS} )" + +inherit eapi7-ver + +DLANG_SLOT="$(ver_cut 1-2)" +RESTRICT="mirror" + +BETA="$(ver_cut 4)" +VERSION="$(ver_cut 1-3)" + +if [[ -n "${BETA}" ]]; then + VERSION="${VERSION}-b${BETA:4}" +fi +SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-tools-${VERSION}.tar.gz" + +DLANG_VERSION_RANGE="2.076-" +DLANG_PACKAGE_TYPE="single" + +inherit eutils dlang + +S="${WORKDIR}/tools-${VERSION}" + +d_src_compile() { + use ddemangle && dlang_compile_bin ddemangle ddemangle.d + use detab && dlang_compile_bin detab detab.d + use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d + use rdmd && dlang_compile_bin rdmd rdmd.d +} + +d_src_install() { + for tool in ${TOOLS}; do + if use "${tool}"; then + dobin "${tool}" + fi + done + + # file icons + for size in 16 22 24 32 48 256; do + newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png + done +} diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest index 9ff7ef1..8f9c47b 100644 --- a/dev-util/dub/Manifest +++ b/dev-util/dub/Manifest @@ -1 +1,2 @@ DIST dub-1.21.0.tar.gz 1272369 BLAKE2B afcc92d9c7a9c49497259011d9c70aaeb559c0835d45d7e90c54c2e2361ec3c9ec69928e16c06ace0bb6c03f9e66ecad6717a64df5f83e41d671763296540339 SHA512 d85be6e35f51e34d34afce71fe902b8ef623c6f49ed6f5f755dded5bceda49416f9d625377136b928d0f95496e57999f0dd57a4cea796360edd34c72556debd7 +DIST dub-1.22.0.tar.gz 1275009 BLAKE2B 87bb4235595b4e24a368ede86c9000ef8c605dbc471207e5d8e474647ed3002ba370b3c3c732fcec8ad3082add7c9fb98947df522ece8a6ac727ec4e956b3a63 SHA512 61f923916be1f16e8f77c228c53724e69e532573140674da902c374b63f3ca1f66b0da323a9c3a131f98af48e7755b5d3b70d33433fa0deb733215da2b4cd6b2 diff --git a/dev-util/dub/dub-1.22.0.ebuild b/dev-util/dub/dub-1.22.0.ebuild new file mode 100644 index 0000000..23205f6 --- /dev/null +++ b/dev-util/dub/dub-1.22.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Package and build management system for D" +HOMEPAGE="http://code.dlang.org/" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="debug" + +GITHUB_URI="https://codeload.github.com/dlang" +SRC_URI="${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz" +PATCHES="${FILESDIR}/${P}-gdc-dmd-pathfix.patch" + +DLANG_VERSION_RANGE="2.076-" +DLANG_PACKAGE_TYPE="single" + +inherit dlang + +DEPEND="net-misc/curl" +RDEPEND="${DEPEND}" + +d_src_compile() { + local imports=source versions="DubApplication DubUseCurl" libs="curl z" + dlang_compile_bin bin/dub $(