1 |
commit: 22176cd5fa6d4c27d85d7cf93ff79ac165276bb1 |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 11 16:52:07 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 11 16:52:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22176cd5 |
7 |
|
8 |
dev-lang/gnat-gpl: remove masked version |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-lang/gnat-gpl/Manifest | 8 - |
14 |
dev-lang/gnat-gpl/files/gcc-spec-env-r1.patch | 87 -------- |
15 |
.../gnat-gpl/files/gnat-gpl-2016-bootstrap.patch | 66 ------- |
16 |
.../files/gnat-gpl-2016-finalization.patch | 220 --------------------- |
17 |
dev-lang/gnat-gpl/files/gnat-gpl-2016-gentoo.patch | 57 ------ |
18 |
.../gnat-gpl/files/gnat-gpl-2016-profile.patch | 113 ----------- |
19 |
dev-lang/gnat-gpl/gnat-gpl-2016-r4.ebuild | 157 --------------- |
20 |
dev-lang/gnat-gpl/metadata.xml | 2 - |
21 |
8 files changed, 710 deletions(-) |
22 |
|
23 |
diff --git a/dev-lang/gnat-gpl/Manifest b/dev-lang/gnat-gpl/Manifest |
24 |
index e221b8dc8f6..e569b85df24 100644 |
25 |
--- a/dev-lang/gnat-gpl/Manifest |
26 |
+++ b/dev-lang/gnat-gpl/Manifest |
27 |
@@ -1,12 +1,6 @@ |
28 |
DIST ecj-4.5.jar 1470676 BLAKE2B 793c10ba09fd8040c0e1181204141aea16780c9c9088e07126e00da2b510af2ad6f58d876357d7e98cbb02d783a3be434469d5de1df134ccb8cc508e45028d80 SHA512 d4e1bf7538ace56e3d69fa91da5bbd16c272923b4de0a9d8dee23ea2b75f9f38c603de72fc4061df49285c450b63f3df211cee5270e9fffc5447445d1a9c9e4e |
29 |
DIST gcc-10-2021-20210519-19A74-src.tar.gz 109157702 BLAKE2B 8ec307e4fde35c8726bc7b9702717329695bad928d5222a7bb691cce47500de31a60bcfcbb925129a57cb81d3d7ea92e60599aa7383d5358e63cc087b0482550 SHA512 2e2cc0ec9a3a82816a5d399d2db261c356e106b82a44efd54a1ac882b96549ab8de79c69858127c4397de6e9e9463ce6fb9994fc2e426e7d3d2f98d5efa2edb6 |
30 |
DIST gcc-10.3.0-patches-1.tar.bz2 15282 BLAKE2B ef283e8b108af9bfd3324fabb95c835374113c6ff2cf1430a5568b3d1b27183e6de6751367c1e5720c85ac4c45132848888d5510c63f95e88a1f623b6bcf4000 SHA512 6dc435c8619a1532000fae843b9964d0d1e28d3cc9cc1962ab7391570a0cf1135424ea5c0b0d3d5ec5ea863f02e963be2ec4c94822f217fc692a1d808325404e |
31 |
-DIST gcc-4.4.3-specs-0.2.0.tar.bz2 2004 BLAKE2B 96f5ba2028bc6e0ef71e009857c37118a54d13d30de24d697c85e5772f9f2b7853615648cf2e4ee81d8385f6518c64588c0b56675c00f95ef39fca2a808f075e SHA512 779ecb0a064d2138b54569c8ae501975b8a6b72e5a3acbf8597619a8db77ee42ef9b0e62608d5192a15e4393e7dfc009bb50b994782236faa744b2c46b5fe517 |
32 |
-DIST gcc-4.9-gpl-2016-src.tar.gz 76361760 BLAKE2B 681aac3dd2e04110f58637cc9fe1eb663ce55af16a929a446eb59ce338bec9357e65517890f7fa01d61eec9c5041336722b2b94a5fea27a55ade686fe1fe9fbc SHA512 da1e26b4dbbe0ec634eab4e64d1cdb2632300c24f0885bc72fb57edba6ce29ab92b04eaedd8f8077ea623f1ef1428f53616e8c8d6630328d9790d968b60c67cf |
33 |
-DIST gcc-4.9.4-patches-1.4.tar.bz2 27240 BLAKE2B 26b7d08bad4b617ede2564f77ded67cc87ec6b9f6b4d4ff78b5b75c1d5739fc4049480c716075d74c9b8e23a4a3c1889796cacb3456a3982ab04a0781fe3cd04 SHA512 efa60a7f86e684710848182c7d040565c9cec7666e897adc02e5dea9d4c76117deece7b1f7e1f8772cdec9697bb92b762f93408824e47b3f63b4f35029f50a4b |
34 |
-DIST gcc-4.9.4-piepatches-v0.6.4.tar.bz2 14414 BLAKE2B 2eccd4f2a164fbb32d13c7fe91627a2424c0a5570fe0cac97c2bb1c95294ba3d770832da7c445f75c91791466c5139a1e13753a3a40d87ff5e44e42749adee27 SHA512 243fa272ea0e49f700a76508bab3e03bbb353bcb930581b2f87f9a47df5cd3880e29f20b71612b21190adc463849e1e6ac2a38a49c0002b562d93d436f538285 |
35 |
-DIST gcc-4.9.4-uclibc-patches-1.0.tar.bz2 2618 BLAKE2B bff85a4088fb94fdb7a8b0bd552be98ace3e6d145889b6f8b4a1f2db2dad14342d155890ab159b42d5b55d88dfb7c392eb7f92590084e1958f6284c561da30f1 SHA512 5a1f44caa9261f4947101379628143869b31dec67fa28605e8e1f3894d4b7120c3f68ba6deb59da7a74fa906e27ab32cd3767761837dc3dfebc37865d349d6db |
36 |
-DIST gcc-4.9.4.tar.bz2 90097606 BLAKE2B 373ff939ea72d6c4a7f3ab899b852b4c919481af2cfe3291281d9354c58a270d2eba73a0f301d90840dfabf423c82b368e113df7a2cb6cc28b2a703b0b6eb585 SHA512 93abb78e16277454f41a8e9810f41f66c0fdffdc539a762ff6b67d3037f78db971378683fd2ebf707d1d51c059fad2161fe42d110c330027f40214b7db0f3efe |
37 |
DIST gcc-6-gpl-2017-src.tar.gz 88045488 BLAKE2B 5df712eadef723df9057653e49d215cef6b59032e4b4a62c8622a7b735c660f42ec4135dba628a2080a7540d407186a4e4b1eb373e937374bc4e407dc9afe97d SHA512 bf8f786b5ad28a6b7d184fb5263424b7ed62154e308e259b61c24a577efdae56939fbaabc1fc53a0f467702c1e6d8598dc6e489ce074724799130a793cfb146e |
38 |
DIST gcc-6.3.0-patches-1.0.tar.bz2 7596 BLAKE2B e3c298bd80b83e72d6ea9b4ec777d4f28153bf959da1e54307909383efecd2bf0e7e0cc9d9b27529e5f00b2e27132bf5ff6afd2129d061d3b111f9cfe732a874 SHA512 8fc96086bd3da3726687ee9d180d3b5d0a7d5814141d44eac8eb01566a783ec780c8fb8f55f75d6e9c9006b2e407e20cdb5835d541b0b66a47dd60642861734c |
39 |
DIST gcc-7-gpl-2018-src.tar.gz 90302033 BLAKE2B 2f79137e176bff04c4fb17ab863302943588226d5b599dfa1acf0e495111be1c581f4e130f911c312916669c4f2707eec5218601db090d5060248b2fe481d710 SHA512 79f06deca5753251de82a703f4a9698c117706290df779291a5405edb06f1c225d1d2416bda0e67dcd87cc308bf79504e89d4bd8e22aa0eedfbf06d88bc37f33 |
40 |
@@ -16,7 +10,6 @@ DIST gcc-8.3.0-patches-4.tar.bz2 17095 BLAKE2B 449d83371bf5a70020f4caad38d7b8f79 |
41 |
DIST gcc-9-2020-20200429-19AA7-src.tar.gz 101030094 BLAKE2B 843d7a92f206a08aa6c0fb41b8b93db494eee26c15872b8d8547685c1013559856cd83c5a4139d8ba68aa6737c0270502fd5547664b458cb8fd023f5ce9601e8 SHA512 2eaf999f4ef7f0216b7bab9963ce1cb9dd4be4d4645415183a0e0706ce0f0f119a5437c482d60db16ea152ebcb36186fc7900ec196fc7b8022d4d9cea2e5a631 |
42 |
DIST gcc-9.3.0-patches-4.tar.bz2 15474 BLAKE2B b06fdfce4402850bb1c6c211ace4c3a07ad2114ffa48eac58d1624124d5d1bddd6d2b4faa18be3291a340272c022bea26dfcaf17929828ceb6474a5211401389 SHA512 54904a4a1c4a784f1a707cbdd9f6f498457e4aa550dc6f3d6eff71ed05a75685e23e6b71c2a614b1dea7e506b9f42fb0109ecfde00ef00373275bbc0409cb7e0 |
43 |
DIST gcc-interface-10-2021-20210519-19A75-src.tar.gz 359085 BLAKE2B 75f941a7635f2880cc0192acb49d8e7f567baca7530fb981be14dc6cb1bf46fda0e3c043c8703cdbeeb242b548894e0bc6787adfff0f27198354d150e6e36386 SHA512 0251a93d20c59cc4705963438880fe265e2e0bb94a35b7ddaaf03e9efae60e044e585a2204d0773a46f17b3b774e4d0c73adf852f5d06ba17373d26ed580ca8d |
44 |
-DIST gcc-interface-4.9-gpl-2016-src.tar.gz 339037 BLAKE2B 8218ea3a3e3ddb11febb5f2fbcfad69ec25251d3ed6bf4f9c70dc9b3720cc2fb3310d704db40bd0c749be89b17a2b3766ddae3d6158313480073856057ad4bcf SHA512 507df314d1890c228c19f458bd51197377deaaa2d6082fe1e71b62b683252ee5fba4adfe2386246e14618b1c77288e0dcb5bf501e2daaca249b6299462c2f6bd |
45 |
DIST gcc-interface-6-gpl-2017-src.tar.gz 347016 BLAKE2B 934c6dac491abece9a6868d28fe9d2a6a1109238fe25c9b94abe83dfc22a1085489f0e0384626da0a3abeebe7537c5715df49a7e2d40577c96eb7ac897b84fd8 SHA512 5833303fce5bf812ccbc71f3d3726c0cb877937d75327edb15097c0b7dba58024a52688392906695ab92fb4e5d7a6623671eac9a05d17937dc0270bafcde920a |
46 |
DIST gcc-interface-7-gpl-2018-src.tar.gz 339461 BLAKE2B e6009c0b287b1cd8f055226e6919c12f2ba08f8ef24101608691b05b70a7fb0ca708e2ecd126499fb84a126436d3841f1a13be0b6d3442ef3bd3871391f8e1d5 SHA512 9dc942a39dd983778756be2951b4c66ac3835bf456dc389f80ffbafdacde4ebcb80720ac9eca8fef8734d6d052c061db37c88dba642d85add10940164d120381 |
47 |
DIST gcc-interface-8-2019-20190510-18F59-src.tar.gz 352408 BLAKE2B d08867737fd5a2e8aa87e61efff47757b587baff67810eb9193fe72b68578bcb130f0c1491599588d130663d908b9c6c9a604b1352aeccb79e9dd3bfef4b9f61 SHA512 c4a048725517e674cc43b7b72e3b1bdb4f1cf9d81fe3b84dd177a2fda8c7af11c3135e883072b640c8aa351625f49573727c859064683e8b5f096fdbd3990c38 |
48 |
@@ -26,6 +19,5 @@ DIST gnat-2020-20200429-19B04-src.tar.gz 8485156 BLAKE2B 79683138873b236d8329396 |
49 |
DIST gnat-2021-20210519-19A70-src.tar.gz 8765762 BLAKE2B ef48f54c6109566e37bfa5dee9262305d0529b3dfd333ee28bc4e66f4709a0673f673d742bc04deb15dc145404f7618d350dbdf3f2a7ab37c861e57d011946fa SHA512 3cb79be024fdd9b738d99ffc8e224d32bb382b5da2d02b97b2061a5ea58456f33d4564c92e224af2713ce15fd5481edd715e5b9a52abc74fdc142f27e103c201 |
50 |
DIST gnat-gpl-2014-x86-linux-bin.tar.gz 233049287 BLAKE2B 2e8bab113f6a319533ec12fdf71c481f72aee227c22bd0cc42a53bd727b323caba1e7b6298053db8b4d3016236b31649b0b255f4ebcbb81a08a69f29f78f13fc SHA512 ac7f53fb4bd71b0e8fbd62abc45de76f7f8f2f405b80e9b60b4b65a6cef6ee98e3b06848e4b752af3c8268237e5a0529cf6145ebc5b33cd6e5cf4928d85f5be2 |
51 |
DIST gnat-gpl-2014-x86_64-linux-bin.tar.gz 236253400 BLAKE2B c1db70db9442ba24688b8e323d5a02e2e9707ba1f02835ea551038d0a09aafede93a224091e5186f2f2a9d0f96144027af2184ee05ca1c19cc997a6cf3902df7 SHA512 5e40a251baac3d0ace78352956ca21a7d294d902d344a9ed7a8d376e900468c283721ebfb773adfedbf4d623ace02536505c0147815a0c1908933ad611ea085e |
52 |
-DIST gnat-gpl-2016-src.tar.gz 8857249 BLAKE2B 3ff0fe247990e2a612ac989aa389e9ccae2e29c16177975c327b53ae1471030d0a70e5a2e3af219ad9a3288c241f2d18da349d0650f7fde01d439f4e4720de88 SHA512 4a5cb58ede5b4ae2887e64f0f2e12e0e06470d320796f06d02f7ddd932ff0d3b40e6d3e98a81138fff6906548a55153c2a186ff4a6e3d23b9dbe01ca582da1f8 |
53 |
DIST gnat-gpl-2017-src.tar.gz 8783473 BLAKE2B b0415b42f4d3a5e8675591a5602ff0a96945670104064671a232c0c12271ee141a3a5d148b8507bdab83cb8a0677c57b78e690060088308c51732bad3715964f SHA512 ae7314a2241107ed4d962dce08306eeb34c5f11e26183935bbb1ccf3a5eb011d6457c1b6fcded93dd0ee9ba31d791971ebe2a5a5a0ae04ff80d87a670325a098 |
54 |
DIST gnat-gpl-2018-src.tar.gz 8706578 BLAKE2B ba245fd91cc5263d5b8c159d9e75caf6bed21dcaa5fa43734af8775a4008ce5f96bfb84a8b5e6e734ff883314ab3219dacec3fe95a5baa33fb712bfb5ff8bce8 SHA512 0ff7e848ef77f7e772e2a1b01905307a91c332f32329456f5238c4b7eb46cc118709e8682a5fc826d98a7d99fd15a92c194f4a278f04bc465165cfa616cc3c2e |
55 |
|
56 |
diff --git a/dev-lang/gnat-gpl/files/gcc-spec-env-r1.patch b/dev-lang/gnat-gpl/files/gcc-spec-env-r1.patch |
57 |
deleted file mode 100644 |
58 |
index a58926836e4..00000000000 |
59 |
--- a/dev-lang/gnat-gpl/files/gcc-spec-env-r1.patch |
60 |
+++ /dev/null |
61 |
@@ -1,87 +0,0 @@ |
62 |
-2013-08-22 Magnus Granberg <zorry@g.o> |
63 |
- |
64 |
- * gcc/gcc.c (main): Add support for external spec file via the GCC_SPECS env var |
65 |
- and move the process of the user specifed specs. |
66 |
- |
67 |
- This allows us to easily control pie/ssp defaults with gcc-config profiles. |
68 |
- Original patch by Rob Holland |
69 |
- Extended to support multiple entries separated by ':' by Kevin F. Quinn |
70 |
- Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill |
71 |
- Modified to process the GCC_SPECS env var befor DRIVER_SELF_SPECS by Magnus Granberg |
72 |
- |
73 |
---- gcc-4.8-20130210/gcc/gcc.c 2013-02-05 16:55:31.000000000 +0100 |
74 |
-+++ gcc-4.8-20130210-work/gcc/gcc.c 2013-07-26 02:32:14.625089864 +0200 |
75 |
-@@ -6427,6 +6428,48 @@ main (int argc, char **argv) |
76 |
- do_option_spec (option_default_specs[i].name, |
77 |
- option_default_specs[i].spec); |
78 |
- |
79 |
-+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32)) |
80 |
-+ /* Add specs listed in GCC_SPECS. Note; in the process of separating |
81 |
-+ * each spec listed, the string is overwritten at token boundaries |
82 |
-+ * (':') with '\0', an effect of strtok_r(). |
83 |
-+ */ |
84 |
-+ specs_file = getenv ("GCC_SPECS"); |
85 |
-+ if (specs_file && (strlen(specs_file) > 0)) |
86 |
-+ { |
87 |
-+ char *spec, *saveptr; |
88 |
-+ for (spec=strtok_r(specs_file,":",&saveptr); |
89 |
-+ spec!=NULL; |
90 |
-+ spec=strtok_r(NULL,":",&saveptr)) |
91 |
-+ { |
92 |
-+ struct user_specs *user = (struct user_specs *) |
93 |
-+ xmalloc (sizeof (struct user_specs)); |
94 |
-+ user->next = (struct user_specs *) 0; |
95 |
-+ user->filename = spec; |
96 |
-+ if (user_specs_tail) |
97 |
-+ user_specs_tail->next = user; |
98 |
-+ else |
99 |
-+ user_specs_head = user; |
100 |
-+ user_specs_tail = user; |
101 |
-+ } |
102 |
-+ } |
103 |
-+#endif |
104 |
-+ /* Process any user specified specs in the order given on the command |
105 |
-+ * line. */ |
106 |
-+ for (uptr = user_specs_head; uptr; uptr = uptr->next) |
107 |
-+ { |
108 |
-+ char *filename = find_a_file (&startfile_prefixes, uptr->filename, |
109 |
-+ R_OK, true); |
110 |
-+ read_specs (filename ? filename : uptr->filename, false, true); |
111 |
-+ } |
112 |
-+ /* Process any user self specs. */ |
113 |
-+ { |
114 |
-+ struct spec_list *sl; |
115 |
-+ for (sl = specs; sl; sl = sl->next) |
116 |
-+ if (sl->name_len == sizeof "self_spec" - 1 |
117 |
-+ && !strcmp (sl->name, "self_spec")) |
118 |
-+ do_self_spec (*sl->ptr_spec); |
119 |
-+ } |
120 |
-+ |
121 |
- /* Process DRIVER_SELF_SPECS, adding any new options to the end |
122 |
- of the command line. */ |
123 |
- |
124 |
-@@ -6535,24 +6578,6 @@ main (int argc, char **argv) |
125 |
- PREFIX_PRIORITY_LAST, 0, 1); |
126 |
- } |
127 |
- |
128 |
-- /* Process any user specified specs in the order given on the command |
129 |
-- line. */ |
130 |
-- for (uptr = user_specs_head; uptr; uptr = uptr->next) |
131 |
-- { |
132 |
-- char *filename = find_a_file (&startfile_prefixes, uptr->filename, |
133 |
-- R_OK, true); |
134 |
-- read_specs (filename ? filename : uptr->filename, false, true); |
135 |
-- } |
136 |
-- |
137 |
-- /* Process any user self specs. */ |
138 |
-- { |
139 |
-- struct spec_list *sl; |
140 |
-- for (sl = specs; sl; sl = sl->next) |
141 |
-- if (sl->name_len == sizeof "self_spec" - 1 |
142 |
-- && !strcmp (sl->name, "self_spec")) |
143 |
-- do_self_spec (*sl->ptr_spec); |
144 |
-- } |
145 |
-- |
146 |
- if (compare_debug) |
147 |
- { |
148 |
- enum save_temps save; |
149 |
|
150 |
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2016-bootstrap.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2016-bootstrap.patch |
151 |
deleted file mode 100644 |
152 |
index aed1ad0e90b..00000000000 |
153 |
--- a/dev-lang/gnat-gpl/files/gnat-gpl-2016-bootstrap.patch |
154 |
+++ /dev/null |
155 |
@@ -1,66 +0,0 @@ |
156 |
-From 41a4aa66eac45c8862a79351647ec06dd03bd1f5 Mon Sep 17 00:00:00 2001 |
157 |
-From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> |
158 |
-Date: Sat, 13 Dec 2014 11:24:37 +0000 |
159 |
-Subject: [PATCH] PR bootstrap/64023 * Makefile.tpl |
160 |
- (EXTRA_TARGET_FLAGS): Set STAGE1_LDFLAGS to POSTSTAGE1_LDFLAGS and |
161 |
- STAGE1_LIBS to POSTSTAGE1_LIBS. Add -B to libstdc++-v3/src/.libs and |
162 |
- libstdc++-v3/libsupc++/.libs to CXX. * Makefile.in: Regenerated. |
163 |
- |
164 |
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218705 138bc75d-0d04-0410-961f-82ee72b054a4 |
165 |
---- |
166 |
- ChangeLog | 9 +++++++++ |
167 |
- Makefile.in | 6 +++++- |
168 |
- Makefile.tpl | 6 +++++- |
169 |
- 3 files changed, 19 insertions(+), 2 deletions(-) |
170 |
- |
171 |
-diff --git a/Makefile.in b/Makefile.in |
172 |
-index ba5ae4c2ecb..8ffc313f157 100644 |
173 |
---- a/Makefile.in |
174 |
-+++ b/Makefile.in |
175 |
-@@ -835,7 +835,9 @@ EXTRA_TARGET_FLAGS = \ |
176 |
- 'AS=$(COMPILER_AS_FOR_TARGET)' \ |
177 |
- 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
178 |
- 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ |
179 |
-- 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
180 |
-+ 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ |
181 |
-+ -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \ |
182 |
-+ $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
183 |
- 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ |
184 |
- 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ |
185 |
- 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
186 |
-@@ -853,6 +855,8 @@ EXTRA_TARGET_FLAGS = \ |
187 |
- 'WINDRES=$$(WINDRES_FOR_TARGET)' \ |
188 |
- 'WINDMC=$$(WINDMC_FOR_TARGET)' \ |
189 |
- 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \ |
190 |
-+ 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \ |
191 |
-+ 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \ |
192 |
- "TFLAGS=$$TFLAGS" |
193 |
- |
194 |
- TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) |
195 |
-diff --git a/Makefile.tpl b/Makefile.tpl |
196 |
-index dcbc6b1b143..bb8227eaafa 100644 |
197 |
---- a/Makefile.tpl |
198 |
-+++ b/Makefile.tpl |
199 |
-@@ -641,7 +641,9 @@ EXTRA_TARGET_FLAGS = \ |
200 |
- 'AS=$(COMPILER_AS_FOR_TARGET)' \ |
201 |
- 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
202 |
- 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ |
203 |
-- 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
204 |
-+ 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ |
205 |
-+ -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \ |
206 |
-+ $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
207 |
- 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ |
208 |
- 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ |
209 |
- 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
210 |
-@@ -659,6 +661,8 @@ EXTRA_TARGET_FLAGS = \ |
211 |
- 'WINDRES=$$(WINDRES_FOR_TARGET)' \ |
212 |
- 'WINDMC=$$(WINDMC_FOR_TARGET)' \ |
213 |
- 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \ |
214 |
-+ 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \ |
215 |
-+ 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \ |
216 |
- "TFLAGS=$$TFLAGS" |
217 |
- |
218 |
- TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) |
219 |
--- |
220 |
-2.15.0 |
221 |
- |
222 |
|
223 |
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2016-finalization.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2016-finalization.patch |
224 |
deleted file mode 100644 |
225 |
index 44503ae6b72..00000000000 |
226 |
--- a/dev-lang/gnat-gpl/files/gnat-gpl-2016-finalization.patch |
227 |
+++ /dev/null |
228 |
@@ -1,220 +0,0 @@ |
229 |
---- a/gcc/ada/exp_attr.adb 2018-11-16 20:23:21.775906196 +0100 |
230 |
-+++ b/gcc/ada/exp_attr.adb 2018-11-16 20:25:57.418211404 +0100 |
231 |
-@@ -3121,6 +3121,121 @@ |
232 |
- Analyze_And_Resolve (N, Standard_String); |
233 |
- end External_Tag; |
234 |
- |
235 |
-+ ----------------------- |
236 |
-+ -- Finalization_Size -- |
237 |
-+ ----------------------- |
238 |
-+ |
239 |
-+ when Attribute_Finalization_Size => Finalization_Size : declare |
240 |
-+ function Calculate_Header_Size return Node_Id; |
241 |
-+ -- Generate a runtime call to calculate the size of the hidden header |
242 |
-+ -- along with any added padding which would precede a heap-allocated |
243 |
-+ -- object of the prefix type. |
244 |
-+ |
245 |
-+ --------------------------- |
246 |
-+ -- Calculate_Header_Size -- |
247 |
-+ --------------------------- |
248 |
-+ |
249 |
-+ function Calculate_Header_Size return Node_Id is |
250 |
-+ begin |
251 |
-+ -- Generate: |
252 |
-+ -- Universal_Integer |
253 |
-+ -- (Header_Size_With_Padding (Pref'Alignment)) |
254 |
-+ |
255 |
-+ return |
256 |
-+ Convert_To (Universal_Integer, |
257 |
-+ Make_Function_Call (Loc, |
258 |
-+ Name => |
259 |
-+ New_Occurrence_Of (RTE (RE_Header_Size_With_Padding), Loc), |
260 |
-+ |
261 |
-+ Parameter_Associations => New_List ( |
262 |
-+ Make_Attribute_Reference (Loc, |
263 |
-+ Prefix => New_Copy_Tree (Pref), |
264 |
-+ Attribute_Name => Name_Alignment)))); |
265 |
-+ end Calculate_Header_Size; |
266 |
-+ |
267 |
-+ -- Local variables |
268 |
-+ |
269 |
-+ Size : Entity_Id; |
270 |
-+ |
271 |
-+ -- Start of Finalization_Size |
272 |
-+ |
273 |
-+ begin |
274 |
-+ -- An object of a class-wide type first requires a runtime check to |
275 |
-+ -- determine whether it is actually controlled or not. Depending on |
276 |
-+ -- the outcome of this check, the Finalization_Size of the object |
277 |
-+ -- may be zero or some positive value. |
278 |
-+ -- |
279 |
-+ -- In this scenario, Pref'Finalization_Size is expanded into |
280 |
-+ -- |
281 |
-+ -- Size : Integer := 0; |
282 |
-+ -- |
283 |
-+ -- if Needs_Finalization (Pref'Tag) then |
284 |
-+ -- Size := |
285 |
-+ -- Universal_Integer |
286 |
-+ -- (Header_Size_With_Padding (Pref'Alignment)); |
287 |
-+ -- end if; |
288 |
-+ -- |
289 |
-+ -- and the attribute reference is replaced with a reference to Size. |
290 |
-+ |
291 |
-+ if Is_Class_Wide_Type (Ptyp) then |
292 |
-+ Size := Make_Temporary (Loc, 'S'); |
293 |
-+ |
294 |
-+ Insert_Actions (N, New_List ( |
295 |
-+ |
296 |
-+ -- Generate: |
297 |
-+ -- Size : Integer := 0; |
298 |
-+ |
299 |
-+ Make_Object_Declaration (Loc, |
300 |
-+ Defining_Identifier => Size, |
301 |
-+ Object_Definition => |
302 |
-+ New_Occurrence_Of (Standard_Integer, Loc), |
303 |
-+ Expression => Make_Integer_Literal (Loc, 0)), |
304 |
-+ |
305 |
-+ -- Generate: |
306 |
-+ -- if Needs_Finalization (Pref'Tag) then |
307 |
-+ -- Size := |
308 |
-+ -- Universal_Integer |
309 |
-+ -- (Header_Size_With_Padding (Pref'Alignment)); |
310 |
-+ -- end if; |
311 |
-+ |
312 |
-+ Make_If_Statement (Loc, |
313 |
-+ Condition => |
314 |
-+ Make_Function_Call (Loc, |
315 |
-+ Name => |
316 |
-+ New_Occurrence_Of (RTE (RE_Needs_Finalization), Loc), |
317 |
-+ |
318 |
-+ Parameter_Associations => New_List ( |
319 |
-+ Make_Attribute_Reference (Loc, |
320 |
-+ Prefix => New_Copy_Tree (Pref), |
321 |
-+ Attribute_Name => Name_Tag))), |
322 |
-+ |
323 |
-+ Then_Statements => New_List ( |
324 |
-+ Make_Assignment_Statement (Loc, |
325 |
-+ Name => New_Occurrence_Of (Size, Loc), |
326 |
-+ Expression => Calculate_Header_Size))))); |
327 |
-+ |
328 |
-+ Rewrite (N, New_Occurrence_Of (Size, Loc)); |
329 |
-+ |
330 |
-+ -- The prefix is known to be controlled at compile time. Calculate |
331 |
-+ -- Finalization_Size by calling function Header_Size_With_Padding. |
332 |
-+ |
333 |
-+ elsif Needs_Finalization (Ptyp) then |
334 |
-+ Rewrite (N, Calculate_Header_Size); |
335 |
-+ |
336 |
-+ -- The prefix is not an object with controlled parts, so its |
337 |
-+ -- Finalization_Size is zero. |
338 |
-+ |
339 |
-+ else |
340 |
-+ Rewrite (N, Make_Integer_Literal (Loc, 0)); |
341 |
-+ end if; |
342 |
-+ |
343 |
-+ -- Due to cases where the entity type of the attribute is already |
344 |
-+ -- resolved the rewritten N must get re-resolved to its appropriate |
345 |
-+ -- type. |
346 |
-+ |
347 |
-+ Analyze_And_Resolve (N, Typ); |
348 |
-+ end Finalization_Size; |
349 |
-+ |
350 |
- ----------- |
351 |
- -- First -- |
352 |
- ----------- |
353 |
---- a/gcc/ada/snames.ads-tmpl 2016-05-16 11:29:28.000000000 +0200 |
354 |
---- b/gcc/ada/snames.ads-tmpl 2016-05-16 11:29:28.000000000 +0200 |
355 |
-@@ -884,6 +884,7 @@ |
356 |
- Name_Exponent : constant Name_Id := N + $; |
357 |
- Name_External_Tag : constant Name_Id := N + $; |
358 |
- Name_Fast_Math : constant Name_Id := N + $; -- GNAT |
359 |
-+ Name_Finalization_Size : constant Name_Id := N + $; -- GNAT |
360 |
- Name_First : constant Name_Id := N + $; |
361 |
- Name_First_Bit : constant Name_Id := N + $; |
362 |
- Name_First_Valid : constant Name_Id := N + $; -- Ada 12 |
363 |
-@@ -1523,6 +1524,7 @@ |
364 |
- Attribute_Exponent, |
365 |
- Attribute_External_Tag, |
366 |
- Attribute_Fast_Math, |
367 |
-+ Attribute_Finalization_Size, |
368 |
- Attribute_First, |
369 |
- Attribute_First_Bit, |
370 |
- Attribute_First_Valid, |
371 |
---- a/gcc/ada/sem_attr.ads 2018-11-16 21:35:46.821279875 +0100 |
372 |
-+++ b/gcc/ada/sem_attr.ads 2018-11-16 21:36:00.028057464 +0100 |
373 |
-@@ -242,6 +242,16 @@ |
374 |
- -- enumeration value. Constraint_Error is raised if no value of the |
375 |
- -- enumeration type corresponds to the given integer value. |
376 |
- |
377 |
-+ ----------------------- |
378 |
-+ -- Finalization_Size -- |
379 |
-+ ----------------------- |
380 |
-+ |
381 |
-+ Attribute_Finalization_Size => True, |
382 |
-+ -- For every object or non-class-wide-type, Finalization_Size returns |
383 |
-+ -- the size of the hidden header used for finalization purposes as if |
384 |
-+ -- the object or type was allocated on the heap. The size of the header |
385 |
-+ -- does take into account any extra padding due to alignment issues. |
386 |
-+ |
387 |
- ----------------- |
388 |
- -- Fixed_Value -- |
389 |
- ----------------- |
390 |
---- a/gcc/ada/sem_attr.adb 2018-11-16 21:35:49.698231429 +0100 |
391 |
-+++ b/gcc/ada/sem_attr.adb 2018-11-16 21:36:00.028057464 +0100 |
392 |
-@@ -3828,6 +3828,42 @@ |
393 |
- Check_Standard_Prefix; |
394 |
- Rewrite (N, New_Occurrence_Of (Boolean_Literals (Fast_Math), Loc)); |
395 |
- |
396 |
-+ ----------------------- |
397 |
-+ -- Finalization_Size -- |
398 |
-+ ----------------------- |
399 |
-+ |
400 |
-+ when Attribute_Finalization_Size => |
401 |
-+ Check_E0; |
402 |
-+ |
403 |
-+ -- The prefix denotes an object |
404 |
-+ |
405 |
-+ if Is_Object_Reference (P) then |
406 |
-+ Check_Object_Reference (P); |
407 |
-+ |
408 |
-+ -- The prefix denotes a type |
409 |
-+ |
410 |
-+ elsif Is_Entity_Name (P) and then Is_Type (Entity (P)) then |
411 |
-+ Check_Type; |
412 |
-+ Check_Not_Incomplete_Type; |
413 |
-+ |
414 |
-+ -- Attribute 'Finalization_Size is not defined for class-wide |
415 |
-+ -- types because it is not possible to know statically whether |
416 |
-+ -- a definite type will have controlled components or not. |
417 |
-+ |
418 |
-+ if Is_Class_Wide_Type (Etype (P)) then |
419 |
-+ Error_Attr_P |
420 |
-+ ("prefix of % attribute cannot denote a class-wide type"); |
421 |
-+ end if; |
422 |
-+ |
423 |
-+ -- The prefix denotes an illegal construct |
424 |
-+ |
425 |
-+ else |
426 |
-+ Error_Attr_P |
427 |
-+ ("prefix of % attribute must be a definite type or an object"); |
428 |
-+ end if; |
429 |
-+ |
430 |
-+ Set_Etype (N, Universal_Integer); |
431 |
-+ |
432 |
- ----------- |
433 |
- -- First -- |
434 |
- ----------- |
435 |
-@@ -8264,6 +8300,13 @@ |
436 |
- Fold_Uint (N, |
437 |
- Eval_Fat.Exponent (P_Base_Type, Expr_Value_R (E1)), Static); |
438 |
- |
439 |
-+ ----------------------- |
440 |
-+ -- Finalization_Size -- |
441 |
-+ ----------------------- |
442 |
-+ |
443 |
-+ when Attribute_Finalization_Size => |
444 |
-+ null; |
445 |
-+ |
446 |
- ----------- |
447 |
- -- First -- |
448 |
- ----------- |
449 |
|
450 |
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2016-gentoo.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2016-gentoo.patch |
451 |
deleted file mode 100644 |
452 |
index 959ed518312..00000000000 |
453 |
--- a/dev-lang/gnat-gpl/files/gnat-gpl-2016-gentoo.patch |
454 |
+++ /dev/null |
455 |
@@ -1,57 +0,0 @@ |
456 |
---- a/patch/09_all_default-ssp.patch 2017-01-08 16:14:09.377755019 +0100 |
457 |
-+++ b/patch/09_all_default-ssp.patch 2017-01-08 16:15:48.792764201 +0100 |
458 |
-@@ -78,14 +78,14 @@ |
459 |
- optimizing. The default value is 32. |
460 |
- --- a/gcc/cp/lang-specs.h |
461 |
- +++ b/gcc/cp/lang-specs.h |
462 |
--@@ -46,7 +46,7 @@ along with GCC; see the file COPYING3. If not see |
463 |
-+@@ -46,7 +46,7 @@ |
464 |
- %(cpp_options) %2 -o %{save-temps*:%b.ii} %{!save-temps*:%g.ii} \n}\ |
465 |
- cc1plus %{save-temps*|no-integrated-cpp:-fpreprocessed %{save-temps*:%b.ii} %{!save-temps*:%g.ii}}\ |
466 |
- %{!save-temps*:%{!no-integrated-cpp:%(cpp_unique_options)}}\ |
467 |
- - %(cc1_options) %2\ |
468 |
- + %(cc1_options) %(ssp_default) %2\ |
469 |
-- %{!fsyntax-only:%{!fdump-ada-spec*:-o %g.s %{!o*:--output-pch=%i.gch}\ |
470 |
-- %W{o*:--output-pch=%*}}%V}}}}", |
471 |
-+ %{!fsyntax-only:-o %g.s %{!fdump-ada-spec*:%{!fdump-xref*:%{!o*:--output-pch=%i.gch}\ |
472 |
-+ %W{o*:--output-pch=%*}}}%V}}}}", |
473 |
- CPLUSPLUS_CPP_SPEC, 0, 0}, |
474 |
- @@ -57,11 +57,11 @@ along with GCC; see the file COPYING3. If not see |
475 |
- %(cpp_options) %2 -o %{save-temps*:%b.ii} %{!save-temps*:%g.ii} \n}\ |
476 |
-@@ -151,14 +151,14 @@ |
477 |
- /* This contains cpp options which are not passed when the preprocessor |
478 |
- output will be used by another program. */ |
479 |
- @@ -1015,9 +1024,9 @@ static const struct compiler default_compilers[] = |
480 |
-- %{save-temps*|traditional-cpp|no-integrated-cpp:%(trad_capable_cpp) \ |
481 |
-+ %{save-temps*|fdump-scos|traditional-cpp|no-integrated-cpp:%(trad_capable_cpp) \ |
482 |
- %(cpp_options) -o %{save-temps*:%b.i} %{!save-temps*:%g.i} \n\ |
483 |
- cc1 -fpreprocessed %{save-temps*:%b.i} %{!save-temps*:%g.i} \ |
484 |
- - %(cc1_options)}\ |
485 |
- + %(cc1_options) %(ssp_default)}\ |
486 |
-- %{!save-temps*:%{!traditional-cpp:%{!no-integrated-cpp:\ |
487 |
--- cc1 %(cpp_unique_options) %(cc1_options)}}}\ |
488 |
--+ cc1 %(cpp_unique_options) %(cc1_options) %(ssp_default)}}}\ |
489 |
-+ %{!save-temps*:%{!fdump-scos:%{!traditional-cpp:%{!no-integrated-cpp:\ |
490 |
-+- cc1 %(cpp_unique_options) %(cc1_options)}}}}\ |
491 |
-++ cc1 %(cpp_unique_options) %(cc1_options) %(ssp_default)}}}}\ |
492 |
- %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 1}, |
493 |
- {"-", |
494 |
- "%{!E:%e-E or -x required when input is from standard input}\ |
495 |
---- a/gcc-4.9-gpl-2016-src/gcc/ada/osint.adb 2017-03-10 21:58:02.600710156 +0100 |
496 |
-+++ b/gcc-4.9-gpl-2016-src/gcc/ada/osint.adb 2017-03-10 21:59:38.033983293 +0100 |
497 |
-@@ -2229,14 +2229,11 @@ |
498 |
- for J in Start_Of_Prefix .. Name_Len - Prog'Length + 1 loop |
499 |
- if Name_Buffer (J .. J + Prog'Length - 1) = Prog then |
500 |
- End_Of_Prefix := J - 1; |
501 |
-+ Start_Of_Suffix := J + Prog'Length; |
502 |
- exit; |
503 |
- end if; |
504 |
- end loop; |
505 |
- |
506 |
-- if End_Of_Prefix > 1 then |
507 |
-- Start_Of_Suffix := End_Of_Prefix + Prog'Length + 1; |
508 |
-- end if; |
509 |
-- |
510 |
- -- Create the new program name |
511 |
- |
512 |
- return new String' |
513 |
|
514 |
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2016-profile.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2016-profile.patch |
515 |
deleted file mode 100644 |
516 |
index 561c012a23e..00000000000 |
517 |
--- a/dev-lang/gnat-gpl/files/gnat-gpl-2016-profile.patch |
518 |
+++ /dev/null |
519 |
@@ -1,113 +0,0 @@ |
520 |
---- a/gcc/ada/s-rident.ads 2018-11-18 18:47:39.042412895 +0100 |
521 |
-+++ b/gcc/ada/s-rident.ads 2018-11-18 19:02:31.736559044 +0100 |
522 |
-@@ -378,15 +378,17 @@ |
523 |
- type Profile_Name is |
524 |
- (No_Profile, |
525 |
- No_Implementation_Extensions, |
526 |
-+ Restricted_Tasking, |
527 |
-+ Restricted, |
528 |
- Ravenscar, |
529 |
- GNAT_Extended_Ravenscar, |
530 |
-- Restricted); |
531 |
-+ GNAT_Ravenscar_EDF); |
532 |
- -- Names of recognized profiles. No_Profile is used to indicate that a |
533 |
- -- restriction came from pragma Restrictions[_Warning], as opposed to |
534 |
- -- pragma Profile[_Warning]. |
535 |
- |
536 |
- subtype Profile_Name_Actual is Profile_Name |
537 |
-- range No_Implementation_Extensions .. Restricted; |
538 |
-+ range No_Implementation_Extensions .. Profile_Name'Last; |
539 |
- -- Actual used profile names |
540 |
- |
541 |
- type Profile_Data is record |
542 |
-@@ -456,6 +458,40 @@ |
543 |
- Max_Task_Entries => 0, |
544 |
- others => 0)), |
545 |
- |
546 |
-+ -- Restricted_Tasking Profile |
547 |
-+ |
548 |
-+ Restricted_Tasking => |
549 |
-+ |
550 |
-+ -- Restrictions for Restricted_Tasking profile |
551 |
-+ |
552 |
-+ (Set => |
553 |
-+ (No_Abort_Statements => True, |
554 |
-+ No_Asynchronous_Control => True, |
555 |
-+ No_Dynamic_Attachment => True, |
556 |
-+ No_Dynamic_Priorities => True, |
557 |
-+ No_Entry_Queue => True, |
558 |
-+ No_Local_Protected_Objects => True, |
559 |
-+ No_Protected_Type_Allocators => True, |
560 |
-+ No_Requeue_Statements => True, |
561 |
-+ No_Task_Allocators => True, |
562 |
-+ No_Task_Attributes_Package => True, |
563 |
-+ No_Task_Hierarchy => True, |
564 |
-+ No_Terminate_Alternatives => True, |
565 |
-+ Max_Asynchronous_Select_Nesting => True, |
566 |
-+ Max_Protected_Entries => True, |
567 |
-+ Max_Select_Alternatives => True, |
568 |
-+ Max_Task_Entries => True, |
569 |
-+ others => False), |
570 |
-+ |
571 |
-+ -- Value settings for Restricted profile |
572 |
-+ |
573 |
-+ Value => |
574 |
-+ (Max_Asynchronous_Select_Nesting => 0, |
575 |
-+ Max_Protected_Entries => 1, |
576 |
-+ Max_Select_Alternatives => 0, |
577 |
-+ Max_Task_Entries => 0, |
578 |
-+ others => 0)), |
579 |
-+ |
580 |
- -- Ravenscar Profile |
581 |
- |
582 |
- -- Note: the table entries here only represent the |
583 |
-@@ -509,6 +545,49 @@ |
584 |
- Max_Task_Entries => 0, |
585 |
- others => 0)), |
586 |
- |
587 |
-+ GNAT_Ravenscar_EDF => |
588 |
-+ |
589 |
-+ -- Restrictions for Ravenscar = Restricted profile .. |
590 |
-+ |
591 |
-+ (Set => |
592 |
-+ (No_Abort_Statements => True, |
593 |
-+ No_Asynchronous_Control => True, |
594 |
-+ No_Dynamic_Attachment => True, |
595 |
-+ No_Dynamic_Priorities => True, |
596 |
-+ No_Entry_Queue => True, |
597 |
-+ No_Local_Protected_Objects => True, |
598 |
-+ No_Protected_Type_Allocators => True, |
599 |
-+ No_Requeue_Statements => True, |
600 |
-+ No_Task_Allocators => True, |
601 |
-+ No_Task_Attributes_Package => True, |
602 |
-+ No_Task_Hierarchy => True, |
603 |
-+ No_Terminate_Alternatives => True, |
604 |
-+ Max_Asynchronous_Select_Nesting => True, |
605 |
-+ Max_Protected_Entries => True, |
606 |
-+ Max_Select_Alternatives => True, |
607 |
-+ Max_Task_Entries => True, |
608 |
-+ |
609 |
-+ -- plus these additional restrictions: |
610 |
-+ |
611 |
-+ No_Calendar => True, |
612 |
-+ No_Implicit_Heap_Allocations => True, |
613 |
-+ No_Local_Timing_Events => True, |
614 |
-+ No_Relative_Delay => True, |
615 |
-+ No_Select_Statements => True, |
616 |
-+ No_Specific_Termination_Handlers => True, |
617 |
-+ No_Task_Termination => True, |
618 |
-+ Simple_Barriers => True, |
619 |
-+ others => False), |
620 |
-+ |
621 |
-+ -- Value settings for Ravenscar (same as Restricted) |
622 |
-+ |
623 |
-+ Value => |
624 |
-+ (Max_Asynchronous_Select_Nesting => 0, |
625 |
-+ Max_Protected_Entries => 1, |
626 |
-+ Max_Select_Alternatives => 0, |
627 |
-+ Max_Task_Entries => 0, |
628 |
-+ others => 0)), |
629 |
-+ |
630 |
- GNAT_Extended_Ravenscar => |
631 |
- |
632 |
- -- Restrictions for GNAT_Extended_Ravenscar = |
633 |
|
634 |
diff --git a/dev-lang/gnat-gpl/gnat-gpl-2016-r4.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2016-r4.ebuild |
635 |
deleted file mode 100644 |
636 |
index d9b01134a7c..00000000000 |
637 |
--- a/dev-lang/gnat-gpl/gnat-gpl-2016-r4.ebuild |
638 |
+++ /dev/null |
639 |
@@ -1,157 +0,0 @@ |
640 |
-# Copyright 1999-2021 Gentoo Authors |
641 |
-# Distributed under the terms of the GNU General Public License v2 |
642 |
- |
643 |
-EAPI=6 |
644 |
- |
645 |
-PATCH_GCC_VER=4.9.4 |
646 |
-PATCH_VER="1.4" |
647 |
-UCLIBC_VER="1.0" |
648 |
- |
649 |
-# Hardened gcc 4 stuff |
650 |
-PIE_VER="0.6.4" |
651 |
-SPECS_VER="0.2.0" |
652 |
-SPECS_GCC_VER="4.4.3" |
653 |
-# arch/libc configurations known to be stable with {PIE,SSP}-by-default |
654 |
-PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64" |
655 |
-PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64" |
656 |
-SSP_STABLE="amd64 x86 mips ppc ppc64 arm" |
657 |
-# uclibc need tls and nptl support for SSP support |
658 |
-# uclibc need to be >= 0.9.33 |
659 |
-SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm" |
660 |
-#end Hardened stuff |
661 |
- |
662 |
-TOOLCHAIN_GCC_PV=4.9.4 |
663 |
- |
664 |
-REL=4.9 |
665 |
-MYP=gcc-${REL}-gpl-${PV}-src |
666 |
-BTSTRP_X86=gnat-gpl-2014-x86-linux-bin |
667 |
-BTSTRP_AMD64=gnat-gpl-2014-x86_64-linux-bin |
668 |
- |
669 |
-inherit toolchain-funcs toolchain |
670 |
- |
671 |
-DESCRIPTION="GNAT Ada Compiler - GPL version" |
672 |
-HOMEPAGE="http://libre.adacore.com/" |
673 |
-# we provide own tarball below |
674 |
-SRC_URI+=" |
675 |
- http://mirrors.cdn.adacore.com/art/57399304c7a447658e0aff7f |
676 |
- -> ${P}-src.tar.gz |
677 |
- http://mirrors.cdn.adacore.com/art/573992d4c7a447658d00e1db |
678 |
- -> ${MYP}.tar.gz |
679 |
- http://mirrors.cdn.adacore.com/art/57399232c7a447658e0aff7d |
680 |
- -> gcc-interface-${REL}-gpl-${PV}-src.tar.gz |
681 |
- bootstrap? ( |
682 |
- amd64? ( |
683 |
- http://mirrors.cdn.adacore.com/art/564b3ebec8e196b040fbe66c -> |
684 |
- ${BTSTRP_AMD64}.tar.gz |
685 |
- ) |
686 |
- x86? ( |
687 |
- http://mirrors.cdn.adacore.com/art/564b3e9dc8e196b040fbe248 -> |
688 |
- ${BTSTRP_X86}.tar.gz |
689 |
- ) |
690 |
- )" |
691 |
- |
692 |
-LICENSE+=" GPL-2 GPL-3" |
693 |
-SLOT="${TOOLCHAIN_GCC_PV}" |
694 |
-KEYWORDS="amd64 x86" |
695 |
-IUSE="+ada +bootstrap" |
696 |
-RESTRICT="!test? ( test )" |
697 |
- |
698 |
-RDEPEND="!sys-devel/gcc:${TOOLCHAIN_GCC_PV}" |
699 |
-DEPEND="${RDEPEND} |
700 |
- elibc_glibc? ( >=sys-libs/glibc-2.8 ) |
701 |
- >=sys-devel/binutils-2.20" |
702 |
- |
703 |
-PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" |
704 |
- |
705 |
-S="${WORKDIR}"/${MYP} |
706 |
- |
707 |
-FSFGCC=gcc-${TOOLCHAIN_GCC_PV} |
708 |
- |
709 |
-src_unpack() { |
710 |
- if ! use bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then |
711 |
- eerror "You need a gcc compiler that provides the Ada Compiler:" |
712 |
- eerror "1) use gcc-config to select the right compiler or" |
713 |
- eerror "2) set the bootstrap use flag" |
714 |
- die "ada compiler not available" |
715 |
- fi |
716 |
- |
717 |
- toolchain_src_unpack |
718 |
-} |
719 |
- |
720 |
-src_prepare() { |
721 |
- if use amd64; then |
722 |
- BTSTRP=${BTSTRP_AMD64} |
723 |
- else |
724 |
- BTSTRP=${BTSTRP_X86} |
725 |
- fi |
726 |
- if use bootstrap; then |
727 |
- GCC="${WORKDIR}"/${BTSTRP}/bin/gcc |
728 |
- else |
729 |
- GCC=${ADA:-$(tc-getCC)} |
730 |
- fi |
731 |
- CC=${GCC} |
732 |
- local base=$(basename ${GCC}) |
733 |
- CXX="${base/gcc/g++}" |
734 |
- GNATMAKE="${base/gcc/gnatmake}" |
735 |
- GNATBIND="${base/gcc/gnatbind}" |
736 |
- if [[ ${base} != ${GCC} ]] ; then |
737 |
- local path=$(dirname ${GCC}) |
738 |
- GNATMAKE="${path}/${GNATMAKE}" |
739 |
- GNATBIND="${path}/${GNATBIND}" |
740 |
- CXX="${path}/${CXX}" |
741 |
- fi |
742 |
- if use bootstrap; then |
743 |
- rm ../${BTSTRP}/libexec/gcc/*/4.7.4/ld || die |
744 |
- fi |
745 |
- |
746 |
- cd .. |
747 |
- |
748 |
- sed -i \ |
749 |
- -e "s:gnatmake:${GNATMAKE}:g" \ |
750 |
- ${P}-src/src/ada/Make-generated.in || die "sed failed" |
751 |
- sed -i \ |
752 |
- -e "/xoscons/s:gnatmake:${GNATMAKE}:g" \ |
753 |
- gcc-interface-${REL}-gpl-${PV}-src/Makefile.in || die "sed failed" |
754 |
- |
755 |
- mv ${P}-src/src/ada ${MYP}/gcc/ || die |
756 |
- mv gcc-interface-${REL}-gpl-${PV}-src ${MYP}/gcc/ada/gcc-interface || die |
757 |
- mv ${FSFGCC}/gcc/doc/gcc.info ${MYP}/gcc/doc/ || die |
758 |
- mv ${FSFGCC}/libjava ${MYP} || die |
759 |
- rm -r ${FSFGCC} || die |
760 |
- eapply "${FILESDIR}"/${P}-gentoo.patch |
761 |
- cd - |
762 |
- |
763 |
- # Bug 638056 |
764 |
- eapply "${FILESDIR}/${P}-bootstrap.patch" |
765 |
- # add Finalization_Size Attribute |
766 |
- eapply "${FILESDIR}/${P}-finalization.patch" |
767 |
- # add profile for gnat_util compatibility |
768 |
- eapply "${FILESDIR}/${P}-profile.patch" |
769 |
- |
770 |
- EPATCH_EXCLUDE+=" 34_all_gcc48_config_i386.patch" |
771 |
- EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" |
772 |
- |
773 |
- toolchain_src_prepare |
774 |
- |
775 |
- use vanilla && return 0 |
776 |
- # Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs. |
777 |
- [[ ${CHOST} == ${CTARGET} ]] && eapply "${FILESDIR}"/gcc-spec-env-r1.patch |
778 |
-} |
779 |
- |
780 |
-src_configure() { |
781 |
- downgrade_arch_flags "$(gcc-version)" |
782 |
- toolchain_src_configure \ |
783 |
- CC=${GCC} \ |
784 |
- GNATBIND=${GNATBIND} \ |
785 |
- GNATMAKE=yes |
786 |
-} |
787 |
- |
788 |
-pkg_postinst() { |
789 |
- toolchain_pkg_postinst |
790 |
- einfo "This provide the GNAT compiler with gcc for ada/c/c++ and more" |
791 |
- einfo "The compiler binary is gcc-${TOOLCHAIN_GCC_PV}" |
792 |
- einfo "Even if the c/c++ compilers are using almost the same patched" |
793 |
- einfo "source as the sys-devel/gcc package its use is not extensively" |
794 |
- einfo "tested, and not supported for updating your system, except for ada" |
795 |
- einfo "related packages" |
796 |
-} |
797 |
|
798 |
diff --git a/dev-lang/gnat-gpl/metadata.xml b/dev-lang/gnat-gpl/metadata.xml |
799 |
index d22ee4a1f67..3a9e3dea830 100644 |
800 |
--- a/dev-lang/gnat-gpl/metadata.xml |
801 |
+++ b/dev-lang/gnat-gpl/metadata.xml |
802 |
@@ -23,8 +23,6 @@ |
803 |
than use the code in the C library (DO NOT ENABLE THIS IF YOU DON'T |
804 |
KNOW WHAT IT DOES)</flag> |
805 |
<flag name="lto">Build using Link Time Optimizations (LTO)</flag> |
806 |
- <flag name="nopie">Disable PIE support (NOT FOR GENERAL USE)</flag> |
807 |
- <flag name="nossp">Disable SSP support (NOT FOR GENERAL USE)</flag> |
808 |
<flag name="nptl">Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)</flag> |
809 |
<flag name="objc">Build support for the Objective C code language |
810 |
</flag> |