Accepting request 380808 from home:kelman:branches:windows:mingw:win64
OBS-URL: https://build.opensuse.org/request/show/380808 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-runtime?expand=0&rev=40
This commit is contained in:
parent
2f3f136099
commit
c797b34fcc
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca739fbb492c3e935a221ba20877ab1ba4bdf7a5d33390aeaa2e854940e45ed6
|
||||
size 3472552
|
3
mingw-w64-crt-5.0~rc2.tar.xz
Normal file
3
mingw-w64-crt-5.0~rc2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d584cad3b65ba3c28ad8f884a04c74239600b9b9dc255dbcd8f252c2c77a841
|
||||
size 3483152
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: mingw64-runtime
|
||||
Version: 5.0~rc1
|
||||
Version: 5.0~rc2
|
||||
Release: 0
|
||||
Summary: MinGW-w64 runtime libraries for Win64
|
||||
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: mingw64-cross-binutils
|
||||
BuildRequires: mingw64-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
|
||||
%{_mingw64_configure} --disable-lib32 --enable-lib64
|
||||
|
23
mkstemp.diff
23
mkstemp.diff
@ -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;
|
Loading…
Reference in New Issue
Block a user