The attached patch attempts to sync changes from ReactOS Git repo. My plan is to remove current outdated headers, then commit new ones from ReactOS. Please let me know if you have any suggestions.


Signed-off-by: LIU Hao <[email protected]>
---
 mingw-w64-headers/ddk/import.sh  | 14 ++++++++++++++
 mingw-w64-headers/ddk/readme.txt |  6 ++++--
 2 files changed, 18 insertions(+), 2 deletions(-)
 create mode 100644 mingw-w64-headers/ddk/import.sh

diff --git a/mingw-w64-headers/ddk/import.sh b/mingw-w64-headers/ddk/import.sh
new file mode 100644
index 000000000..cdea0f4f6
--- /dev/null
+++ b/mingw-w64-headers/ddk/import.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -e
+
+REACTOS_DIR=$1
+
+if test -z $REACTOS_DIR; then
+    echo "Usage: $0 reactos_dir"
+    exit 1
+fi
+
+cp -Rp $REACTOS_DIR/sdk/include/ddk -t include
+cp -Rp $REACTOS_DIR/sdk/include/psdk -t include
+cp -Rp $REACTOS_DIR/sdk/include/wine/ddk -t include
diff --git a/mingw-w64-headers/ddk/readme.txt b/mingw-w64-headers/ddk/readme.txt
index 9dea9eec6..b18414cc9 100644
--- a/mingw-w64-headers/ddk/readme.txt
+++ b/mingw-w64-headers/ddk/readme.txt
@@ -4,8 +4,10 @@ DDK sdk for x86 and x64 platforms.
 You can check for existance of this optional package by verifying
 the definition of the macro MINGW_HAS_DDK_H.
 -The DDK headers are from the ReactOS project, from their svn repo
-svn://svn.reactos.org/reactos/trunk/reactos/include/ddk/
+The DDK headers are from the ReactOS project, from their Git repo
+https://github.com/reactos/reactos/tree/master/sdk/include/ddk,
+https://github.com/reactos/reactos/tree/master/sdk/include/psdk, and
+https://github.com/reactos/reactos/tree/master/sdk/include/wine/ddk.
  This is an optional SDK. Some of the headers are public domain and
 some of them are under LGPL license. You can obtain the original
--
2.52.0

From eaa2d7197c63f695df32ba6c9dbc3172c9493d42 Mon Sep 17 00:00:00 2001
From: LIU Hao <[email protected]>
Date: Wed, 21 Jan 2026 17:32:32 +0800
Subject: [PATCH] headers/ddk: Add import.sh from ReactOS Git repo, and update
 readme.txt accordingly

Signed-off-by: LIU Hao <[email protected]>
---
 mingw-w64-headers/ddk/import.sh  | 14 ++++++++++++++
 mingw-w64-headers/ddk/readme.txt |  6 ++++--
 2 files changed, 18 insertions(+), 2 deletions(-)
 create mode 100644 mingw-w64-headers/ddk/import.sh

diff --git a/mingw-w64-headers/ddk/import.sh b/mingw-w64-headers/ddk/import.sh
new file mode 100644
index 000000000..cdea0f4f6
--- /dev/null
+++ b/mingw-w64-headers/ddk/import.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -e
+
+REACTOS_DIR=$1
+
+if test -z $REACTOS_DIR; then
+    echo "Usage: $0 reactos_dir"
+    exit 1
+fi
+
+cp -Rp $REACTOS_DIR/sdk/include/ddk -t include
+cp -Rp $REACTOS_DIR/sdk/include/psdk -t include
+cp -Rp $REACTOS_DIR/sdk/include/wine/ddk -t include
diff --git a/mingw-w64-headers/ddk/readme.txt b/mingw-w64-headers/ddk/readme.txt
index 9dea9eec6..b18414cc9 100644
--- a/mingw-w64-headers/ddk/readme.txt
+++ b/mingw-w64-headers/ddk/readme.txt
@@ -4,8 +4,10 @@ DDK sdk for x86 and x64 platforms.
 You can check for existance of this optional package by verifying
 the definition of the macro MINGW_HAS_DDK_H.
 
-The DDK headers are from the ReactOS project, from their svn repo
-svn://svn.reactos.org/reactos/trunk/reactos/include/ddk/
+The DDK headers are from the ReactOS project, from their Git repo
+https://github.com/reactos/reactos/tree/master/sdk/include/ddk,
+https://github.com/reactos/reactos/tree/master/sdk/include/psdk, and
+https://github.com/reactos/reactos/tree/master/sdk/include/wine/ddk.
 
 This is an optional SDK. Some of the headers are public domain and
 some of them are under LGPL license. You can obtain the original
-- 
2.52.0

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to