diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-03-30 17:10:57 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-03-30 17:10:57 -0500 |
commit | 94469c1b9b5939888478f49b3c3dfc2f66014fe2 (patch) | |
tree | 0f48e754a6864eec723d2f7e64e9967f6f1c0a86 /cygwin.spec | |
parent | 6f8787a3f9deab06ee876881911a167d11f13ffb (diff) | |
download | cygwin-94469c1b9b5939888478f49b3c3dfc2f66014fe2.tar.gz cygwin-94469c1b9b5939888478f49b3c3dfc2f66014fe2.tar.xz cygwin-94469c1b9b5939888478f49b3c3dfc2f66014fe2.zip |
Fix build with GCC 5
Diffstat (limited to 'cygwin.spec')
-rw-r--r-- | cygwin.spec | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/cygwin.spec b/cygwin.spec index 31e8229..8efb79b 100644 --- a/cygwin.spec +++ b/cygwin.spec @@ -2,7 +2,7 @@ Name: cygwin Version: 2.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cygwin cross-compiler runtime License: GPLv2 with exceptions @@ -12,6 +12,11 @@ BuildArch: noarch # downloaded and extracted by get-sources.sh Source0: newlib-cygwin-%{version}.tar.bz2 +# GCC 5 patches +Patch1: 0001-Fix-compile-with-GCC-5-Werror.patch +Patch2: 0002-Remove-broken-ieeefp.h-macros.patch +Patch3: 0003-cygwin-fix-errors-with-GCC-5.patch +Patch4: 0004-cygwin-work-around-GCC-5-preprocessor-changes.patch BuildRequires: cygwin32-filesystem >= 7 BuildRequires: cygwin32-binutils @@ -65,6 +70,10 @@ Cygwin 64-bit cross-compiler runtime, base libraries. %prep %setup -q -n newlib-cygwin +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 touch winsup/cygwin/tlsoffsets*.h touch winsup/cygwin/devices.cc @@ -141,6 +150,9 @@ rm -fr $RPM_BUILD_ROOT%{cygwin64_includedir}/rpc/ %changelog +* Wed Mar 30 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 2.4.1-2 +- Fix build with GCC 5 + * Sun Feb 21 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 2.4.1-1 - new version |