summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-11-11 21:26:54 +0100
committerTupone Alfredo <tupone@gentoo.org>2018-11-11 21:26:54 +0100
commit2ef1f0e5e5bd0724077a50e400c8496bb24cfb23 (patch)
tree1daa01b2e08aa0876011596f33fb4f2d7d4ee0f2 /dev-ada/langkit
parentmedia-video/parole: Remove unused flag (clutter) (diff)
downloadgentoo-2ef1f0e5e5bd0724077a50e400c8496bb24cfb23.tar.gz
gentoo-2ef1f0e5e5bd0724077a50e400c8496bb24cfb23.tar.bz2
gentoo-2ef1f0e5e5bd0724077a50e400c8496bb24cfb23.zip
dev-ada/langkit: remove hack for gcc
Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ada/langkit')
-rw-r--r--dev-ada/langkit/files/langkit-2017-gentoo.patch38
1 files changed, 7 insertions, 31 deletions
diff --git a/dev-ada/langkit/files/langkit-2017-gentoo.patch b/dev-ada/langkit/files/langkit-2017-gentoo.patch
index ecb7ce6e74d..bc744d8ded5 100644
--- a/dev-ada/langkit/files/langkit-2017-gentoo.patch
+++ b/dev-ada/langkit/files/langkit-2017-gentoo.patch
@@ -1,29 +1,5 @@
---- langkit-gps-src/langkit/templates/project_file.mako.old 2017-07-11 14:19:12.841221846 +0200
-+++ langkit-gps-src/langkit/templates/project_file.mako 2017-07-11 14:12:39.104981170 +0200
-@@ -82,9 +82,11 @@
- for Default_Switches ("Ada") use
- Common_Ada_Cargs & ("-g", "-O0", "-gnatwe", "-gnata");
-
-- for Default_Switches ("C") use Common_C_Cargs & ("-g3", "-O0");
-+ for Default_Switches ("C") use Common_C_Cargs &
-+ ("-g3", "-O0", "-fPIC");
-
-- for Switches ("quex_lexer.c") use Common_C_Cargs & ("-g0", "-O0");
-+ for Switches ("quex_lexer.c") use Common_C_Cargs &
-+ ("-g0", "-O0", "-fPIC");
- -- This file is *huge* and the debugging information for it harms
- -- Valgrind runs. We almost never have to debug this file so
- -- this is acceptable.
-@@ -111,6 +111,7 @@
- -- ... and this prevents OOM on other platforms
- end case;
- end case;
-+ for Driver ("C") use External ("GCC", "gcc");
- end Compiler;
-
- package Binder is
---- langkit-gps-src/langkit/compile_context.py.old 2017-12-13 22:12:38.689143125 +0100
-+++ langkit-gps-src/langkit/compile_context.py 2017-12-13 22:13:02.446737994 +0100
+--- a/langkit/compile_context.py 2017-12-13 22:12:38.689143125 +0100
++++ b/langkit/compile_context.py 2017-12-13 22:13:02.446737994 +0100
@@ -1171,8 +1171,7 @@
# the Quex specification changed from last build.
if generate_lexer and self.cache.is_stale('quex_specification',
@@ -34,8 +10,8 @@
quex_file,
"-o", "quex_lexer",
"--buffer-element-size", "4",
---- langkit-gps-src/langkit/templates/pkg_analysis_body_ada.mako.old 2017-12-26 20:47:28.461617512 +0100
-+++ langkit-gps-src/langkit/templates/pkg_analysis_body_ada.mako 2017-12-26 20:47:58.912060490 +0100
+--- a/langkit/templates/pkg_analysis_body_ada.mako 2017-12-26 20:47:28.461617512 +0100
++++ b/langkit/templates/pkg_analysis_body_ada.mako 2017-12-26 20:47:58.912060490 +0100
@@ -2196,7 +2196,7 @@
-- printing them.
@@ -45,7 +21,7 @@
package Address_To_Id_Maps is new Ada.Containers.Hashed_Maps
(Lexical_Env, Integer, Hash, "=");
---- a/testsuite/testsuite_support/__init__.py.old 2018-05-02 21:40:04.977442020 +0200
+--- a/testsuite/testsuite_support/__init__.py 2018-05-02 21:40:04.977442020 +0200
+++ b/testsuite/testsuite_support/__init__.py 2018-05-02 21:40:45.422759387 +0200
@@ -68,6 +68,7 @@
# to build it in parallel.
@@ -56,7 +32,7 @@
os.path.join(self.root_dir, '..', 'langkit', 'support',
'langkit_support.gpr')], output=PIPE)
report(p, "Langkit support")
---- a/testsuite/testsuite_support/langkit_support_driver.py.old 2018-05-03 08:01:20.019944992 +0200
+--- a/testsuite/testsuite_support/langkit_support_driver.py 2018-05-03 08:01:20.019944992 +0200
+++ b/testsuite/testsuite_support/langkit_support_driver.py 2018-05-03 08:02:50.146430288 +0200
@@ -36,5 +36,7 @@
))
@@ -66,7 +42,7 @@
+ '-XXMLADA_BUILD=relocatable',
'-cargs', '-O0', '-g'])
self.run_and_check(['./{}'.format(source[:-4])])
-+++ a/testsuite/testsuite_support/adalog_driver.py.old 2018-05-03 08:14:30.998698722 +0200
++++ a/testsuite/testsuite_support/adalog_driver.py 2018-05-03 08:14:30.998698722 +0200
--- b/testsuite/testsuite_support/adalog_driver.py 2018-05-03 08:16:48.275417176 +0200
@@ -41,6 +41,8 @@
)