summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-11-14 22:40:00 +0100
committerTupone Alfredo <tupone@gentoo.org>2018-11-14 22:40:00 +0100
commite96e3f0deb379646a1f9392072c98256f4a6074b (patch)
tree08f84480b5208a9a3e239c73202d1c6cb4aa2e47 /dev-ada/libadalang/files
parentapp-emulation/reg: Version bump to 0.16.0 (diff)
downloadgentoo-e96e3f0deb379646a1f9392072c98256f4a6074b.tar.gz
gentoo-e96e3f0deb379646a1f9392072c98256f4a6074b.tar.bz2
gentoo-e96e3f0deb379646a1f9392072c98256f4a6074b.zip
dev-ada/libadalang: Fix test for 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/libadalang/files')
-rw-r--r--dev-ada/libadalang/files/libadalang-2017-gentoo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-ada/libadalang/files/libadalang-2017-gentoo.patch b/dev-ada/libadalang/files/libadalang-2017-gentoo.patch
new file mode 100644
index 000000000000..00f9aca46959
--- /dev/null
+++ b/dev-ada/libadalang/files/libadalang-2017-gentoo.patch
@@ -0,0 +1,20 @@
+--- a/ada/testsuite/python_support/utils.py 2018-11-14 22:21:36.366873970 +0100
++++ b/ada/testsuite/python_support/utils.py 2018-11-14 22:21:59.397477086 +0100
+@@ -28,6 +28,7 @@
+ library_kind = 'static' if LAL_DISABLE_SHARED else 'relocatable'
+ argv.extend([
+ '-XLIBRARY_TYPE={}'.format(library_kind),
++ '-XGPR_BUILD={}'.format(library_kind),
+ '-XXMLADA_BUILD={}'.format(library_kind),
+ ])
+ subprocess.check_call(argv)
+--- a/ada/testsuite/testsuite_support/base_driver.py 2018-11-14 22:22:37.698817058 +0100
++++ b/ada/testsuite/testsuite_support/base_driver.py 2018-11-14 22:30:37.631613448 +0100
+@@ -310,6 +310,7 @@
+ """
+ library_type = 'static' if self.disable_shared else 'relocatable'
+ return ['-XLIBRARY_TYPE={}'.format(library_type),
++ '-XGPR_BUILD={}'.format(library_type),
+ '-XXMLADA_BUILD={}'.format(library_type)]
+
+ #