summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2004-11-17 16:58:53 +0000
committerStefan Jones <cretin@gentoo.org>2004-11-17 16:58:53 +0000
commitf97ef188d88b7442d25816c2d83cbb64672f3a7c (patch)
treef8605eb5f8b8afd0dd902970e2f3888ca9aebb6f /dev-util
parentmarked ~ppc64 (Manifest recommit) (diff)
downloadgentoo-2-f97ef188d88b7442d25816c2d83cbb64672f3a7c.tar.gz
gentoo-2-f97ef188d88b7442d25816c2d83cbb64672f3a7c.tar.bz2
gentoo-2-f97ef188d88b7442d25816c2d83cbb64672f3a7c.zip
ntddk patch, bug #70949
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/xmingw-w32api/ChangeLog5
-rw-r--r--dev-util/xmingw-w32api/files/xmingw-w32api-3.1-ntddk.patch68
-rw-r--r--dev-util/xmingw-w32api/xmingw-w32api-3.1.ebuild3
3 files changed, 74 insertions, 2 deletions
diff --git a/dev-util/xmingw-w32api/ChangeLog b/dev-util/xmingw-w32api/ChangeLog
index ef1c90473a55..78307c7c0eb7 100644
--- a/dev-util/xmingw-w32api/ChangeLog
+++ b/dev-util/xmingw-w32api/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/xmingw-w32api
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-w32api/ChangeLog,v 1.8 2004/10/25 16:36:02 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-w32api/ChangeLog,v 1.9 2004/11/17 16:58:53 cretin Exp $
+
+ 17 Nov 2004; Stefan Jones <cretin@gentoo.org> +xmingw-w32api-3.1-ntddk.patch:
+ Patch for bug #70949
25 Oct 2004; Stefan Jones <cretin@gentoo.org>
+xmingw-w32api-3.1-include.patch :
diff --git a/dev-util/xmingw-w32api/files/xmingw-w32api-3.1-ntddk.patch b/dev-util/xmingw-w32api/files/xmingw-w32api-3.1-ntddk.patch
new file mode 100644
index 000000000000..38f25e06bb7f
--- /dev/null
+++ b/dev-util/xmingw-w32api/files/xmingw-w32api-3.1-ntddk.patch
@@ -0,0 +1,68 @@
+diff -urN -x '*.o' -x '*.a' -x Makefile -x 'config.*' w32api-3.1/include/ddk/ntapi.h w32api-3.1-mod/include/ddk/ntapi.h
+--- w32api-3.1/include/ddk/ntapi.h 2004-09-05 18:16:15.000000000 +0300
++++ w32api-3.1-mod/include/ddk/ntapi.h 2004-10-23 19:53:30.000000000 +0200
+@@ -671,6 +671,20 @@
+ OUT PULONG ReturnLength OPTIONAL);
+
+ NTOSAPI
++NTAPI
++NTSTATUS
++NtQueryFullAttributesFile(
++ IN POBJECT_ATTRIBUTES ObjectAttributes,
++ OUT PFILE_NETWORK_OPEN_INFORMATION FileInformation);
++
++NTOSAPI
++NTAPI
++NTSTATUS
++ZwQueryFullAttributesFile(
++ IN POBJECT_ATTRIBUTES ObjectAttributes,
++ OUT PFILE_NETWORK_OPEN_INFORMATION FileInformation);
++
++NTOSAPI
+ NTSTATUS
+ NTAPI
+ ZwSetSystemInformation(
+diff -urN -x '*.o' -x '*.a' -x Makefile -x 'config.*' w32api-3.1/include/ddk/winddk.h w32api-3.1-mod/include/ddk/winddk.h
+--- w32api-3.1/include/ddk/winddk.h 2004-09-05 18:16:15.000000000 +0300
++++ w32api-3.1-mod/include/ddk/winddk.h 2004-10-23 19:53:30.000000000 +0200
+@@ -4395,6 +4395,15 @@
+ IN PCWSTR Path,
+ IN PCWSTR ValueName);
+
++NTOSAPI
++BOOL
++DDKAPI
++RtlDosPathNameToNtPathName_U(
++ IN PCWSTR DosPathName,
++ OUT PUNICODE_STRING NtPathName,
++ OUT PCWSTR *NtFileNamePart,
++ OUT VOID *DirectoryInfo);
++
+ /*
+ * BOOLEAN
+ * RtlEqualLuid(
+diff -urN -x '*.o' -x '*.a' -x Makefile -x 'config.*' w32api-3.1/lib/ddk/ntoskrnl.def w32api-3.1-mod/lib/ddk/ntoskrnl.def
+--- w32api-3.1/lib/ddk/ntoskrnl.def 2004-09-05 18:16:16.000000000 +0300
++++ w32api-3.1-mod/lib/ddk/ntoskrnl.def 2004-10-23 19:58:27.000000000 +0200
+@@ -1316,10 +1316,10 @@
+ ;ZwQueryBootOptions
+ ZwQueryDefaultLocale@8
+ ZwQueryDefaultUILanguage@4
+-;ZwQueryDirectoryFile
++ZwQueryDirectoryFile@44
+ ZwQueryDirectoryObject@28
+ ;ZwQueryEaFile
+-;ZwQueryFullAttributesFile
++ZwQueryFullAttributesFile@8
+ ZwQueryInformationFile@20
+ ZwQueryInformationJobObject@20
+ ZwQueryInformationProcess@20
+@@ -1333,7 +1333,7 @@
+ ZwQuerySymbolicLinkObject@12
+ ZwQuerySystemInformation@16
+ ZwQueryValueKey@24
+-;ZwQueryVolumeInformationFile
++ZwQueryVolumeInformationFile@20
+ ZwReadFile@36
+ ZwReplaceKey@12
+ ZwRequestWaitReplyPort@12
diff --git a/dev-util/xmingw-w32api/xmingw-w32api-3.1.ebuild b/dev-util/xmingw-w32api/xmingw-w32api-3.1.ebuild
index eff4c5b9914f..c34c4c6cd48f 100644
--- a/dev-util/xmingw-w32api/xmingw-w32api-3.1.ebuild
+++ b/dev-util/xmingw-w32api/xmingw-w32api-3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-w32api/xmingw-w32api-3.1.ebuild,v 1.2 2004/10/25 16:36:02 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-w32api/xmingw-w32api-3.1.ebuild,v 1.3 2004/11/17 16:58:53 cretin Exp $
inherit eutils
@@ -27,6 +27,7 @@ src_unpack() {
ln -s ${MY_P} w32api
ln -s ${RUNTIME} mingw
epatch ${FILESDIR}/xmingw-w32api-3.1-include.patch
+ epatch ${FILESDIR}/xmingw-w32api-3.1-ntddk.patch
}
src_compile() {