Skip to content

Commit

Permalink
dev-ada/gnatcoll: require a more recent libgpr
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Tupone <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
atupone committed Nov 13, 2018
1 parent 880699b commit 971f893
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions dev-ada/gnatcoll/files/gnatcoll-2016-gentoo.patch
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@
Syslog : Yes_No := External ("SYSLOG", "@WITH_SYSLOG@");
Postgres : Yes_No := External ("POSTGRES", "@WITH_POSTGRES@");
type Sqlite_Inclusion is ("yes", "no", "embedded");
@@ -67,7 +67,7 @@

when "Production" =>
for Switches ("Ada") use ("-O2", "-gnatn", "-gnatws");
- for Switches ("C") use ("-O2", "-Wunreachable-code");
+ for Switches ("C") use ("-O2", "-Wunreachable-code", "-fPIC");
end case;

case Syslog is
--- a/aclocal.m4 2017-04-06 08:25:14.796699365 +0200
+++ b/aclocal.m4 2017-04-06 08:25:36.622318016 +0200
@@ -45,7 +45,7 @@
Expand Down Expand Up @@ -214,3 +205,14 @@
case GnatColl_Shared.Python is
when "yes" =>
for Source_Dirs use Project'Source_Dirs & ("gtk/python");
--- a/src/gnatcoll-projects-normalize.adb 2018-11-13 19:34:01.491003676 +0100
+++ b/src/gnatcoll-projects-normalize.adb 2018-11-13 19:34:16.289760553 +0100
@@ -2202,7 +2202,7 @@
when N_Comment_Zones =>
null;

- when N_Comment =>
+ when others =>
null;
end case;
end if;
2 changes: 1 addition & 1 deletion dev-ada/gnatcoll/gnatcoll-2016.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
postgres? ( dev-db/postgresql:* )
sqlite? ( dev-db/sqlite )
projects? (
~dev-ada/libgpr-2016[gnat_2016=,gnat_2017=,shared?,static-libs?]
~dev-ada/libgpr-2017[gnat_2016=,gnat_2017=,shared?,static-libs?]
dev-ada/xmlada[shared?,static-libs?]
)"
DEPEND="${RDEPEND}
Expand Down

0 comments on commit 971f893

Please sign in to comment.