On Wed, 21 Jun 2017, Paul Goyette wrote:
Need to update distinfo? => Applying pkgsrc patches for tiff-4.0.8nb1 **************************************Ignoring patch file /build/pkgsrc/graphics/tiff/patches/patch-libtiff_tif_dir.h: invalid checksum************************************** **************************************Ignoring patch file /build/pkgsrc/graphics/tiff/patches/patch-libtiff_tif_dirinfo.c: invalid checksum************************************** **************************************Ignoring patch file /build/pkgsrc/graphics/tiff/patches/patch-libtiff_tif_dirread.c: invalid checksum**************************************
It's not just the checksums that are wrong. Regenerating the checksums results in the patches failing to apply. It appears that the first "hunk" in each patch file (containing a $NetBSD$ tag) refers to the patch files themselves and not to the files being patched!
+------------------+--------------------------+----------------------------+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org | +------------------+--------------------------+----------------------------+