Hi,

The Ansible "patch" module fails to work on OpenBSD because it tries
to use "--dry-run" command-line option on patch(1), while ours
supports -C/--check instead. For now, I have an obvious, hm, patch :)
for patch.py that replaces --dry-run with --check. But what way do
people prefer: to move OpenBSD's patch(1) closer to GNU one, or to add
some logic to patch.py that'll detect correct command-line option to
use?

There's also an issue with --binary: we don't support this option on
OpenBSD, and  GNU patch manual page says it's a no-op on POSIX anyway.
Would it be okay to add --binary as a no-op option to our patch?

--
  WBR,
  Vadim Zhukov

Reply via email to