summaryrefslogtreecommitdiff
path: root/graphics/gphoto2/files/patch-gphoto2::actions.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-12 21:22:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-12 21:22:18 +0000
commit7ed9c9c260251b1efb295d176894cc411ec4b60d (patch)
tree41812c8e6b7790d9ade2eec22c1cd6f7149b3bd5 /graphics/gphoto2/files/patch-gphoto2::actions.c
parentUpdate to 5.0.1 (diff)
- Fix build with new libexif
PR: ports/72209 Submitted by: Michael Johnson <ahze@ahze.net>
Diffstat (limited to '')
-rw-r--r--graphics/gphoto2/files/patch-gphoto2::actions.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/gphoto2/files/patch-gphoto2::actions.c b/graphics/gphoto2/files/patch-gphoto2::actions.c
new file mode 100644
index 000000000000..0942d9aa9285
--- /dev/null
+++ b/graphics/gphoto2/files/patch-gphoto2::actions.c
@@ -0,0 +1,17 @@
+--- gphoto2/actions.c.orig Thu Sep 30 13:04:05 2004
++++ gphoto2/actions.c Thu Sep 30 13:14:06 2004
+@@ -346,12 +346,13 @@
+ {
+ 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");
+ }
+ }