summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-11-08 20:00:28 +0100
committerTupone Alfredo <tupone@gentoo.org>2019-11-08 20:00:28 +0100
commit22f1d8b3762029116adf9d5ebd3b5db422b89e31 (patch)
tree8b466901a6ee164e1b6222cd9b14ffbf463a1292 /dev-lang/spark/files
parentdev-perl/LockFile-Simple: Improve license spec (diff)
downloadgentoo-22f1d8b3762029116adf9d5ebd3b5db422b89e31.tar.gz
gentoo-22f1d8b3762029116adf9d5ebd3b5db422b89e31.tar.bz2
gentoo-22f1d8b3762029116adf9d5ebd3b5db422b89e31.zip
dev-lang/spark: fix compile
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-lang/spark/files')
-rw-r--r--dev-lang/spark/files/spark-2017-gentoo.patch17
1 files changed, 15 insertions, 2 deletions
diff --git a/dev-lang/spark/files/spark-2017-gentoo.patch b/dev-lang/spark/files/spark-2017-gentoo.patch
index 479a7ace4dc2..8258c9feab7e 100644
--- a/dev-lang/spark/files/spark-2017-gentoo.patch
+++ b/dev-lang/spark/files/spark-2017-gentoo.patch
@@ -1,5 +1,5 @@
---- spark-gpl-2017-src/gnat2why/gnat2why_c.gpr.old 2017-10-04 21:41:41.613376056 +0200
-+++ spark-gpl-2017-src/gnat2why/gnat2why_c.gpr 2017-10-04 21:42:30.582572536 +0200
+--- a/gnat2why/gnat2why_c.gpr 2017-10-04 21:41:41.613376056 +0200
++++ b/gnat2why/gnat2why_c.gpr 2017-10-04 21:42:30.582572536 +0200
@@ -1,4 +1,7 @@
project Gnat2Why_C is
for Languages use ("C");
@@ -8,3 +8,16 @@
+ for Driver ("C") use External ("CC", "gcc");
+ end Compiler;
end Gnat2Why_C;
+--- a/gnatprove/configuration.adb 2019-11-08 19:20:16.876198539 +0100
++++ b/gnatprove/configuration.adb 2019-11-08 19:21:13.550201663 +0100
+@@ -694,7 +694,9 @@
+ Tree : Project_Tree;
+
+ begin
+- Set_Path_From_Gnatls (Proj_Env.all, "gnatls", GNAT_Version);
++ Set_Path_From_Gnatls (Proj_Env.all,
++ "gnatls",
++ GNAT_Version);
+ Free (GNAT_Version);
+ Set_Object_Subdir (Proj_Env.all, Subdir_Name);
+ Proj_Env.Register_Default_Language_Extension ("C", ".h", ".c");