pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/pixieplus Fix build when using latest tiff an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01d6caf3df55
branches:  trunk
changeset: 503109:01d6caf3df55
user:      markd <markd%pkgsrc.org@localhost>
date:      Mon Nov 14 08:42:44 2005 +0000

description:
Fix build when using latest tiff and make explicit the dependency on the
tiff package.

diffstat:

 graphics/pixieplus/Makefile         |   3 ++-
 graphics/pixieplus/distinfo         |   3 ++-
 graphics/pixieplus/patches/patch-af |  13 +++++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r fd534797722e -r 01d6caf3df55 graphics/pixieplus/Makefile
--- a/graphics/pixieplus/Makefile       Mon Nov 14 08:29:03 2005 +0000
+++ b/graphics/pixieplus/Makefile       Mon Nov 14 08:42:44 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/05/22 20:08:07 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2005/11/14 08:42:44 markd Exp $
 #
 
 DISTNAME=      pixieplus-0.5.4
@@ -20,6 +20,7 @@
 .include "../../graphics/ImageMagick/buildlink3.mk"
 .include "../../graphics/kdegraphics3/buildlink3.mk"
 .include "../../graphics/libungif/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
 .include "../../x11/kdelibs3/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r fd534797722e -r 01d6caf3df55 graphics/pixieplus/distinfo
--- a/graphics/pixieplus/distinfo       Mon Nov 14 08:29:03 2005 +0000
+++ b/graphics/pixieplus/distinfo       Mon Nov 14 08:42:44 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2005/02/24 08:45:11 agc Exp $
+$NetBSD: distinfo,v 1.7 2005/11/14 08:42:44 markd Exp $
 
 SHA1 (pixieplus-0.5.4.tar.gz) = bea6ce3e030fecb9ecceaaf85d155ccc9a4550d5
 RMD160 (pixieplus-0.5.4.tar.gz) = 73c164e8bd66f045c09b9396e2ce777d6daca363
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 38824b02aba0695e025fe3995f31bc376dd44518
 SHA1 (patch-ad) = 7deca58da1d8e181bf62c39f598f696584a1ed26
 SHA1 (patch-ae) = e9d4ca1bede5f07d79d2d6a5bc5b2d97f298a93f
+SHA1 (patch-af) = 42b4d4dfef5c286ae703ed6b4ce7813865142bf1
diff -r fd534797722e -r 01d6caf3df55 graphics/pixieplus/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pixieplus/patches/patch-af       Mon Nov 14 08:42:44 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2005/11/14 08:42:44 markd Exp $
+
+--- app/imageheaders.cpp.orig  2005-11-14 20:44:06.000000000 +1300
++++ app/imageheaders.cpp
+@@ -90,7 +90,7 @@ bool checkTIFFThumbnail(const char *file
+         if(TIFFSetDirectory(t, thumbDir)){
+             TIFFGetField(t, TIFFTAG_IMAGELENGTH, &height);
+             img.create(minWidth, height, 32);
+-            if(!TIFFReadRGBAImage(t, minWidth, height, (unsigned long*)
++            if(!TIFFReadRGBAImage(t, minWidth, height, (uint32*)
+                                   img.bits(), 0))
+                 img.reset();
+             else{



Home | Main Index | Thread Index | Old Index