here a small patch to add propolice option to gcc-3.3 in current
>>> --- gcc.spec.orig 2003-06-25 08:52:13.000000000 +0200 +++ gcc.spec 2003-07-01 14:45:44.238852466 +0200 @@ -47,11 +47,15 @@ %option with_threads yes %option with_bounds no %option with_gcc no +%option with_spp yes +%option with_spp_def yes
# list of sources
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/gcc-%{version}.tar.bz2
Patch0: gcc.patch
Patch1: http://web.inter.nl.net/hcc/Haj.Ten.Brugge/bounds-checking-gcc-%{version}-%{V_bounds}.patch.bz2
+Patch2: spp.patch
+Patch3: protectonly.dif
# build information
Prefix: %{l_prefix}
@@ -73,11 +77,18 @@
highly portable ISO C and ISO C++ compiler. %prep
+ mkdir -p $RPM_BUILD_ROOT
%setup -q -n gcc-%{version}
%patch0 -p0
%if "%{with_bounds}" == "yes"
%patch1 -p1
%endif
+%if "%{with_spp}" == "yes"
+ %patch2 -p1
+%endif
+%if "%{with_spp_def}" == "yes"
+ %patch3 -p0
+%endif
%{l_shtool} subst -v -s \
-e "s;PREFIX_INCLUDE_DIR;PREFIX_INCLUDE_DIR_DISABLED;g" \
gcc/configure
<<<some cleaning maybe needed.
note than spp.patch is (protector.c/h & protector.dif). files from: http://www.trl.ibm.com/projects/security/ssp/gcc3_3/protector-3.3-1.tar.gz
Regards
Julien
note: seems can't install gcc32 AND gcc33 (current) at the same time
([EMAIL PROTECTED]) www>rpm --nodeps -e gcc; rpm -ivh PKG/gcc3*.sparc*.rpm
Preparing... ########################################### [100%]
file /users/www/local/lib/sparcv9/libiberty.a conflicts between attempted installs of gcc33-3.3.1s20030630-20030701 and gcc32-3.2.3-20030630
file /users/www/local/lib/sparcv9/libstdc++.a conflicts between attempted installs of gcc33-3.3.1s20030630-20030701 and gcc32-3.2.3-20030630
file /users/www/local/lib/sparcv9/libstdc++.la conflicts between attempted installs of gcc33-3.3.1s20030630-20030701 and gcc32-3.2.3-20030630
file /users/www/local/lib/sparcv9/libsupc++.a conflicts between attempted installs of gcc33-3.3.1s20030630-20030701 and gcc32-3.2.3-20030630
file /users/www/local/lib/sparcv9/libsupc++.la conflicts between attempted installs of gcc33-3.3.1s20030630-20030701 and gcc32-3.2.3-20030630
______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
