pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/podofo



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sun Jun 19 22:55:18 UTC 2016

Modified Files:
        pkgsrc/print/podofo: Makefile
Added Files:
        pkgsrc/print/podofo/patches: patch-src_doc_PdfImage.cpp

Log Message:
Recognize TIFF images with alpha channel when using the photometric
color tag. Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/print/podofo/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/print/podofo/patches/patch-src_doc_PdfImage.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/podofo/Makefile
diff -u pkgsrc/print/podofo/Makefile:1.25 pkgsrc/print/podofo/Makefile:1.26
--- pkgsrc/print/podofo/Makefile:1.25   Sat Mar  5 11:29:17 2016
+++ pkgsrc/print/podofo/Makefile        Sun Jun 19 22:55:18 2016
@@ -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/}
 

Added files:

Index: pkgsrc/print/podofo/patches/patch-src_doc_PdfImage.cpp
diff -u /dev/null pkgsrc/print/podofo/patches/patch-src_doc_PdfImage.cpp:1.1
--- /dev/null   Sun Jun 19 22:55:18 2016
+++ pkgsrc/print/podofo/patches/patch-src_doc_PdfImage.cpp      Sun Jun 19 22:55:18 2016
@@ -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 );



Home | Main Index | Thread Index | Old Index