[rtems-crossrpms commit] Regenerate.
Ralf Corsepius
ralf at rtems.org
Wed Jun 5 07:05:36 UTC 2013
Module: rtems-crossrpms
Branch: master
Commit: c97d84f760ea741e81aca6eced343b48c65cdabd
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=c97d84f760ea741e81aca6eced343b48c65cdabd
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Mon Jun 3 22:30:41 2013 -0500
Regenerate.
---
freebsd6.4/i586/Makefile.in | 4 +-
freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec | 55 +++++++++++++-----------
freebsd7.4/i586/Makefile.in | 4 +-
freebsd7.4/i586/i586-pc-freebsd7.4-gcc.spec | 55 +++++++++++++-----------
freebsd8.3/i586/Makefile.in | 4 +-
freebsd8.3/i586/i586-pc-freebsd8.3-gcc.spec | 55 +++++++++++++-----------
freebsd8.3/x86_64/Makefile.in | 4 +-
freebsd8.3/x86_64/amd64-pc-freebsd8.3-gcc.spec | 55 +++++++++++++-----------
freebsd9.1/i586/Makefile.in | 4 +-
freebsd9.1/i586/i586-pc-freebsd9.1-gcc.spec | 55 +++++++++++++-----------
freebsd9.1/x86_64/Makefile.in | 4 +-
freebsd9.1/x86_64/amd64-pc-freebsd9.1-gcc.spec | 55 +++++++++++++-----------
12 files changed, 192 insertions(+), 162 deletions(-)
diff --git a/freebsd6.4/i586/Makefile.in b/freebsd6.4/i586/Makefile.in
index b62338e..4ac2355 100644
--- a/freebsd6.4/i586/Makefile.in
+++ b/freebsd6.4/i586/Makefile.in
@@ -241,9 +241,9 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/common/clean.add \
$(top_srcdir)/binutils/target-binutils.add \
$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.7.2
+GCC_VERS = 4.7.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20130308.0
+GCC_RPMREL = 0.20130530.0
GCC_OPTS = --languages=cxx,fortran,objc
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec b/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec
index 7da040e..6ffc2d2 100644
--- a/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec
+++ b/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec
@@ -32,9 +32,9 @@
%{?!el5:%global _with_noarch_subpackages 1}
-%define gcc_pkgvers 4.7.2
-%define gcc_version 4.7.2
-%define gcc_rpmvers %{expand:%(echo "4.7.2" | tr - _ )}
+%define gcc_pkgvers 4.7.3
+%define gcc_version 4.7.3
+%define gcc_rpmvers %{expand:%(echo "4.7.3" | tr - _ )}
Name: i586-pc-freebsd6.4-gcc
@@ -42,14 +42,17 @@ Summary: i586-pc-freebsd6.4 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 0.20130308.0%{?dist}
+Release: 0.20130530.0%{?dist}
License: GPL
URL: http://gcc.gnu.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
%define _use_internal_dependency_generator 0
BuildRequires: %{_host_rpmprefix}gcc
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: %{_host_rpmprefix}gcc-c++
+%endif
# FIXME: Disable lto for now, to avoid dependencies on libelf
%bcond_with lto
@@ -226,6 +229,9 @@ BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
%if "%{_build}" != "%{_host}"
BuildRequires: i586-pc-freebsd6.4-gcc = %{gcc_rpmvers}
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: i586-pc-freebsd6.4-gcc-c++ = %{gcc_rpmvers}
+%endif
%endif
# Not strictly required, but patches may introduce a need to use them.
@@ -250,44 +256,43 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.8.0"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130326.diff
+%endif
+%if "%{gcc_version}" == "4.7.3"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3-rtems4.11-20130529.diff
+%endif
%if "%{gcc_version}" == "4.7.2"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.2/gcc-4.7.2.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20121026.diff
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20130318.diff
%endif
%if "%{gcc_version}" == "4.7.1"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.1/gcc-4.7.1.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-rtems4.11-20120712.diff
%endif
%if "%{gcc_version}" == "4.7.0"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.0/gcc-4.7.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120419.diff
%endif
%if "%{gcc_version}" == "4.6.3"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.3/gcc-4.6.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.6.3.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
%endif
%if "%{gcc_version}" == "4.5.4"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-4.5.4.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.4/gcc-4.5.4.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.5.4.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.4-rtems4.11-20120703.diff
-%endif
-
-%if "%{gcc_version}" < "4.7.0"
-%if "%{gcc_version}" == "4.6.3"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.5.4"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-4.5.4.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.4-rtems4.11-20120703.diff
%endif
-Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
-
-Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
-
-%endif
%if 0%{?_build_mpfr}
Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
diff --git a/freebsd7.4/i586/Makefile.in b/freebsd7.4/i586/Makefile.in
index f18bd14..e4e8084 100644
--- a/freebsd7.4/i586/Makefile.in
+++ b/freebsd7.4/i586/Makefile.in
@@ -241,9 +241,9 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/common/clean.add \
$(top_srcdir)/binutils/target-binutils.add \
$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.7.2
+GCC_VERS = 4.7.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20130308.0
+GCC_RPMREL = 0.20130530.0
GCC_OPTS = --languages=cxx,fortran,objc
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/freebsd7.4/i586/i586-pc-freebsd7.4-gcc.spec b/freebsd7.4/i586/i586-pc-freebsd7.4-gcc.spec
index 9ba8543..fd361ec 100644
--- a/freebsd7.4/i586/i586-pc-freebsd7.4-gcc.spec
+++ b/freebsd7.4/i586/i586-pc-freebsd7.4-gcc.spec
@@ -32,9 +32,9 @@
%{?!el5:%global _with_noarch_subpackages 1}
-%define gcc_pkgvers 4.7.2
-%define gcc_version 4.7.2
-%define gcc_rpmvers %{expand:%(echo "4.7.2" | tr - _ )}
+%define gcc_pkgvers 4.7.3
+%define gcc_version 4.7.3
+%define gcc_rpmvers %{expand:%(echo "4.7.3" | tr - _ )}
Name: i586-pc-freebsd7.4-gcc
@@ -42,14 +42,17 @@ Summary: i586-pc-freebsd7.4 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 0.20130308.0%{?dist}
+Release: 0.20130530.0%{?dist}
License: GPL
URL: http://gcc.gnu.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
%define _use_internal_dependency_generator 0
BuildRequires: %{_host_rpmprefix}gcc
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: %{_host_rpmprefix}gcc-c++
+%endif
# FIXME: Disable lto for now, to avoid dependencies on libelf
%bcond_with lto
@@ -226,6 +229,9 @@ BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
%if "%{_build}" != "%{_host}"
BuildRequires: i586-pc-freebsd7.4-gcc = %{gcc_rpmvers}
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: i586-pc-freebsd7.4-gcc-c++ = %{gcc_rpmvers}
+%endif
%endif
# Not strictly required, but patches may introduce a need to use them.
@@ -250,44 +256,43 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.8.0"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130326.diff
+%endif
+%if "%{gcc_version}" == "4.7.3"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3-rtems4.11-20130529.diff
+%endif
%if "%{gcc_version}" == "4.7.2"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.2/gcc-4.7.2.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20121026.diff
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20130318.diff
%endif
%if "%{gcc_version}" == "4.7.1"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.1/gcc-4.7.1.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-rtems4.11-20120712.diff
%endif
%if "%{gcc_version}" == "4.7.0"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.0/gcc-4.7.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120419.diff
%endif
%if "%{gcc_version}" == "4.6.3"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.3/gcc-4.6.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.6.3.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
%endif
%if "%{gcc_version}" == "4.5.4"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-4.5.4.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.4/gcc-4.5.4.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.5.4.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.4-rtems4.11-20120703.diff
-%endif
-
-%if "%{gcc_version}" < "4.7.0"
-%if "%{gcc_version}" == "4.6.3"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.5.4"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-4.5.4.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.4-rtems4.11-20120703.diff
%endif
-Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
-
-Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
-
-%endif
%if 0%{?_build_mpfr}
Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
diff --git a/freebsd8.3/i586/Makefile.in b/freebsd8.3/i586/Makefile.in
index 049c58b..77cf1c3 100644
--- a/freebsd8.3/i586/Makefile.in
+++ b/freebsd8.3/i586/Makefile.in
@@ -241,9 +241,9 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/common/clean.add \
$(top_srcdir)/binutils/target-binutils.add \
$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.7.2
+GCC_VERS = 4.7.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20130308.0
+GCC_RPMREL = 0.20130530.0
GCC_OPTS = --languages=cxx,fortran,objc
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/freebsd8.3/i586/i586-pc-freebsd8.3-gcc.spec b/freebsd8.3/i586/i586-pc-freebsd8.3-gcc.spec
index 8ef2d4e..76eed07 100644
--- a/freebsd8.3/i586/i586-pc-freebsd8.3-gcc.spec
+++ b/freebsd8.3/i586/i586-pc-freebsd8.3-gcc.spec
@@ -32,9 +32,9 @@
%{?!el5:%global _with_noarch_subpackages 1}
-%define gcc_pkgvers 4.7.2
-%define gcc_version 4.7.2
-%define gcc_rpmvers %{expand:%(echo "4.7.2" | tr - _ )}
+%define gcc_pkgvers 4.7.3
+%define gcc_version 4.7.3
+%define gcc_rpmvers %{expand:%(echo "4.7.3" | tr - _ )}
Name: i586-pc-freebsd8.3-gcc
@@ -42,14 +42,17 @@ Summary: i586-pc-freebsd8.3 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 0.20130308.0%{?dist}
+Release: 0.20130530.0%{?dist}
License: GPL
URL: http://gcc.gnu.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
%define _use_internal_dependency_generator 0
BuildRequires: %{_host_rpmprefix}gcc
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: %{_host_rpmprefix}gcc-c++
+%endif
# FIXME: Disable lto for now, to avoid dependencies on libelf
%bcond_with lto
@@ -226,6 +229,9 @@ BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
%if "%{_build}" != "%{_host}"
BuildRequires: i586-pc-freebsd8.3-gcc = %{gcc_rpmvers}
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: i586-pc-freebsd8.3-gcc-c++ = %{gcc_rpmvers}
+%endif
%endif
# Not strictly required, but patches may introduce a need to use them.
@@ -250,44 +256,43 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.8.0"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130326.diff
+%endif
+%if "%{gcc_version}" == "4.7.3"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3-rtems4.11-20130529.diff
+%endif
%if "%{gcc_version}" == "4.7.2"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.2/gcc-4.7.2.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20121026.diff
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20130318.diff
%endif
%if "%{gcc_version}" == "4.7.1"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.1/gcc-4.7.1.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-rtems4.11-20120712.diff
%endif
%if "%{gcc_version}" == "4.7.0"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.0/gcc-4.7.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120419.diff
%endif
%if "%{gcc_version}" == "4.6.3"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.3/gcc-4.6.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.6.3.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
%endif
%if "%{gcc_version}" == "4.5.4"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-4.5.4.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.4/gcc-4.5.4.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.5.4.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.4-rtems4.11-20120703.diff
-%endif
-
-%if "%{gcc_version}" < "4.7.0"
-%if "%{gcc_version}" == "4.6.3"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.5.4"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-4.5.4.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.4-rtems4.11-20120703.diff
%endif
-Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
-
-Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
-
-%endif
%if 0%{?_build_mpfr}
Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
diff --git a/freebsd8.3/x86_64/Makefile.in b/freebsd8.3/x86_64/Makefile.in
index c575499..216fd94 100644
--- a/freebsd8.3/x86_64/Makefile.in
+++ b/freebsd8.3/x86_64/Makefile.in
@@ -241,9 +241,9 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/common/clean.add \
$(top_srcdir)/binutils/target-binutils.add \
$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.7.2
+GCC_VERS = 4.7.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20130308.0
+GCC_RPMREL = 0.20130530.0
GCC_OPTS = --languages=cxx,fortran,objc
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/freebsd8.3/x86_64/amd64-pc-freebsd8.3-gcc.spec b/freebsd8.3/x86_64/amd64-pc-freebsd8.3-gcc.spec
index bee49c0..1ee5b44 100644
--- a/freebsd8.3/x86_64/amd64-pc-freebsd8.3-gcc.spec
+++ b/freebsd8.3/x86_64/amd64-pc-freebsd8.3-gcc.spec
@@ -32,9 +32,9 @@
%{?!el5:%global _with_noarch_subpackages 1}
-%define gcc_pkgvers 4.7.2
-%define gcc_version 4.7.2
-%define gcc_rpmvers %{expand:%(echo "4.7.2" | tr - _ )}
+%define gcc_pkgvers 4.7.3
+%define gcc_version 4.7.3
+%define gcc_rpmvers %{expand:%(echo "4.7.3" | tr - _ )}
Name: amd64-pc-freebsd8.3-gcc
@@ -42,14 +42,17 @@ Summary: amd64-pc-freebsd8.3 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 0.20130308.0%{?dist}
+Release: 0.20130530.0%{?dist}
License: GPL
URL: http://gcc.gnu.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
%define _use_internal_dependency_generator 0
BuildRequires: %{_host_rpmprefix}gcc
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: %{_host_rpmprefix}gcc-c++
+%endif
# FIXME: Disable lto for now, to avoid dependencies on libelf
%bcond_with lto
@@ -226,6 +229,9 @@ BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
%if "%{_build}" != "%{_host}"
BuildRequires: amd64-pc-freebsd8.3-gcc = %{gcc_rpmvers}
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: amd64-pc-freebsd8.3-gcc-c++ = %{gcc_rpmvers}
+%endif
%endif
# Not strictly required, but patches may introduce a need to use them.
@@ -250,44 +256,43 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.8.0"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130326.diff
+%endif
+%if "%{gcc_version}" == "4.7.3"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3-rtems4.11-20130529.diff
+%endif
%if "%{gcc_version}" == "4.7.2"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.2/gcc-4.7.2.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20121026.diff
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20130318.diff
%endif
%if "%{gcc_version}" == "4.7.1"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.1/gcc-4.7.1.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-rtems4.11-20120712.diff
%endif
%if "%{gcc_version}" == "4.7.0"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.0/gcc-4.7.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120419.diff
%endif
%if "%{gcc_version}" == "4.6.3"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.3/gcc-4.6.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.6.3.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
%endif
%if "%{gcc_version}" == "4.5.4"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-4.5.4.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.4/gcc-4.5.4.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.5.4.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.4-rtems4.11-20120703.diff
-%endif
-
-%if "%{gcc_version}" < "4.7.0"
-%if "%{gcc_version}" == "4.6.3"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.5.4"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-4.5.4.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.4-rtems4.11-20120703.diff
%endif
-Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
-
-Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
-
-%endif
%if 0%{?_build_mpfr}
Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
diff --git a/freebsd9.1/i586/Makefile.in b/freebsd9.1/i586/Makefile.in
index a25c159..bdfa140 100644
--- a/freebsd9.1/i586/Makefile.in
+++ b/freebsd9.1/i586/Makefile.in
@@ -241,9 +241,9 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/common/clean.add \
$(top_srcdir)/binutils/target-binutils.add \
$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.7.2
+GCC_VERS = 4.7.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20130308.0
+GCC_RPMREL = 0.20130530.0
GCC_OPTS = --languages=cxx,fortran,objc
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/freebsd9.1/i586/i586-pc-freebsd9.1-gcc.spec b/freebsd9.1/i586/i586-pc-freebsd9.1-gcc.spec
index 34cd137..1c1676f 100644
--- a/freebsd9.1/i586/i586-pc-freebsd9.1-gcc.spec
+++ b/freebsd9.1/i586/i586-pc-freebsd9.1-gcc.spec
@@ -32,9 +32,9 @@
%{?!el5:%global _with_noarch_subpackages 1}
-%define gcc_pkgvers 4.7.2
-%define gcc_version 4.7.2
-%define gcc_rpmvers %{expand:%(echo "4.7.2" | tr - _ )}
+%define gcc_pkgvers 4.7.3
+%define gcc_version 4.7.3
+%define gcc_rpmvers %{expand:%(echo "4.7.3" | tr - _ )}
Name: i586-pc-freebsd9.1-gcc
@@ -42,14 +42,17 @@ Summary: i586-pc-freebsd9.1 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 0.20130308.0%{?dist}
+Release: 0.20130530.0%{?dist}
License: GPL
URL: http://gcc.gnu.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
%define _use_internal_dependency_generator 0
BuildRequires: %{_host_rpmprefix}gcc
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: %{_host_rpmprefix}gcc-c++
+%endif
# FIXME: Disable lto for now, to avoid dependencies on libelf
%bcond_with lto
@@ -226,6 +229,9 @@ BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
%if "%{_build}" != "%{_host}"
BuildRequires: i586-pc-freebsd9.1-gcc = %{gcc_rpmvers}
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: i586-pc-freebsd9.1-gcc-c++ = %{gcc_rpmvers}
+%endif
%endif
# Not strictly required, but patches may introduce a need to use them.
@@ -250,44 +256,43 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.8.0"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130326.diff
+%endif
+%if "%{gcc_version}" == "4.7.3"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3-rtems4.11-20130529.diff
+%endif
%if "%{gcc_version}" == "4.7.2"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.2/gcc-4.7.2.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20121026.diff
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20130318.diff
%endif
%if "%{gcc_version}" == "4.7.1"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.1/gcc-4.7.1.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-rtems4.11-20120712.diff
%endif
%if "%{gcc_version}" == "4.7.0"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.0/gcc-4.7.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120419.diff
%endif
%if "%{gcc_version}" == "4.6.3"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.3/gcc-4.6.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.6.3.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
%endif
%if "%{gcc_version}" == "4.5.4"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-4.5.4.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.4/gcc-4.5.4.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.5.4.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.4-rtems4.11-20120703.diff
-%endif
-
-%if "%{gcc_version}" < "4.7.0"
-%if "%{gcc_version}" == "4.6.3"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.5.4"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-4.5.4.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.4-rtems4.11-20120703.diff
%endif
-Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
-
-Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
-
-%endif
%if 0%{?_build_mpfr}
Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
diff --git a/freebsd9.1/x86_64/Makefile.in b/freebsd9.1/x86_64/Makefile.in
index 95111e2..749db0b 100644
--- a/freebsd9.1/x86_64/Makefile.in
+++ b/freebsd9.1/x86_64/Makefile.in
@@ -241,9 +241,9 @@ BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/common/clean.add \
$(top_srcdir)/binutils/target-binutils.add \
$(top_srcdir)/binutils/base-binutils.add
-GCC_VERS = 4.7.2
+GCC_VERS = 4.7.3
GCC_PKGVERS = $(GCC_VERS)
-GCC_RPMREL = 0.20130308.0
+GCC_RPMREL = 0.20130530.0
GCC_OPTS = --languages=cxx,fortran,objc
GCC_SUBPACKAGES = $(top_srcdir)/common/common.add \
$(top_srcdir)/gcc/gccnewlib.add $(top_srcdir)/gcc/prep.add \
diff --git a/freebsd9.1/x86_64/amd64-pc-freebsd9.1-gcc.spec b/freebsd9.1/x86_64/amd64-pc-freebsd9.1-gcc.spec
index c49ca9f..d5c65c8 100644
--- a/freebsd9.1/x86_64/amd64-pc-freebsd9.1-gcc.spec
+++ b/freebsd9.1/x86_64/amd64-pc-freebsd9.1-gcc.spec
@@ -32,9 +32,9 @@
%{?!el5:%global _with_noarch_subpackages 1}
-%define gcc_pkgvers 4.7.2
-%define gcc_version 4.7.2
-%define gcc_rpmvers %{expand:%(echo "4.7.2" | tr - _ )}
+%define gcc_pkgvers 4.7.3
+%define gcc_version 4.7.3
+%define gcc_rpmvers %{expand:%(echo "4.7.3" | tr - _ )}
Name: amd64-pc-freebsd9.1-gcc
@@ -42,14 +42,17 @@ Summary: amd64-pc-freebsd9.1 gcc
Group: Development/Tools
Version: %{gcc_rpmvers}
-Release: 0.20130308.0%{?dist}
+Release: 0.20130530.0%{?dist}
License: GPL
URL: http://gcc.gnu.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%{?el5:BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)}
%define _use_internal_dependency_generator 0
BuildRequires: %{_host_rpmprefix}gcc
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: %{_host_rpmprefix}gcc-c++
+%endif
# FIXME: Disable lto for now, to avoid dependencies on libelf
%bcond_with lto
@@ -226,6 +229,9 @@ BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required}
%if "%{_build}" != "%{_host}"
BuildRequires: amd64-pc-freebsd9.1-gcc = %{gcc_rpmvers}
+%if "%{gcc_version}" >= "4.8.0"
+BuildRequires: amd64-pc-freebsd9.1-gcc-c++ = %{gcc_rpmvers}
+%endif
%endif
# Not strictly required, but patches may introduce a need to use them.
@@ -250,44 +256,43 @@ BuildRequires: %{_host_rpmprefix}zlib-devel
%global _gcclibdir %{_prefix}/lib
+%if "%{gcc_version}" == "4.8.0"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.8.0-rtems4.11-20130326.diff
+%endif
+%if "%{gcc_version}" == "4.7.3"
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3.tar.%{?el5:bz2}%{!?el5:xz}
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.3-rtems4.11-20130529.diff
+%endif
%if "%{gcc_version}" == "4.7.2"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.2/gcc-4.7.2.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2.tar.%{?el5:bz2}%{!?el5:xz}
-Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20121026.diff
+Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.2-rtems4.11-20130318.diff
%endif
%if "%{gcc_version}" == "4.7.1"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.1/gcc-4.7.1.tar.bz2
Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.1-rtems4.11-20120712.diff
%endif
%if "%{gcc_version}" == "4.7.0"
-# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-%{gcc_pkgvers}.tar.bz2
-Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-%{gcc_pkgvers}.tar.%{?el5:bz2}%{!?el5:xz}
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.0/gcc-4.7.0.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.7.0-rtems4.11-20120419.diff
%endif
%if "%{gcc_version}" == "4.6.3"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.3/gcc-4.6.3.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.6.3.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.6.3-rtems4.11-20120303.diff
%endif
%if "%{gcc_version}" == "4.5.4"
-Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-core-4.5.4.tar.bz2
+# Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.4/gcc-4.5.4.tar.bz2
+Source0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-4.5.4.tar.%{?el5:bz2}%{!?el5:xz}
Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.4-rtems4.11-20120703.diff
-%endif
-
-%if "%{gcc_version}" < "4.7.0"
-%if "%{gcc_version}" == "4.6.3"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.tar.bz2
-%endif
-%if "%{gcc_version}" == "4.5.4"
-Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-4.5.4.tar.bz2
Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.4-rtems4.11-20120703.diff
%endif
-Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
-
-Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-objc-%{gcc_pkgvers}.tar.bz2
-
-%endif
%if 0%{?_build_mpfr}
Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
More information about the vc
mailing list