void-packages/srcpkgs/ntdsextract2/patches/no-cygwin-fs.patch

24 lines
748 B
Diff

--- a/ntdsextract2-1.4.7/Cargo.toml
+++ b/ntdsextract2-1.4.7/Cargo.toml
@@ -37,8 +37,7 @@
paste = "1.0"
bodyfile = "0.1.4"
hashbrown = "0"
-libesedb = "0.2.5"
-#libesedb = {path="../rust-libesedb"}
+libesedb = {path="../rust-libesedb-libesedb-v0.2.5/"}
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
--- a/rust-libesedb-libesedb-v0.2.5/libesedb-sys/libesedb-20230824/common/config.h
+++ b/rust-libesedb-libesedb-v0.2.5/libesedb-sys/libesedb-20230824/common/config.h
@@ -26,7 +26,7 @@
#define HAVE_CLOSE 1
/* Define to 1 if you have the <cygwin/fs.h> header file. */
-#define HAVE_CYGWIN_FS_H 1
+/*#define HAVE_CYGWIN_FS_H 1*/
/* Define if the GNU dcgettext() function is already present or preinstalled.
*/