[packages/crossmingw32-w32api] - updated w32api-update patch to unbreak winbase.h with WIN8; release 5

qboosh qboosh at pld-linux.org
Sat Apr 27 18:27:11 CEST 2019


commit b145a83ecb5795532d18006825cae60a1095842e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 27 18:27:30 2019 +0200

    - updated w32api-update patch to unbreak winbase.h with WIN8; release 5

 crossmingw32-w32api-winapi-update.patch | 28 ++++++++++++++++++++++++++++
 crossmingw32-w32api.spec                |  2 +-
 2 files changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/crossmingw32-w32api.spec b/crossmingw32-w32api.spec
index eb60ffd..bf54a06 100644
--- a/crossmingw32-w32api.spec
+++ b/crossmingw32-w32api.spec
@@ -6,7 +6,7 @@ Version:	5.0.2
 %define	apisrc	w32api-%{apiver}-mingw32
 %define runver	5.0.2
 %define	runsrc	mingwrt-%{runver}-mingw32
-Release:	4
+Release:	5
 Epoch:		1
 License:	Free (Public Domain, SGI Free Software License B, BSD)
 Group:		Development/Libraries
diff --git a/crossmingw32-w32api-winapi-update.patch b/crossmingw32-w32api-winapi-update.patch
index 4ff80ab..4f25d6d 100644
--- a/crossmingw32-w32api-winapi-update.patch
+++ b/crossmingw32-w32api-winapi-update.patch
@@ -725,6 +725,34 @@
  #endif	/* Win7 and later */
  #endif	/* Windows Vista and later */
  #endif	/* Windows Server-2003 and later */
+--- w32api-5.0.2/include/winnt.h.orig	2017-11-28 19:03:04.000000000 +0100
++++ w32api-5.0.2/include/winnt.h	2019-04-27 18:17:44.580734108 +0200
+@@ -2716,6 +2716,11 @@
+   ULONGLONG		OtherTransferCount;
+ } IO_COUNTERS, *PIO_COUNTERS;
+ 
++typedef struct FILE_ID_128
++{ ULONGLONG LowPart;
++  ULONGLONG HighPart;
++} FILE_ID_128, *PFILE_ID_128;
++
+ typedef struct _FILE_NOTIFY_INFORMATION
+ { DWORD 		NextEntryOffset;
+   DWORD 		Action;
+@@ -3765,6 +3770,13 @@
+ { DWORD 		MemberLevel;
+ } JOBOBJECT_JOBSET_INFORMATION, *PJOBOBJECT_JOBSET_INFORMATION;
+ 
++typedef enum _FIRMWARE_TYPE
++{ FirmwareTypeUnknown,
++  FirmwareTypeBios,
++  FirmwareTypeUefi,
++  FirmwareTypeMax
++} FIRMWARE_TYPE,*PFIRMWARE_TYPE;
++
+ /* Fixme: Making these defines conditional on WINVER will break ddk includes */
+ #if 1 /* (WINVER >= 0x0500) */
+ #include <pshpack4.h>
 --- w32api-5.0.2/include/ws2tcpip.h.orig	2017-11-09 02:35:48.000000000 +0100
 +++ w32api-5.0.2/include/ws2tcpip.h	2018-09-17 05:43:14.524718024 +0200
 @@ -356,6 +356,41 @@
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-w32api.git/commitdiff/b145a83ecb5795532d18006825cae60a1095842e



More information about the pld-cvs-commit mailing list