Changeset 09a43a73 in rtems


Ignore:
Timestamp:
Apr 25, 2010, 5:30:01 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
6d235a47
Parents:
153b938
Message:

Refactor patching.

Location:
contrib/crossrpms/cygwin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/cygwin/gcc-prep.add

    r153b938 r09a43a73  
    11# cygwin patches can't be directly applied through rpm
    22cd gcc-%{gcc_pkgvers}
    3 patch -p1 -t < %{SOURCE70} || true
     3%if "%{gcc_version}" < "4.0"
     4patch -p1 -t < %{PATCH70} || true
     5%else
     6patch -p2 -t < %{PATCH70} || true
     7%endif
     8%{?PATCH71:patch -p1 < %{PATCH71}}
    49cd ..
  • contrib/crossrpms/cygwin/i686/gcc-sources.add

    r153b938 r09a43a73  
    3333%endif
    3434
    35 # Cygwin patch from
    36 # ftp://cygwin.com/pub/cygwin/release/gcc/gcc-core/gcc-core-3.4.4-3-src.tar.bz2
    37 Source70: gcc-3.4.4-3.patch
     35%if "%{gcc_version}" == "3.4.4"
     36# Cygwin patch extracted from
     37# ftp://sourceware.org/pub/cygwin/release/gcc/gcc-3.4.4-3-src.tar.bz2
     38Patch70: gcc-3.4.4-3.patch
    3839
     40Patch71: cygwin-gcc-3.4.4-3.diff
     41%endif
     42%if "%{gcc_version}" == "4.3.4"
     43# Cygwin patch extracted from
     44# ftp://sourceware.org/pub/cygwin/release/gcc4/gcc4-4.3.4-3-src.tar.bz2
     45Patch70: gcc4-4.3.4-3.src.patch
     46
     47Patch71: cygwin-gcc4-4.3.4-3.diff
     48%endif
Note: See TracChangeset for help on using the changeset viewer.