#
%define DASHED_SNAP %{nil}
%define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g")
-%define GCC_VERSION 3.3.3
+%define GCC_VERSION 3.3.4
%define KSI_VERSION 1.1.0.1567
Summary: GNU Compiler Collection: the C compiler and shared files
Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
Name: gcc
Version: %{GCC_VERSION}
-Release: 4
+Release: 1
Epoch: 5
License: GPL
Group: Development/Languages
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2
-# Source0-md5: 3c6cfd9fcd180481063b4058cf6faff2
+# Source0-md5: a1c267b34f05c8660b24251865614d8b
Source1: ftp://ftp.pld-linux.org/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
# Source1-md5: 66f07491b44f06928fd95b0e65bb8cd3
Source2: http://ep09.pld-linux.org/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
Patch3: %{name}-ada-link-new-libgnat.patch
Patch4: %{name}-nodebug.patch
Patch5: %{name}-cse-find_best_addr.patch
+Patch6: %{name}-alpha-regno-mode.patch
# -- stolen patches from RH --
Patch10: gcc32-ada-link.patch
Patch11: gcc32-boehm-gc-libs.patch
Patch24: gcc32-test-rotate.patch
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: binutils >= 2.14
+BuildRequires: binutils >= 2.15.90.0.3
BuildRequires: bison
BuildRequires: fileutils >= 4.0.41
%{?with_ada:%{!?with_bootstrap:BuildRequires: gcc(ada)}}
BuildRequires: perl-devel
BuildRequires: texinfo >= 4.1
BuildRequires: zlib-devel
-Requires: binutils >= 2.14
+Requires: binutils >= 2.15.90.0.3
Requires: cpp = %{epoch}:%{GCC_VERSION}
Requires: libgcc = %{epoch}:%{GCC_VERSION}
%{?with_ada:Provides: gcc(ada)}
%patch3 -p1
%{!?debug:%patch4 -p1}
%patch5 -p1
+%ifarch alpha
+%patch6 -p1
+%endif
%patch10 -p1
%patch11
infodir=%{_infodir}
%if %{with ada}
-for tgt in gnatlib gnattools gnetlib-shared; do
+for tgt in gnatlib gnattools gnatlib-shared; do
%{__make} -C obj-%{_target_platform}/gcc $tgt \
LDFLAGS_FOR_TARGET="%{rpmldflags}" \
mandir=%{_mandir} \