Update mingw-w64 runtime to latest

This commit is contained in:
Alexey Pavlov
2016-10-09 19:03:54 +03:00
parent 0376489c78
commit f049fa052d
4 changed files with 35 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ _realname=crt
pkgbase=mingw-w64-${_realname}-git
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
replaces=("${MINGW_PACKAGE_PREFIX}-${_realname}-svn")
pkgver=5.0.0.4735.9877f24
pkgver=5.0.0.4742.28dfd0a
pkgrel=1
pkgdesc='MinGW-w64 CRT for Windows'
arch=('any')

View File

@@ -0,0 +1,27 @@
From 556ba2e45435717a4502e6c77b7af1e5daee8936 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B8=CC=86=20=D0=9F?=
=?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= <alexey.pawlow@gmail.com>
Date: Sun, 9 Oct 2016 17:33:44 +0300
Subject: [PATCH] Allow to use bessel and complex functions without undefining
__STRICT_ANSI__
---
mingw-w64-headers/crt/math.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-headers/crt/math.h b/mingw-w64-headers/crt/math.h
index b06ca79..d3617d0 100644
--- a/mingw-w64-headers/crt/math.h
+++ b/mingw-w64-headers/crt/math.h
@@ -263,7 +263,7 @@ extern "C" {
#define EDOM 33
#define ERANGE 34
-#ifndef __STRICT_ANSI__
+#if !defined(__STRICT_ANSI__) || defined(_POSIX_C_SOURCE) || defined(_POSIX_SOURCE) || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#ifndef _COMPLEX_DEFINED
#define _COMPLEX_DEFINED
--
2.9.0

View File

@@ -5,7 +5,7 @@ pkgbase=mingw-w64-${_realname}-git
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
replaces=("${MINGW_PACKAGE_PREFIX}-${_realname}-svn")
pkgdesc="MinGW-w64 headers for Windows"
pkgver=5.0.0.4735.9877f24
pkgver=5.0.0.4743.8eeb5fa
pkgrel=1
arch=('any')
url="http://mingw-w64.sourceforge.net"
@@ -17,10 +17,12 @@ conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
options=('!strip' '!libtool' '!emptydirs')
source=("mingw-w64"::"git://git.code.sf.net/p/mingw-w64/mingw-w64"
"0003-dxgi-Add-missing-dxgi-1.2-structs-and-interfaces.patch"
"0004-d3d11-Add-missing-d3d11-1.1-structs-and-interfaces.patch")
"0004-d3d11-Add-missing-d3d11-1.1-structs-and-interfaces.patch"
"0005-bessel_complex.patch")
sha256sums=('SKIP'
'677642bbb0df3f1e0467f075f24c720657e9ed912a6e69cbf189352271fc09c1'
'c6c996b273ee049a2c0b9570f007d2d76a95ff56abb3b147f156e6a221a561ef')
'c6c996b273ee049a2c0b9570f007d2d76a95ff56abb3b147f156e6a221a561ef'
'1196f65f87f9f45adb18acab5076436ab7268ac3125f829d42899624f741cd6d')
pkgver() {
cd "${srcdir}/mingw-w64"
@@ -35,6 +37,7 @@ prepare() {
git am --committer-date-is-author-date "${srcdir}/"0003-dxgi-Add-missing-dxgi-1.2-structs-and-interfaces.patch
git am --committer-date-is-author-date "${srcdir}/"0004-d3d11-Add-missing-d3d11-1.1-structs-and-interfaces.patch
git am --committer-date-is-author-date "${srcdir}/"0005-bessel_complex.patch
cd ${srcdir}/mingw-w64/mingw-w64-headers
touch include/windows.*.h include/wincrypt.h include/prsht.h

View File

@@ -5,7 +5,7 @@
_realname=winpthreads
pkgbase=mingw-w64-${_realname}-git
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}-git" "${MINGW_PACKAGE_PREFIX}-libwinpthread-git")
pkgver=5.0.0.4733.ae160b2
pkgver=5.0.0.4741.2c8939a
pkgrel=1
pkgdesc="MinGW-w64 winpthreads library"
url="http://mingw-w64.sourceforge.net"