pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Odd checksum issue on MacOS
Am 09.01.2023 um 20:34 schrieb Louis Guillaume:
Ignoring patch file devel/libcfg+/patches/patch-ab: invalid checksum
I got a clue. The file patch-ab has a non-ASCII character 0xAD in line
30, before the word 'include'.
To compute the checksum, mk/checksum/checksum.awk runs sed over the
patch file, to filter out the '$NetBSD$' line.
NetBSD's sed works in byte mode, while macOS sed probably works in UTF-8
mode.
Does it work if you run 'LC_ALL=C bmake patch'?
What is the output of 'bmake -v TOOLS_SED'? According to
mk/tools/tools.Darwin.mk, it should be '/usr/bin/sed'.
If you install the package textproc/nbsed, does 'bmake
TOOLS_PLATFORM.sed=nbsed patch' work?
Roland
Home |
Main Index |
Thread Index |
Old Index