pkgsrc/graphics/tiff/patches/patch-Makefile.in
gdt 4fc53cb4d5 graphics/tiff: Update to 4.4.0
Upstream does not provide NEWS.  Skimming over 1300 lines of
ChangeLog, this release contains mostly bufixes, speed improvemnents,
and other minor improvements.

This commit drops 5 patches for CVEs.  These patches all appear to
have been taken from the upstream repo.

One CVE remains:
  https://nvd.nist.gov/vuln/detail/CVE-2018-10126
  http://bugzilla.maptools.org/show_bug.cgi?id=2786
  https://gitlab.com/libtiff/libtiff/-/issues/128
2022-05-29 12:24:16 +00:00

30 lines
1.1 KiB
Text

$NetBSD: patch-Makefile.in,v 1.2 2022/05/29 12:24:16 gdt Exp $
From MacPorts:
Rename VERSION to VERSION.txt so that it does not collide with the C++
version header on case-insensitive filesystems.
https://gitlab.com/libtiff/libtiff/-/issues/252
\todo Upstream has resolved the problem a different way and we should
likely drop this patch.
--- Makefile.in.orig 2022-05-20 16:11:32.000000000 +0000
+++ Makefile.in
@@ -425,7 +425,7 @@ docfiles = \
README.md \
RELEASE-DATE \
TODO \
- VERSION
+ VERSION.txt
EXTRA_DIST = \
placeholder.h \
@@ -992,7 +992,7 @@ distcheck-hook:
release:
(rm -f $(top_srcdir)/RELEASE-DATE && echo $(LIBTIFF_RELEASE_DATE) > $(top_srcdir)/RELEASE-DATE)
- (rm -f $(top_srcdir)/VERSION && echo $(LIBTIFF_VERSION) > $(top_srcdir)/VERSION)
+ (rm -f $(top_srcdir)/VERSION.txt && echo $(LIBTIFF_VERSION) > $(top_srcdir)/VERSION.txt)
(rm -f $(top_srcdir)/libtiff/tiffvers.h && sed 's,LIBTIFF_VERSION,$(LIBTIFF_VERSION),;s,LIBTIFF_RELEASE_DATE,$(LIBTIFF_RELEASE_DATE),' $(top_srcdir)/libtiff/tiffvers.h.in > $(top_srcdir)/libtiff/tiffvers.h)
coverity:
$(MAKE) clean