This commit is contained in:
Jakub Jelinek 2007-03-13 07:15:05 +00:00
parent ae0209e182
commit 17ad1f415d

View File

@ -144,6 +144,7 @@ Patch32: gcc41-rh227376.patch
Patch33: gcc41-rh231134.patch Patch33: gcc41-rh231134.patch
Patch34: gcc41-libjava-xpcom.patch Patch34: gcc41-libjava-xpcom.patch
Patch35: gcc41-rh231261.patch Patch35: gcc41-rh231261.patch
Patch36: gcc41-libjava-mandir.patch
%define _gnu %{nil} %define _gnu %{nil}
%ifarch sparc %ifarch sparc
%define gcc_target_platform sparc64-%{_vendor}-%{_target_os} %define gcc_target_platform sparc64-%{_vendor}-%{_target_os}
@ -455,6 +456,7 @@ which are required to run programs compiled with the GNAT.
%patch33 -p0 -b .rh231134~ %patch33 -p0 -b .rh231134~
%patch34 -p0 -b .libjava-xpcom~ %patch34 -p0 -b .libjava-xpcom~
%patch35 -p0 -b .rh231261~ %patch35 -p0 -b .rh231261~
%patch36 -p0 -b .libjava-mandir~
sed -i -e 's/4\.1\.3/4.1.2/' gcc/BASE-VER gcc/version.c sed -i -e 's/4\.1\.3/4.1.2/' gcc/BASE-VER gcc/version.c
sed -i -e 's/" (Red Hat[^)]*)"/" (Red Hat %{version}-%{gcc_release})"/' gcc/version.c sed -i -e 's/" (Red Hat[^)]*)"/" (Red Hat %{version}-%{gcc_release})"/' gcc/version.c