diff options
author | 2024-07-06 18:43:04 +0300 | |
---|---|---|
committer | 2024-07-06 18:43:44 +0300 | |
commit | b9613ee698b09671b8692004950cdd666aea3c68 (patch) | |
tree | ec02236cbb9b4cb9112a24d0d1a8de8b746f4d49 | |
parent | dmd-r1.eclass: clarify dependency on stdlib of host compiler (diff) | |
download | dlang-b9613ee698b09671b8692004950cdd666aea3c68.tar.gz dlang-b9613ee698b09671b8692004950cdd666aea3c68.tar.bz2 dlang-b9613ee698b09671b8692004950cdd666aea3c68.zip |
dev-lang/dmd: add 2.109.1
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
-rw-r--r-- | dev-lang/dmd/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/dmd/dmd-2.109.1.ebuild | 15 | ||||
-rw-r--r-- | dev-lang/dmd/files/2.109-importc-mute-gcc-warnings-pr-16605.patch | 25 | ||||
-rw-r--r-- | eclass/dlang-compilers-r1.eclass | 1 | ||||
-rw-r--r-- | profiles/use.desc | 2 |
5 files changed, 46 insertions, 0 deletions
diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest index 052096f..635034d 100644 --- a/dev-lang/dmd/Manifest +++ b/dev-lang/dmd/Manifest @@ -1,5 +1,6 @@ DIST dmd-2.107.0.tar.gz 5947524 BLAKE2B 11f7d5f75842b1a2657a8687f69e7bf442aff55f1fef01c96f5cfa27c2b9952196692b6e520bb8eaa156b76d298291d8c514bcbb1d632cd42224ab4d7fb5840c SHA512 2d4392d2c423773dfb4a38a0b8e58de26770d148a5a0a31eecc0623276eacd0e4b3cac3e0d3b20ac444cd2676f44ff623268db8cfc41590db2bc546762d973dc DIST dmd-2.108.1.tar.gz 5984240 BLAKE2B 839dd385389590ec47450f4bcb56b48c3fcdcbda545ad2649b02ae5e491946515ca320f638e96e593b70f4734a72a8b6376b10558affc299a9507d53c0bc6583 SHA512 b2192e3138a0057b40d571b7145dd8a967660e296f1bc1bf7a14cb8f6224b672042195a4896feeba72bc34034566095e6898af21912f15c936411906cb5520b7 +DIST dmd-2.109.1.tar.gz 6017602 BLAKE2B ba5ba5c4e879b086591c77fbab4ef1bed2726a843a213f8662c3cbbcf4d4897ea01725cff2b44b785674ef511dd75c011450711e3e18a45f821dd23a81dc8526 SHA512 d4b6d4da6ff9f471ea028688fa3694440d3cf3b98f30f7a3665f0a61e667b4f78c2d4554d4ea2d78a0ab2c890e74b079150b6759fdc1ac612b9e374a730b837c DIST dmd.2.101.2.linux.tar.xz 22666828 BLAKE2B 8233d9f375291d73530a677cd5180153bc758076fd135c420cbb088bf84147fa1f0dc1cd563e94737e781823db26e4e0250af31d68819c3375224a92e53876b6 SHA512 7e1ce980fce7a2a995af92b2e05acdfcb2d8abc14780e11d8234792b80edead68c455e644e1830d360651bdacefa1aace963ce652fbfd3b0951dd9002fcfb87f DIST dmd.2.102.2.linux.tar.xz 22699620 BLAKE2B b0a8fc0650bfe5df4a40ccf20d160765a8ed7804915a1049366ff8b4044d7036ca7f27c8bc71146dc33bf60bf03bc09a9bd8758b9850b020480774f130325abd SHA512 a2dab6efe46176bed0dca98fcf590c6823be9e4d5ca89bce0ff088e7c59a63f8eb4bb3742df1975cc90b5efd78c11377e682b0083fe44c394a73161cbb2b3aa3 DIST dmd.2.103.1.linux.tar.xz 22747324 BLAKE2B b00f41b4ab48be9c5467342314995e69332d4c8bff86083474a940431721d179d5e5ef64734f355df2d96637983de2262d45516594434ad3ad6c4d57a0d7a54c SHA512 854cf08d715506bd36d791c1471f2dd1d834f439bdf4489b4addf0cc5abdecbefceb966baeb764eb5ca816a5830ac7374818ba6fbcad24668d011d56a32a1f15 @@ -8,5 +9,7 @@ DIST dmd.2.105.3.linux.tar.xz 22582468 BLAKE2B bbff951452a3fa0ba8fd30ad4a24720ee DIST dmd.2.106.1.linux.tar.xz 22778396 BLAKE2B 66ff621beed21ef4fada3562380fe000d57aa7ca962c53b0b4c18520a47a76a9c405fe7074d17e2882e03313cdef47c67e6f690442e8f6ada8baf8e1589a4579 SHA512 2f287c1774196ad35d48288eef0ab87670b3b470ebd4b4707388197fc79ccbc9af0c6e839b9ffd3d2f3f06624fabbedb9bf4fc1c0a670a2131f700be572a244f DIST dmd.2.107.0.linux.tar.xz 22438472 BLAKE2B 551b2a723256b61b4c07fe44ace55c91c92f796fbd67aa5012c0efa9cb8c79010c1dcd9039dd85a19cb3c09163221792c1eb2200ecc6c1c9d74019df717f6fd1 SHA512 888369938fbf6dbcaf0c534ed899ffe055cef363e47282374fd45a3a702d97f96a7c7ce9a55a199915e5cc86e4b78ff86fccbd6334c4a4f1a940be5fa2872d11 DIST dmd.2.108.1.linux.tar.xz 22554596 BLAKE2B 9442455e84061fe832f93ae2658089156f567639850bd58d3a8df0f1678138c1cd1fe607d67ac5ace6fa41a930211140cba13b421fa0cff4fd9e781e1ee90025 SHA512 8b7388f5d0d1bde7cfd9c19edad99e951c8d38ccd524e876b3294509fff4436d9652aaba44dd8e2fd2fbb329075af09519b3e48b4bec7d2a85b2a58da785526f +DIST dmd.2.109.1.linux.tar.xz 22635268 BLAKE2B 1a188de152f530146461c1d58452baf7bd5fbb8eeb68f52a45a1e3e2eb79205b5226e029b1bf93c69a7e2f751ffebea52ef900d0d1c2cdc62de1ccdc44371585 SHA512 c9c977e8068ee8d6db9d7c8980b21d1bd32a2e703e11eddc963980c7c560e77bc78caf749a48a76b319d3d27027b83c4fa0d6289a31a46ddcbe59b8d46fb1282 DIST phobos-2.107.0.tar.gz 2756892 BLAKE2B 604d19254e453f0a04e6659e46de187837f5ab82278f8a52ae9714b91d3554e3cc166086860ca32e39d722847c4e962762e26e8226ce685064d5dcc10d3a708b SHA512 4002878851673bc4deaec66dd35d2dc3cfe5f72b7050e2b454bf53aeaa8b4a68fc425d248eab4fbea89f251298b66c726166c41666a69a5508092fd30a9903d5 DIST phobos-2.108.1.tar.gz 2749901 BLAKE2B dcf5117d5a25b458f2eca77441ffbfb1778e559c11726730682662601035dd4c5202934d244604fdc8cfecc5aa36a92a7ad1f842014c8a77b9c43aa0ce6a9876 SHA512 0267a0efabe1f447198810e71b11cee16f0cf7cfada7907a29133ca0483c5ce4f647b7afbf627d34b746f8afbf9bafa26183b3decf2c67d2c1329ad7b81bfad5 +DIST phobos-2.109.1.tar.gz 2781164 BLAKE2B 8475ec1236dac6a711839387980986530e3671da603800dcffb09cc369f86b8c04ac27ee84629285857ba4255dfbfdff14c209f02db11e140a7aeced9fbd52d0 SHA512 712478d2fb60a792ce5703062f0af3bafcddb54970cb8b9b579b8cd2ff560f958c7007d18dd4a66f7d4f25f74b8765505fe2de59c1756a4f679c2064f8025bcb diff --git a/dev-lang/dmd/dmd-2.109.1.ebuild b/dev-lang/dmd/dmd-2.109.1.ebuild new file mode 100644 index 0000000..481f807 --- /dev/null +++ b/dev-lang/dmd/dmd-2.109.1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KEYWORDS="-* ~amd64 ~x86" +DLANG_COMPAT=( dmd-2_{106..109} gdc-1{3,4} ldc2-1_{35..38} ) + +inherit dmd-r1 + +PATCHES=( + "${FILESDIR}/2.107-dmd-r1-link-32-bit-shared-lib-with-ld.bfd.patch" + + "${FILESDIR}/2.109-importc-mute-gcc-warnings-pr-16605.patch" +) diff --git a/dev-lang/dmd/files/2.109-importc-mute-gcc-warnings-pr-16605.patch b/dev-lang/dmd/files/2.109-importc-mute-gcc-warnings-pr-16605.patch new file mode 100644 index 0000000..bac50c0 --- /dev/null +++ b/dev-lang/dmd/files/2.109-importc-mute-gcc-warnings-pr-16605.patch @@ -0,0 +1,25 @@ +# This is needed for proper gcc-14 compatibility. Without this +# >=gcc-14 will print warnings whenever it preprocesses a C file which +# is very noisy and breaks the C testsuite. + +From 3413932f954bede7e112d7e112f52f3a481bef23 Mon Sep 17 00:00:00 2001 +From: ryuukk <44361234+ryuukk@users.noreply.github.com> +Date: Fri, 21 Jun 2024 14:06:12 +0200 +Subject: [PATCH] Mute noisy warnings + +--- a/dmd/druntime/src/importc.h ++++ b/dmd/druntime/src/importc.h +@@ -8,6 +8,13 @@ + * Source: $(DRUNTIMESRC importc.h) + */ + ++/********************** ++ * Silence noisy warnings for this file ++ */ ++#ifdef __GNUC__ ++#pragma GCC system_header ++#endif ++ + /********************** + * For special casing ImportC code. + */ diff --git a/eclass/dlang-compilers-r1.eclass b/eclass/dlang-compilers-r1.eclass index ebf76b4..4588e5b 100644 --- a/eclass/dlang-compilers-r1.eclass +++ b/eclass/dlang-compilers-r1.eclass @@ -45,6 +45,7 @@ readonly _DLANG_DMD_FRONTENDS=( "2.106 2.106 ~amd64 ~x86" "2.107 2.107 ~amd64 ~x86" "2.108 2.108 ~amd64 ~x86" + "2.109 2.109 ~amd64 ~x86" ) # @ECLASS_VARIABLE: _DLANG_GDC_FRONTENDS diff --git a/profiles/use.desc b/profiles/use.desc index b6e09ae..5e8f5f2 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -6,6 +6,7 @@ dlang_single_target_dmd-2_105 - Build for DMD 2.105 only dlang_single_target_dmd-2_106 - Build for DMD 2.106 only dlang_single_target_dmd-2_107 - Build for DMD 2.107 only dlang_single_target_dmd-2_108 - Build for DMD 2.108 only +dlang_single_target_dmd-2_109 - Build for DMD 2.109 only dlang_single_target_gdc-12 - Build for GCC 12 only dlang_single_target_gdc-13 - Build for GCC 13 only @@ -27,6 +28,7 @@ dlang_targets_dmd-2_105 - Build with DMD 2.105 dlang_targets_dmd-2_106 - Build with DMD 2.106 dlang_targets_dmd-2_107 - Build with DMD 2.107 dlang_targets_dmd-2_108 - Build with DMD 2.108 +dlang_targets_dmd-2_109 - Build with DMD 2.109 dlang_targets_gdc-12 - Build with GCC 12 dlang_targets_gdc-13 - Build with GCC 13 |