commit: c822a5fcd01846ad1e0831a94874783314126191 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> AuthorDate: Tue Oct 3 20:40:34 2017 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Tue Oct 3 20:40:34 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c822a5fc
dev-lang/gnat-gpl: Fix gnat-gpl-2017 when using gnatmake-6.3.0 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-lang/gnat-gpl/files/gnat-gpl-2017-gentoo.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2017-gentoo.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2017-gentoo.patch index e3a68c8f509..442e1ad7657 100644 --- a/dev-lang/gnat-gpl/files/gnat-gpl-2017-gentoo.patch +++ b/dev-lang/gnat-gpl/files/gnat-gpl-2017-gentoo.patch @@ -12,3 +12,21 @@ --- a/gcc/params.def 2016-03-30 09:47:40.000000000 +0200 +++ b/gcc/params.def 2016-09-19 12:56:58.443179039 +0200 @@ -673,7 +673,7 @@ DEFPARAM (PARAM_INTEGER_SHARE_LIMIT, +--- gcc-6-gpl-2017-src/gcc/ada/osint.adb.old 2017-03-10 21:58:02.600710156 +0100 ++++ gcc-6-gpl-2017-src/gcc/ada/osint.adb 2017-03-10 21:59:38.033983293 +0100 +@@ -2229,14 +2229,11 @@ + for J in Start_Of_Prefix .. Name_Len - Prog'Length + 1 loop + if Name_Buffer (J .. J + Prog'Length - 1) = Prog then + End_Of_Prefix := J - 1; ++ Start_Of_Suffix := J + Prog'Length; + exit; + end if; + end loop; + +- if End_Of_Prefix > 1 then +- Start_Of_Suffix := End_Of_Prefix + Prog'Length + 1; +- end if; +- + -- Create the new program name + + return new String'
