diff options
author | tron <tron@pkgsrc.org> | 2004-10-29 08:27:48 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-10-29 08:27:48 +0000 |
commit | 8addf3431bf462c53ba9ce8d8fd58b148f64e43c (patch) | |
tree | d383a4a7b725af8c138fa1b8126460cda80228cb /graphics/gphoto2 | |
parent | 4e73a6226150f5d301d8293ce573e65991539c68 (diff) | |
download | pkgsrc-8addf3431bf462c53ba9ce8d8fd58b148f64e43c.tar.gz |
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 (limited to 'graphics/gphoto2')
-rw-r--r-- | graphics/gphoto2/Makefile | 7 | ||||
-rw-r--r-- | graphics/gphoto2/distinfo | 3 | ||||
-rw-r--r-- | graphics/gphoto2/patches/patch-aa | 20 |
3 files changed, 26 insertions, 4 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile index 2e38beda338..817cb6c59cc 100644 --- a/graphics/gphoto2/Makefile +++ b/graphics/gphoto2/Makefile @@ -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 @@ CONFIGURE_ARGS+= --without-readline #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 --git a/graphics/gphoto2/distinfo b/graphics/gphoto2/distinfo index 8ded3e806ed..111c7f1bb68 100644 --- a/graphics/gphoto2/distinfo +++ b/graphics/gphoto2/distinfo @@ -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 --git a/graphics/gphoto2/patches/patch-aa b/graphics/gphoto2/patches/patch-aa new file mode 100644 index 00000000000..ad3433a227b --- /dev/null +++ b/graphics/gphoto2/patches/patch-aa @@ -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"); + } + } |