summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-11-14 22:41:54 +0100
committerTupone Alfredo <tupone@gentoo.org>2018-11-14 22:41:54 +0100
commit09396b5f7b62226bce1a0d36dfa14a796c8fd759 (patch)
tree574448f36f982d5f0b614c00733e393543bbb3a7 /dev-ada/langkit
parentdev-ada/libadalang: Fix test for new libgpr (diff)
downloadgentoo-09396b5f7b62226bce1a0d36dfa14a796c8fd759.tar.gz
gentoo-09396b5f7b62226bce1a0d36dfa14a796c8fd759.tar.bz2
gentoo-09396b5f7b62226bce1a0d36dfa14a796c8fd759.zip
dev-ada/langkit: Fx build with new libgpr
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.patch19
1 files changed, 16 insertions, 3 deletions
diff --git a/dev-ada/langkit/files/langkit-2017-gentoo.patch b/dev-ada/langkit/files/langkit-2017-gentoo.patch
index bc744d8ded58..7b6501ed8a70 100644
--- a/dev-ada/langkit/files/langkit-2017-gentoo.patch
+++ b/dev-ada/langkit/files/langkit-2017-gentoo.patch
@@ -23,34 +23,47 @@
(Lexical_Env, Integer, Hash, "=");
--- 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 @@
+@@ -68,6 +68,8 @@
# to build it in parallel.
if not self.global_env['options'].disable_tear_up_builds:
- p = Run(['gprbuild', '-p', '-f', '-P',
+ p = Run(['gprbuild', '-p', '-f', '-XLIBRARY_TYPE=relocatable',
++ '-XGPR_BUILD=relocatable',
+ '-XXMLADA_BUILD=relocatable', '-P',
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 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 @@
+@@ -36,5 +36,8 @@
))
self.run_and_check(['gprbuild', '-p', '-P', 'p.gpr', '-gnata',
+ '-XLIBRARY_TYPE=relocatable',
++ '-XGPR_BUILD=relocatable',
+ '-XXMLADA_BUILD=relocatable',
'-cargs', '-O0', '-g'])
self.run_and_check(['./{}'.format(source[:-4])])
+++ 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 @@
+@@ -41,6 +41,9 @@
)
))
- self.run_and_check(['gprbuild', '-p', '-P', 'p.gpr', '-cargs', '-O0',
+ self.run_and_check(['gprbuild', '-p', '-XLIBRARY_TYPE=relocatable',
++ '-XGPR_BUILD=relocatable',
+ '-XXMLADA_BUILD=relocatable',
+ '-P', 'p.gpr', '-cargs', '-O0',
'-g'])
self.run_and_check(['./{}'.format(source[:-4])])
+--- a/langkit/libmanage.py 2018-11-14 22:02:20.283672719 +0100
++++ b/langkit/libmanage.py 2018-11-14 22:02:39.970337338 +0100
+@@ -634,6 +634,7 @@
+
+ result = ['-XBUILD_MODE={}'.format(build_mode),
+ '-XLIBRARY_TYPE={}'.format(library_type),
++ '-XGPR_BUILD={}'.format(library_type),
+ '-XXMLADA_BUILD={}'.format(library_type)]
+
+ enable_warnings = getattr(args, 'enable_warnings', False)