2
0

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
This commit is contained in:
Ismail Dönmez 2016-03-29 07:43:53 +00:00 committed by Git OBS Bridge
parent 5a5f3c1055
commit 2f3fc0bc0e
4 changed files with 4 additions and 29 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca739fbb492c3e935a221ba20877ab1ba4bdf7a5d33390aeaa2e854940e45ed6
size 3472552

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d584cad3b65ba3c28ad8f884a04c74239600b9b9dc255dbcd8f252c2c77a841
size 3483152

View File

@ -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

View File

@ -1,23 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
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;