Explorar o código

switch snapshot to PLUS and include freebsd patch

Ralf S. Engelschall %!s(int64=23) %!d(string=hai) anos
pai
achega
924a521ece
Modificáronse 2 ficheiros con 14 adicións e 2 borrados
  1. 10 0
      gcc33/gcc33.patch
  2. 4 2
      gcc33/gcc33.spec

+ 10 - 0
gcc33/gcc33.patch

@@ -0,0 +1,10 @@
+--- gcc/config/t-freebsd.orig	Tue Oct  1 20:37:02 2002
++++ gcc/config/t-freebsd	Tue Oct  1 20:36:10 2002
+@@ -2,4 +2,7 @@
+ STMP_FIXPROTO =
+ 
++# We don't need GCC's own include files.
++USER_H =
++
+ # Compile crtbeginS.o and crtendS.o with pic.
+ CRTSTUFF_T_CFLAGS_S = -fPIC

+ 4 - 2
gcc33/gcc33.spec

@@ -35,11 +35,11 @@ Summary:      GNU Compiler Collection (3.3)
 URL:          http://gcc.gnu.org/
 Vendor:       Free Software Foundation
 Packager:     The OpenPKG Project
-Distribution: OpenPKG [CORE]
+Distribution: OpenPKG [PLUS]
 Group:        Language
 License:      GPL
 Version:      %{V_major}s%{V_snap_comp}
-Release:      20030107
+Release:      20030109
 
 #   package options
 %option       with_cxx       yes
@@ -49,6 +49,7 @@ Release:      20030107
 
 #   list of sources
 Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/%{V_snap_dash}/gcc-%{V_snap_comp}.tar.bz2
+Patch0:       gcc33.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -68,6 +69,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q -n gcc-%{V_snap_comp}
+    %patch -p0
     %{l_shtool} subst -v -s \
         -e "s;PREFIX_INCLUDE_DIR;PREFIX_INCLUDE_DIR_DISABLED;g" \
         gcc/configure