summaryrefslogtreecommitdiffstats
path: root/cygwin.spec
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-04-28 21:56:20 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-04-28 21:56:20 -0500
commite6248894f5d532ede509379aa0f2b2e6f58dc4f4 (patch)
treea2837efb6c18132f6f5a53e9e5c9f251418a83d3 /cygwin.spec
parent0b1d921910dc4dd347425d845ce7cbf023372f2c (diff)
downloadcygwin-e6248894f5d532ede509379aa0f2b2e6f58dc4f4.tar.gz
cygwin-e6248894f5d532ede509379aa0f2b2e6f58dc4f4.tar.xz
cygwin-e6248894f5d532ede509379aa0f2b2e6f58dc4f4.zip
Header fixes for <fenv.h> and <sys/sysmacros.h>
Diffstat (limited to 'cygwin.spec')
-rw-r--r--cygwin.spec20
1 files changed, 16 insertions, 4 deletions
diff --git a/cygwin.spec b/cygwin.spec
index e3ee844..7fb6a45 100644
--- a/cygwin.spec
+++ b/cygwin.spec
@@ -6,16 +6,19 @@
Name: cygwin
Version: 1.7.9
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Cygwin cross-compiler runtime
License: GPLv2 with exceptions
Group: Development/Libraries
URL: http://www.cygwin.com/
-Source0: ftp://sourceware.org/pub/cygwin/release/cygwin/cygwin-%{version}-1-src.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+Source0: ftp://sourceware.org/pub/cygwin/release/cygwin/cygwin-%{version}-1-src.tar.bz2
+Patch0: cygwin-1.7.9-fenv.h.patch
+Patch1: cygwin-1.7.9-sysmacros.h.patch
+
BuildRequires: cygwin-filesystem >= 2
BuildRequires: cygwin-binutils
BuildRequires: cygwin-gcc
@@ -32,8 +35,10 @@ Cygwin cross-compiler runtime, base libraries.
%prep
%setup -q -n cygwin-%{version}-1
+%patch0 -p1
+%patch1 -p1
-# code still has some warnings with gcc4.5
+# code still has some warnings with gcc4.5 (remove for 1.7.10)
sed -i -e 's| -Werror | |' winsup/cygwin/Makefile.in
@@ -57,7 +62,7 @@ rm -rf $RPM_BUILD_ROOT
pushd build
make DESTDIR=$RPM_BUILD_ROOT install
-#
+# remove files not needed for cross-compiling
rm -fr $RPM_BUILD_ROOT%{_prefix}/etc
rm -fr $RPM_BUILD_ROOT%{_bindir}/cygserver-config
rm -fr $RPM_BUILD_ROOT%{_sbindir}
@@ -91,11 +96,18 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Apr 28 2011 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> - 1.7.9-2
+- Header fixes for <fenv.h> and <sys/sysmacros.h>.
+
* Tue Mar 29 2011 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> - 1.7.9-1
- Version bump.
+- New API: strchrnul.
+- New header: <sys/xattr.h>
* Tue Mar 01 2011 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> - 1.7.8-1
- Version bump.
+- New APIs: <fenv.h>, C99 complex math functions, POSIX-compliant strerror_r,
+ madvise, pthread_yield, program_invocation_name, program_invocation_short_name.
* Wed Feb 16 2011 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> - 1.7.7-1
- Initial RPM release, largely based on earlier work from several sources.