dev-ada/gnatcoll: require a more recent libgpr
authorTupone Alfredo <tupone@gentoo.org>
Tue, 13 Nov 2018 20:30:25 +0000 (21:30 +0100)
committerTupone Alfredo <tupone@gentoo.org>
Tue, 13 Nov 2018 20:30:25 +0000 (21:30 +0100)
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-ada/gnatcoll/files/gnatcoll-2016-gentoo.patch
dev-ada/gnatcoll/gnatcoll-2016.ebuild

index 3d775e2c0306e42fd11fb7bde5913600604617da..d6ece9454e2dceab459679b48291ba836266a592 100644 (file)
     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 @@
           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;
index 435a16df129a808516d04329ba1c01fb85eef6f1..4f0159efc451d37dc425757052d3a0aea91f04ce 100644 (file)
@@ -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}