[gprbuild/f22] Remove OpenVMS for gcc-5.0
Pavel Zhukov
landgraf at fedoraproject.org
Sun Feb 15 13:16:46 UTC 2015
commit 7e1a0d0bea0ad81d3764f3a66db9081045fc49cc
Author: Pavel Zhukov <landgraf at fedoraproject.org>
Date: Sun Feb 15 14:16:27 2015 +0100
Remove OpenVMS for gcc-5.0
gprbuild-2013-openvms.patch | 20 ++++++++++++++++++++
gprbuild-2013-style.patch | 11 -----------
gprbuild.spec | 30 ++++++++----------------------
3 files changed, 28 insertions(+), 33 deletions(-)
---
diff --git a/gprbuild-2013-openvms.patch b/gprbuild-2013-openvms.patch
new file mode 100644
index 0000000..ebbc6a1
--- /dev/null
+++ b/gprbuild-2013-openvms.patch
@@ -0,0 +1,20 @@
+diff --git a/gnat/hostparm.ads b/gnat/hostparm.ads
+index 16b4b39..923f7f8 100644
+--- a/gnat/hostparm.ads
++++ b/gnat/hostparm.ads
+@@ -41,13 +41,8 @@ package Hostparm is
+ -- HOST Parameters --
+ ---------------------
+
+- Gnat_VMSp : Integer;
+- pragma Import (C, Gnat_VMSp, "__gnat_vmsp");
+-
+- OpenVMS : Boolean := Gnat_VMSp /= 0;
+- -- Set True for OpenVMS host. See also OpenVMS target boolean in
+- -- system-vms.ads and system-vms_64.ads and OpenVMS_On_Target boolean in
+- -- Targparm. This is not a constant, because it can be modified by -gnatdm.
++ OpenVMS : constant Boolean := False;
++ -- OpenVMS support has been removed in gnat 5.0
+
+ Direct_Separator : constant Character;
+ pragma Import (C, Direct_Separator, "__gnat_dir_separator");
diff --git a/gprbuild.spec b/gprbuild.spec
index 6a778ec..447d21d 100644
--- a/gprbuild.spec
+++ b/gprbuild.spec
@@ -1,6 +1,6 @@
Name: gprbuild
Version: 2013
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: Ada project builder
Group: Development/Languages
License: GPLv2+
@@ -14,6 +14,8 @@ Patch2: %{name}-armcompiller.patch
## Fedora specific
Patch3: %{name}-%{version}-usrmove.patch
Patch6: %{name}-%{version}-remove_rpath.patch
+## Remove OpenVMS support
+Patch7: %{name}-%{version}-openvms.patch
BuildRequires: xmlada-devel
BuildRequires: gcc-gnat libgnat-static libgnat-devel
@@ -40,6 +42,7 @@ and libraries and is particularly well-suited for compiled languages.
%patch2 -p1
%patch3 -p1
%patch6 -p1
+%patch7 -p1
# Update the various config.guess to upstream release for new arch support
cp /usr/lib/rpm/config.* .
@@ -69,8 +72,11 @@ find __doc/examples -type f -exec chmod -x {} \;
%_GNAT_project_dir/*
%changelog
+* Sun Feb 15 2015 Pavel Zhukov <landgraf at fedoraproject.org> - 2013-16
+- Remove OpenVMS from supported OS
+
* Sat Feb 14 2015 Pavel Zhukov <landgraf at fedoraproject.org> - 2013-15
-- Rebuild with new gcc 4.9
+- Rebuild with new gcc 5.0
* Mon Nov 10 2014 Peter Robinson <pbrobinson at fedoraproject.org> 2013-14
- Update config.sub and config.guess for new architectures
@@ -137,23 +143,3 @@ find __doc/examples -type f -exec chmod -x {} \;
* Thu Mar 24 2011 Dan HorĂ¡k <dan[at]danny.cz> - 2010-8
- updated the supported arch list
-
-* Fri Mar 11 2011 Pavel Zhukov <landgraf at fedoraproject.com> - 2010-7
-- Fix %%doc section
-- Hack for builded docs
-
-* Sun Mar 5 2011 Pavel Zhukov <landgraf at fedoraproject.com> - 2010-5
-- Rebuild for new xmlada
-
-* Sun Feb 20 2011 Pavel Zhukov <landgraf at fedoraproject.com> - 2010-4
-- Fix gnat optflags
-- Fix project dirname
-
-* Mon Feb 7 2011 Pavel Zhukov <landgraf at fedoraproject.com> - 2010-3
-- Fix issue with GCC output (change regexp)
-
-* Sun Feb 6 2011 Pavel Zhukov <landgraf at fedoraproject.com> - 2010-2
-- Add devel package
-
-* Fri Feb 4 2011 Pavel Zhukov <landgraf at fedoraproject.com> - 2010-1
-- Initial package
More information about the scm-commits
mailing list