summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2015-03-03 18:22:53 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2015-03-03 18:22:53 -0600
commite0ed3bd386affb16c7468c32519d233a1947a22f (patch)
tree8f8e6eec1818e79af316f60ff094d740ce5831d2
parented278f655d5904f87b362f43b57b8059c968ee20 (diff)
downloadcygwin-w32api-headers-e0ed3bd386affb16c7468c32519d233a1947a22f.tar.gz
cygwin-w32api-headers-e0ed3bd386affb16c7468c32519d233a1947a22f.tar.xz
cygwin-w32api-headers-e0ed3bd386affb16c7468c32519d233a1947a22f.zip
cygwin-w32api-headers 3.3.0
-rw-r--r--cygwin-backports.patch32
-rw-r--r--cygwin-w32api-headers.spec11
2 files changed, 40 insertions, 3 deletions
diff --git a/cygwin-backports.patch b/cygwin-backports.patch
new file mode 100644
index 0000000..fb0ec08
--- /dev/null
+++ b/cygwin-backports.patch
@@ -0,0 +1,32 @@
+diff -ur origsrc/mingw-w64/mingw-w64-headers/include/lmaccess.h src/mingw-w64/mingw-w64-headers/include/lmaccess.h
+--- origsrc/mingw-w64/mingw-w64-headers/include/lmaccess.h 2014-10-27 09:11:20.000000000 +0800
++++ src/mingw-w64/mingw-w64-headers/include/lmaccess.h 2014-12-03 17:29:15.072873500 +0800
+@@ -207,6 +207,14 @@
+ PSID usri23_user_sid;
+ } USER_INFO_23,*PUSER_INFO_23,*LPUSER_INFO_23;
+
++ typedef struct _USER_INFO_24 {
++ BOOL usri24_internet_identity;
++ DWORD usri24_flags;
++ LPWSTR usri24_internet_provider_name;
++ LPWSTR usri24_internet_principal_name;
++ PSID usri24_user_sid;
++ } USER_INFO_24,*PUSER_INFO_24,*LPUSER_INFO_24;
++
+ typedef struct _USER_INFO_1003 {
+ LPWSTR usri1003_password;
+ } USER_INFO_1003,*PUSER_INFO_1003,*LPUSER_INFO_1003;
+diff -ur origsrc/mingw-w64/mingw-w64-headers/include/userenv.h src/mingw-w64/mingw-w64-headers/include/userenv.h
+--- origsrc/mingw-w64/mingw-w64-headers/include/userenv.h 2014-10-27 09:11:29.000000000 +0800
++++ src/mingw-w64/mingw-w64-headers/include/userenv.h 2014-12-03 17:27:19.664218500 +0800
+@@ -123,6 +123,10 @@
+ USERENVAPI DWORD WINAPI GetAppliedGPOListA(DWORD dwFlags,LPCSTR pMachineName,PSID pSidUser,GUID *pGuidExtension,PGROUP_POLICY_OBJECTA *ppGPOList);
+ USERENVAPI DWORD WINAPI GetAppliedGPOListW(DWORD dwFlags,LPCWSTR pMachineName,PSID pSidUser,GUID *pGuidExtension,PGROUP_POLICY_OBJECTW *ppGPOList);
+
++#if WINVER >= 0x0600
++ USERENVAPI HRESULT WINAPI CreateProfile (LPCWSTR pszUserSid, LPCWSTR pszUserName, LPWSTR pszProfilePath, DWORD cchProfilePath);
++#endif
++
+ #define GP_DLLNAME TEXT("DllName")
+ #define GP_ENABLEASYNCHRONOUSPROCESSING TEXT("EnableAsynchronousProcessing")
+ #define GP_MAXNOGPOLISTCHANGESINTERVAL TEXT("MaxNoGPOListChangesInterval")
diff --git a/cygwin-w32api-headers.spec b/cygwin-w32api-headers.spec
index bb0f66e..205a928 100644
--- a/cygwin-w32api-headers.spec
+++ b/cygwin-w32api-headers.spec
@@ -2,7 +2,7 @@
#%%global branch trunk
Name: cygwin-w32api-headers
-Version: 3.2.0
+Version: 3.3.0
Release: 1%{?dist}
Summary: Win32 header files for Cygwin toolchain
@@ -19,8 +19,9 @@ BuildArch: noarch
# wget http://sourceforge.net/code-snapshots/svn/m/mi/mingw-w64/code/mingw-w64-code-%{snapshot_rev}-%{branch}.zip
Source0: mingw-w64-code-%{snapshot_rev}-%{branch}.zip
%else
-Source0: http://downloads.sourceforge.net/mingw-w64/mingw-w64-v%{version}.tar.bz2
+Source0: http://downloads.sourceforge.net/mingw-w64/mingw-w64-%{version}.tar.bz2
%endif
+Patch0: cygwin-backports.patch
BuildRequires: cygwin32-filesystem
BuildRequires: cygwin64-filesystem
@@ -49,8 +50,9 @@ Cygwin x86_64 cross-compiler Win32 header files.
%if 0%{?snapshot_rev}
%setup -q -n mingw-w64-code-%{snapshot_rev}-%{branch}
%else
-%setup -q -n mingw-w64-v%{version}
+%setup -q -n mingw-w64
%endif
+%patch0 -p2
%build
pushd mingw-w64-headers
@@ -76,6 +78,9 @@ popd
%changelog
+* Wed Mar 04 2015 Yaakov Selkowitz <yselkowi@redhat.com> - 3.3.0-1
+- new version
+
* Mon Sep 01 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 3.2.0-1
- Version bump