pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gphoto2 Make ths build with version 0.6.11 of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4d08b4d9c0d
branches:  trunk
changeset: 482518:b4d08b4d9c0d
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Oct 29 08:27:48 2004 +0000

description:
Make ths build with version 0.6.11 of the "libexif" package. Also set
"BUILDLINK_DEPENDS.libexif" because the package no longer works with old
version of the "libexif" packacke. Bump package revision because of
these changes.

diffstat:

 graphics/gphoto2/Makefile         |   7 ++++---
 graphics/gphoto2/distinfo         |   3 ++-
 graphics/gphoto2/patches/patch-aa |  20 ++++++++++++++++++++
 3 files changed, 26 insertions(+), 4 deletions(-)

diffs (57 lines):

diff -r c5c1066a7ce7 -r b4d08b4d9c0d graphics/gphoto2/Makefile
--- a/graphics/gphoto2/Makefile Fri Oct 29 08:16:17 2004 +0000
+++ b/graphics/gphoto2/Makefile Fri Oct 29 08:27:48 2004 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2004/10/03 00:14:52 tv Exp $
-#
+# $NetBSD: Makefile,v 1.28 2004/10/29 08:27:48 tron Exp $
 
 DISTNAME=      gphoto2-2.1.4
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gphoto/}
 EXTRACT_SUFX=  .tar.bz2
@@ -30,6 +29,8 @@
 #USE_GNU_READLINE=     rl_completion_matches, rl_completion_append_character
 #.include "../../devel/readline/buildlink3.mk"
 
+BUILDLINK_DEPENDS.libexif=     libexif>=0.6.11
+
 .include "../../devel/cdk/buildlink3.mk"
 .include "../../devel/libgphoto2/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"
diff -r c5c1066a7ce7 -r b4d08b4d9c0d graphics/gphoto2/distinfo
--- a/graphics/gphoto2/distinfo Fri Oct 29 08:16:17 2004 +0000
+++ b/graphics/gphoto2/distinfo Fri Oct 29 08:27:48 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.8 2004/02/20 16:06:22 drochner Exp $
+$NetBSD: distinfo,v 1.9 2004/10/29 08:27:48 tron Exp $
 
 SHA1 (gphoto2-2.1.4.tar.bz2) = 7a42905c366c91a90952c5a7b4e709b7aef1b0f0
 Size (gphoto2-2.1.4.tar.bz2) = 350858 bytes
+SHA1 (patch-aa) = eb4fdd6882720f9180c00036423b321949f2d915
diff -r c5c1066a7ce7 -r b4d08b4d9c0d graphics/gphoto2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gphoto2/patches/patch-aa Fri Oct 29 08:27:48 2004 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.3 2004/10/29 08:27:48 tron Exp $
+
+--- gphoto2/actions.c.orig     2004-01-18 21:01:09.000000000 +0100
++++ gphoto2/actions.c  2004-10-29 10:22:37.000000000 +0200
+@@ -346,12 +346,14 @@
+ {
+         ExifEntry *e;
+         unsigned int i;
++      char value[1024];
+ 
+         for (i = 0; i < content->count; i++) {
+                 e = content->entries[i];
+                 printf ("%-20.20s", exif_tag_get_name (e->tag));
+                 printf ("|");
+-                printf ("%-59.59s", exif_entry_get_value (e));
++                printf ("%-59.59s",
++                  exif_entry_get_value (e, value, sizeof (value)));
+                 printf ("\n");
+         }
+ }



Home | Main Index | Thread Index | Old Index