depend on version of Win32 that exports c_createFile

This commit is contained in:
Joey Hess 2022-07-12 16:28:01 -04:00
parent b8c6fa78ea
commit ba13c1e2ac
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,19 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2022-07-12T19:59:54Z"
content="""
We could go argue with the Win32 maintainer to put it back in.
I have: <https://github.com/haskell/win32/issues/208>
But it is a simple FFI implementation so I would not mind just including it
in git-annex.
... But also git-annex can depend on a version of Win32 before this
breakage. I've made that change. It's perhaps only a stopgap, if something
else that git-annex uses begins depending on the newer version of Win32
later.
Switching to LockFileEx seems like it might break interoperation with older
git-annex versions?
"""]]

View file

@ -402,7 +402,7 @@ Executable git-annex
if (os(windows))
Build-Depends:
Win32 (>= 2.6.1.0),
Win32 (>= 2.6.1.0 && < 2.12.0.0),
setenv,
process (>= 1.6.2.0),
silently (>= 1.2.5.1)