summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-10-03 22:40:34 +0200
committerTupone Alfredo <tupone@gentoo.org>2017-10-03 22:40:34 +0200
commitc822a5fcd01846ad1e0831a94874783314126191 (patch)
tree789e6704ca463f3a89d3ebbe89da0215cb07187b /dev-lang/gnat-gpl
parentdev-util/dejagnu: The html docs seem to be gone, bug 622600 (diff)
downloadgentoo-c822a5fcd01846ad1e0831a94874783314126191.tar.gz
gentoo-c822a5fcd01846ad1e0831a94874783314126191.tar.bz2
gentoo-c822a5fcd01846ad1e0831a94874783314126191.zip
dev-lang/gnat-gpl: Fix gnat-gpl-2017 when using gnatmake-6.3.0
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-lang/gnat-gpl')
-rw-r--r--dev-lang/gnat-gpl/files/gnat-gpl-2017-gentoo.patch18
1 files changed, 18 insertions, 0 deletions
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 e3a68c8f5096..442e1ad76577 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'