1 |
commit: 4aa060f0e235eca25107c78442f0dba4ec4bdf76 |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 31 20:25:03 2019 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 31 20:25:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa060f0 |
7 |
|
8 |
dev-lang/gnat-gpl: fix gnatmake using gcc-8.3.1 instead of gcc |
9 |
|
10 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
12 |
|
13 |
dev-lang/gnat-gpl/files/gnat-gpl-2019-gentoo.patch | 18 ++++++++++++++++++ |
14 |
1 file changed, 18 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2019-gentoo.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2019-gentoo.patch |
17 |
index 0be27c59996..36befaafc0f 100644 |
18 |
--- a/dev-lang/gnat-gpl/files/gnat-gpl-2019-gentoo.patch |
19 |
+++ b/dev-lang/gnat-gpl/files/gnat-gpl-2019-gentoo.patch |
20 |
@@ -22,3 +22,21 @@ |
21 |
#include "confdefs.h" |
22 |
|
23 |
#if HAVE_DLFCN_H |
24 |
+--- a/gcc-8-2019-20190517-18C94-src/gcc/ada/osint.adb 2017-03-10 21:58:02.600710156 +0100 |
25 |
++++ b/gcc-8-2019-20190517-18C94-src/gcc/ada/osint.adb 2017-03-10 21:59:38.033983293 +0100 |
26 |
+@@ -2229,14 +2229,11 @@ |
27 |
+ for J in Start_Of_Prefix .. Name_Len - Prog'Length + 1 loop |
28 |
+ if Name_Buffer (J .. J + Prog'Length - 1) = Prog then |
29 |
+ End_Of_Prefix := J - 1; |
30 |
++ Start_Of_Suffix := J + Prog'Length; |
31 |
+ exit; |
32 |
+ end if; |
33 |
+ end loop; |
34 |
+ |
35 |
+- if End_Of_Prefix > 1 then |
36 |
+- Start_Of_Suffix := End_Of_Prefix + Prog'Length + 1; |
37 |
+- end if; |
38 |
+- |
39 |
+ -- Create the new program name |
40 |
+ |
41 |
+ return new String' |