diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-11 19:55:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-11 19:55:43 +0100 |
commit | 185fa19bbf68a4d4dca534d2b46729207a177f16 (patch) | |
tree | a8a537b82fda83a0799c2ca9887f212558363aa7 /dev-lang/gnat-gpl/files | |
parent | c8fd0d84af0bfd1949542adc2cbb735b1d28f9ed (diff) |
gentoo resync : 11.05.2021
Diffstat (limited to 'dev-lang/gnat-gpl/files')
-rw-r--r-- | dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch new file mode 100644 index 000000000000..878b4f82cf55 --- /dev/null +++ b/dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch @@ -0,0 +1,41 @@ +--- a/gcc-9-2020-20200429-19AA7-src/gcc/ada/osint.adb 2017-03-10 21:58:02.600710156 +0100 ++++ b/gcc-9-2020-20200429-19AA7-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' +--- a/patch/04_all_nossp-on-nostdlib.patch 2021-05-10 21:37:05.733985417 +0200 ++++ b/patch/04_all_nossp-on-nostdlib.patch 2021-05-10 21:38:02.925029050 +0200 +@@ -4,7 +4,7 @@ + --- a/gcc/gcc.c 2017-07-04 09:15:57.740793000 +0200 + +++ b/gcc/gcc.c 2018-03-02 13:58:44.387741114 +0100 + @@ -857,6 +857,12 @@ proper position among the other output f +- #define LINK_GCC_C_SEQUENCE_SPEC "%G %L %G" ++ #define LINK_GCC_C_SEQUENCE_SPEC "%G %{!nolibc:%L %G}" + #endif + + +#ifdef ENABLE_DEFAULT_SSP +@@ -19,9 +19,9 @@ + @@ -1131,7 +1148,7 @@ static const char *cc1_options = + %{-version:--version}\ + %{-help=*:--help=%*}\ +- %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}}\ ++ %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %w%b.s}}}\ + - %{fsyntax-only:-o %j} %{-param*}\ + + %{fsyntax-only:-o %j} %{-param*} " NO_SSP_SPEC "\ + %{coverage:-fprofile-arcs -ftest-coverage}\ ++ %{fdump-scos:-fpreserve-decisions-generic}\ + %{fprofile-arcs|fprofile-generate*|coverage:\ +- %{!fprofile-update=singel:\ |