#
%define DASHED_SNAP %{nil}
%define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g")
-%define GCC_VERSION 3.3.4
+%define GCC_VERSION 3.3.5
%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: 6
+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: a1c267b34f05c8660b24251865614d8b
+# Source0-md5: 70ee088b498741bb08c779f9617df3a5
+# Source0-size: 23833856
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
-Patch7: %{name}-amd64-thunk.patch
+Patch6: %{name}-amd64-thunk.patch
# -- stolen patches from RH --
Patch10: gcc32-ada-link.patch
Patch11: gcc32-boehm-gc-libs.patch
Patch22: gcc32-java-no-rpath.patch
Patch23: gcc32-test-rh65771.patch
Patch24: gcc32-test-rotate.patch
+Patch25: gcc-cmpi.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: binutils >= 2:2.15.90.0.3
%patch3 -p1
%{!?debug:%patch4 -p1}
%patch5 -p1
-%ifarch alpha
-%patch6 -p1
-%endif
%ifarch amd64
# not sure if it wouldn't break x86 (it shouldn't, but better safe than sorry)
-%patch7 -p1
+%patch6 -p1
%endif
%patch10 -p1
%patch22
%patch23
%patch24
+%patch25 -p1
# because we distribute modified version of gcc...
perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c