+++ /dev/null
---- mingwrt-3.15.1-mingw32/mingwex/usleep.c 2008-05-04 13:15:41.000000000 +0100
-+++ mingwrt-3.15.1-mingw32.usleep/mingwex/usleep.c 2008-10-16 17:58:36.000000000 +0100
-@@ -26,6 +26,11 @@
- #define WIN32_LEAN_AND_MEAN
- #include <windows.h>
-
-+/* RWMJ: This is defined in our local sys/types.h but for some reason
-+ * isn't picked up.
-+ */
-+typedef unsigned int useconds_t;
-+
- int __cdecl usleep(useconds_t useconds)
- {
- if(useconds == 0)
Name: mingw32-runtime
Version: 3.15.1
-Release: 2%{?dist}
+Release: 4%{?dist}
Summary: MinGW Windows cross-compiler runtime and root filesystem
License: Public Domain
Source0: http://dl.sourceforge.net/sourceforge/mingw/mingwrt-%{version}-mingw32-src.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch0: mingw32-runtime-3.15.1-useconds_t.patch
+#Patch0: mingw32-runtime-3.15.1-useconds_t.patch
BuildArch: noarch
%build
-CFLAGS="-I%{_mingw32_includedir}" \
-./configure \
- --build=%_build \
- --host=%{_mingw32_host}
-
+%{_mingw32_configure}
make
%changelog
+* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-4
+- Rebuild against mingw32-filesystem 37
+
+* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-3
+- Remove the useconds patch, which is no longer needed (Levente Farkas).
+- Use _mingw32_configure macro.
+
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-2
- Rebuild against mingw32-filesystem 36