aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-13 05:22:18 +0800
committerpav <pav@FreeBSD.org>2004-10-13 05:22:18 +0800
commit033d76aaad18d6b3f13bdb809e392db546fd366e (patch)
tree1682b4cd90ac0be8ab95c31e1719e41855ac6168 /graphics
parent61fc0f222216eaeead3357b90ac309a662b0befe (diff)
downloadfreebsd-ports-gnome-033d76aaad18d6b3f13bdb809e392db546fd366e.tar.gz
freebsd-ports-gnome-033d76aaad18d6b3f13bdb809e392db546fd366e.tar.zst
freebsd-ports-gnome-033d76aaad18d6b3f13bdb809e392db546fd366e.zip
- Fix build with new libexif
PR: ports/72209 Submitted by: Michael Johnson <ahze@ahze.net>
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");
+ }
+ }