Browse Source

remove SSP patchset because there is no version since GCC 3.4.1 and the newest patch does no longer apply to GCC 3.4 since 3.4.2 anyway

master
parent
commit
48c8434c76
  1. 14
      gcc/gcc.spec

14
gcc/gcc.spec

@ -26,7 +26,6 @@
# package version
%define V_full 3.4.3
%define V_comp %nil
%define V_ssp 3.4-2
# package information
Name: gcc
@ -39,7 +38,7 @@ Class: CORE
Group: Compiler
License: GPL
Version: %{V_full}
Release: 20050125
Release: 20050323
# package options
%option with_cxx yes
@ -50,13 +49,11 @@ Release: 20050125
%option with_profile no
%option with_binutils yes
%option with_threads yes
%option with_ssp no
%option with_gcc no
# list of sources
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/gcc-%{version}.tar.bz2
Patch0: gcc.patch
Patch1: http://www.trl.ibm.com/projects/security/ssp/gcc3_4/protector-%{V_ssp}.tar.gz
# build information
Prefix: %{l_prefix}
@ -85,19 +82,10 @@ Provides: gcc = %{version}-%{release}
url = ftp://gcc.gnu.org/pub/gcc/releases/gcc-__NEWVER__/
regex = gcc-(__VER__)\.tar\.bz2
}
prog gcc:spp = {
version = %{V_ssp}
url = http://www.trl.ibm.com/projects/security/ssp/
regex = protector-(__VER__)\.tar\.gz
}
%prep
%setup -q
%patch -p0
%if "%{with_ssp}" == "yes"
%{l_gzip} -d -c %{PATCH protector-%{V_ssp}.tar.gz} | %{l_tar} xf -
%{l_patch} -p0 <protector.dif
%endif
%{l_shtool} subst -v -s \
-e 's;PREFIX_INCLUDE_DIR;PREFIX_INCLUDE_DIR_DISABLED;g' \
gcc/configure

Loading…
Cancel
Save