commit:     7410574a61c89e20cd163c6944da4633884fb2b1
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 10 06:32:42 2018 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Oct 10 06:32:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7410574a

dev-ada/gnatcoll-bindings: use as C compiler the one shipped with gnat

Closes: https://bugs.gentoo.org/668136
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 .../files/gnatcoll-bindings-2018-gentoo.patch       | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git 
a/dev-ada/gnatcoll-bindings/files/gnatcoll-bindings-2018-gentoo.patch 
b/dev-ada/gnatcoll-bindings/files/gnatcoll-bindings-2018-gentoo.patch
index 9f37fea65eb..79729c22842 100644
--- a/dev-ada/gnatcoll-bindings/files/gnatcoll-bindings-2018-gentoo.patch
+++ b/dev-ada/gnatcoll-bindings/files/gnatcoll-bindings-2018-gentoo.patch
@@ -8,4 +8,25 @@
 +      for Driver ("C") use External ("GCC", "gcc");
     end Compiler;
  
+    package Binder is
+--- a/iconv/gnatcoll_iconv.gpr 2018-10-10 08:24:48.654714484 +0200
++++ b/iconv/gnatcoll_iconv.gpr 2018-10-10 08:24:16.926237733 +0200
+@@ -70,7 +70,7 @@
+             for Switches ("Ada") use ("-O2", "-gnatn", "-gnatwaCJ");
+             for Switches ("C") use ("-O2", "-Wunreachable-code");
+       end case;
+-
++      for Driver ("C") use External ("GCC", "gcc");
+    end Compiler;
+ 
+    package Binder is
+--- a/python/gnatcoll_python.gpr       2018-10-10 08:28:04.700481915 +0200
++++ b/python/gnatcoll_python.gpr       2018-10-10 08:27:33.880990030 +0200
+@@ -75,6 +75,7 @@
+             for Switches ("Ada") use ("-O2", "-gnatn", "-gnatwaCJ");
+             for Switches ("C") use ("-O2", "-Wunreachable-code") & 
Split(Python_CFLAGS, " ");
+       end case;
++      for Driver ("C") use External ("GCC", "gcc");
+    end Compiler;
+ 
     package Binder is

Reply via email to