From 2f3fc0bc0e5d362b9ac435b5cb6ba207c4acebd01f626c0e12457970a1f3f768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 29 Mar 2016 07:43:53 +0000 Subject: [PATCH] Accepting request 380820 from home:kelman:branches:windows:mingw:win32 OBS-URL: https://build.opensuse.org/request/show/380820 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-runtime?expand=0&rev=37 --- mingw-w64-crt-5.0~rc1.tar.xz | 3 --- mingw-w64-crt-5.0~rc2.tar.xz | 3 +++ mingw32-runtime.spec | 4 +--- mkstemp.diff | 23 ----------------------- 4 files changed, 4 insertions(+), 29 deletions(-) delete mode 100644 mingw-w64-crt-5.0~rc1.tar.xz create mode 100644 mingw-w64-crt-5.0~rc2.tar.xz delete mode 100644 mkstemp.diff diff --git a/mingw-w64-crt-5.0~rc1.tar.xz b/mingw-w64-crt-5.0~rc1.tar.xz deleted file mode 100644 index c0ad16b..0000000 --- a/mingw-w64-crt-5.0~rc1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ca739fbb492c3e935a221ba20877ab1ba4bdf7a5d33390aeaa2e854940e45ed6 -size 3472552 diff --git a/mingw-w64-crt-5.0~rc2.tar.xz b/mingw-w64-crt-5.0~rc2.tar.xz new file mode 100644 index 0000000..0ffa6d1 --- /dev/null +++ b/mingw-w64-crt-5.0~rc2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d584cad3b65ba3c28ad8f884a04c74239600b9b9dc255dbcd8f252c2c77a841 +size 3483152 diff --git a/mingw32-runtime.spec b/mingw32-runtime.spec index 3242f1f..c5f3ed3 100644 --- a/mingw32-runtime.spec +++ b/mingw32-runtime.spec @@ -17,7 +17,7 @@ Name: mingw32-runtime -Version: 5.0~rc1 +Version: 5.0~rc2 Release: 0 Summary: MinGW-w64 runtime libraries for Win32 License: SUSE-Public-Domain @@ -27,7 +27,6 @@ Url: http://mingw-w64.sf.net/ #DL-URL: http://downloads.sf.net/mingw-w64/mingw-w64-v5.0-rc1.tar.bz2 Source: mingw-w64-crt-%version.tar.xz Source100: %{name}-rpmlintrc -Patch1: mkstemp.diff #!BuildIgnore: post-build-checks BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc-bootstrap >= 4.4.0 @@ -51,7 +50,6 @@ MinGW Win64 cross-compiler runtime, base libraries. %prep %setup -q -n mingw-w64-crt -%patch -P 1 -p1 %build %{_mingw32_configure} --enable-lib32 --disable-lib64 diff --git a/mkstemp.diff b/mkstemp.diff deleted file mode 100644 index d0ab560..0000000 --- a/mkstemp.diff +++ /dev/null @@ -1,23 +0,0 @@ -From: Jan Engelhardt -Date: 2015-03-31 18:57:45.887248277 +0200 -References: https://sourceforge.net/p/mingw-w64/bugs/471/ - -When closing the file handle obtained from mkstemp(), the file -ought _not_ to be deleted. ---- - misc/mkstemp.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: mingw-w64-crt/misc/mkstemp.c -=================================================================== ---- mingw-w64-crt.orig/misc/mkstemp.c -+++ mingw-w64-crt/misc/mkstemp.c -@@ -48,7 +48,7 @@ int __cdecl mkstemp (char *template_name - template_name[j] = letters[rand () % 62]; - } - fd = _sopen(template_name, -- _O_RDWR | _O_CREAT | _O_EXCL | _O_TEMPORARY | _O_BINARY, -+ _O_RDWR | _O_CREAT | _O_EXCL | _O_BINARY, - _SH_DENYRW, _S_IREAD | _S_IWRITE); - if (fd != -1) return fd; - if (fd == -1 && errno != EEXIST) return -1;