aboutsummaryrefslogtreecommitdiff
path: root/graphics
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
parentd05854a3156d36acd687e9ecdaf7d89ac7726f8a (diff)
downloadports-7ed9c9c260251b1efb295d176894cc411ec4b60d.tar.gz
ports-7ed9c9c260251b1efb295d176894cc411ec4b60d.zip
Notes
Diffstat (limited to 'graphics')
-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");
+ }
+ }