diff options
author | joerg <joerg> | 2016-06-19 22:55:18 +0000 |
---|---|---|
committer | joerg <joerg> | 2016-06-19 22:55:18 +0000 |
commit | 1b64b1d6a52aceb21c463ee0a33ab4afea7d572f (patch) | |
tree | 5c132e0d589f32418d8861501e7e67c9f1ea921f /print | |
parent | 97967ee914e3e384bdc84943880cbde5b269b9db (diff) | |
download | pkgsrc-1b64b1d6a52aceb21c463ee0a33ab4afea7d572f.tar.gz |
Recognize TIFF images with alpha channel when using the photometric
color tag. Bump revision.
Diffstat (limited to 'print')
-rw-r--r-- | print/podofo/Makefile | 4 | ||||
-rw-r--r-- | print/podofo/patches/patch-src_doc_PdfImage.cpp | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/print/podofo/Makefile b/print/podofo/Makefile index 24d880b80ae..ab3e7f1f1dc 100644 --- a/print/podofo/Makefile +++ b/print/podofo/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.25 2016/03/05 11:29:17 jperkin Exp $ +# $NetBSD: Makefile,v 1.26 2016/06/19 22:55:18 joerg Exp $ DISTNAME= podofo-0.9.3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=podofo/} diff --git a/print/podofo/patches/patch-src_doc_PdfImage.cpp b/print/podofo/patches/patch-src_doc_PdfImage.cpp new file mode 100644 index 00000000000..45caa67d3fc --- /dev/null +++ b/print/podofo/patches/patch-src_doc_PdfImage.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-src_doc_PdfImage.cpp,v 1.1 2016/06/19 22:55:18 joerg Exp $ + +--- src/doc/PdfImage.cpp.orig 2016-06-07 16:48:51.790860153 +0000 ++++ src/doc/PdfImage.cpp +@@ -550,7 +550,7 @@ void PdfImage::LoadFromTiff( const char* + break; + + case PHOTOMETRIC_RGB: +- if ( bitsPixel != 24 ) ++ if ( bitsPixel != 24 && bitsPixel != 32 ) + { + TIFFClose(hInfile); + PODOFO_RAISE_ERROR( ePdfError_UnsupportedImageFormat ); |