summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2021-06-14 20:45:22 +0000
committerschmonz <schmonz@pkgsrc.org>2021-06-14 20:45:22 +0000
commit796d3fcb05ad9862a4f10cfa3378e6bdfac4b702 (patch)
tree3c04fd54443e6316afa9b536ba7e44e36ffddd15 /graphics/tiff
parenta89888cb537d138ea83603abf5a8eb30de784377 (diff)
downloadpkgsrc-796d3fcb05ad9862a4f10cfa3378e6bdfac4b702.tar.gz
Add patch, missed in previous.
Diffstat (limited to 'graphics/tiff')
-rw-r--r--graphics/tiff/patches/patch-Makefile.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/tiff/patches/patch-Makefile.in b/graphics/tiff/patches/patch-Makefile.in
new file mode 100644
index 00000000000..67a0053417d
--- /dev/null
+++ b/graphics/tiff/patches/patch-Makefile.in
@@ -0,0 +1,28 @@
+$NetBSD: patch-Makefile.in,v 1.1 2021/06/14 20:45:22 schmonz 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>
+
+--- Makefile.in.orig 2021-04-16 10:56:02.000000000 +0000
++++ Makefile.in
+@@ -424,7 +424,7 @@ docfiles = \
+ README.md \
+ RELEASE-DATE \
+ TODO \
+- VERSION
++ VERSION.txt
+
+ EXTRA_DIST = \
+ cmake \
+@@ -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