This is just a part of many changes. I am planning to fix the FIXME in
mincore.mri first. Please make sure things are correct. I shall repeat
these same steps with subsequent patches.
From fcaeecf333f85cd09f457a69fa3b457295741724 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbap...@gmail.com>
Date: Thu, 12 Oct 2023 05:12:46 +0000
Subject: [PATCH] crt: Add dsparse to mincore

Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com>
---
 mingw-w64-crt/Makefile.am            |  1 +
 mingw-w64-crt/lib-common/dsparse.def | 22 ++++++++++++++++++++++
 mingw-w64-crt/lib-common/mincore.mri |  2 +-
 mingw-w64-crt/lib32/dsparse.def      | 22 ++++++++++++++++++++++
 4 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 mingw-w64-crt/lib-common/dsparse.def
 create mode 100644 mingw-w64-crt/lib32/dsparse.def

diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index e8a876c..6afd56c 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -2195,6 +2195,7 @@ endif
                %/libcryptbase.a \
                %/libcryptnet.a \
                %/libdnsapi.a \
+               %/libdsparse.a \
                %/libiphlpapi.a \
                %/libmpr.a \
                %/libmswsock.a \
diff --git a/mingw-w64-crt/lib-common/dsparse.def 
b/mingw-w64-crt/lib-common/dsparse.def
new file mode 100644
index 0000000..c973101
--- /dev/null
+++ b/mingw-w64-crt/lib-common/dsparse.def
@@ -0,0 +1,22 @@
+LIBRARY "dsparse.dll"
+EXPORTS
+DsCrackSpn2A
+DsCrackSpn2W
+DsCrackSpn3W
+DsCrackSpn4W
+DsCrackSpnA
+DsCrackSpnW
+DsCrackUnquotedMangledRdnA
+DsCrackUnquotedMangledRdnW
+DsGetRdnW
+DsIsMangledDnA
+DsIsMangledDnW
+DsIsMangledRdnValueA
+DsIsMangledRdnValueW
+DsMakeSpn2W
+DsMakeSpnA
+DsMakeSpnW
+DsQuoteRdnValueA
+DsQuoteRdnValueW
+DsUnquoteRdnValueA
+DsUnquoteRdnValueW
diff --git a/mingw-w64-crt/lib-common/mincore.mri 
b/mingw-w64-crt/lib-common/mincore.mri
index 7e789b3..db81ee1 100644
--- a/mingw-w64-crt/lib-common/mincore.mri
+++ b/mingw-w64-crt/lib-common/mincore.mri
@@ -171,7 +171,7 @@ ADDLIB libcryptbase.a
 ADDLIB libcryptnet.a
 ; FIXME libdfscli.a
 ADDLIB libdnsapi.a
-; FIXME libdsparse.a
+ADDLIB libdsparse.a
 ; FIXME libdsrole.a
 ADDLIB libiphlpapi.a
 ; FIXME liblogoncli.a
diff --git a/mingw-w64-crt/lib32/dsparse.def b/mingw-w64-crt/lib32/dsparse.def
new file mode 100644
index 0000000..2a33277
--- /dev/null
+++ b/mingw-w64-crt/lib32/dsparse.def
@@ -0,0 +1,22 @@
+LIBRARY "dsparse.dll"
+EXPORTS
+DsCrackSpn2A@36
+DsCrackSpn2W@36
+DsCrackSpn3W@44
+DsCrackSpn4W@48
+DsCrackSpnA@32
+DsCrackSpnW@32
+DsCrackUnquotedMangledRdnA@16
+DsCrackUnquotedMangledRdnW@16
+DsGetRdnW@24
+DsIsMangledDnA@8
+DsIsMangledDnW@8
+DsIsMangledRdnValueA@12
+DsIsMangledRdnValueW@12
+DsMakeSpn2W@32
+DsMakeSpnA@28
+DsMakeSpnW@28
+DsQuoteRdnValueA@16
+DsQuoteRdnValueW@16
+DsUnquoteRdnValueA@16
+DsUnquoteRdnValueW@16
-- 
2.42.0

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to