ports/72209: [PATCH] graphics/gphoto2: libexif fix (Needed for libexif 0.6.10 pr-71944)
Michael Johnson
ahze at ahze.net
Thu Sep 30 17:20:30 UTC 2004
>Number: 72209
>Category: ports
>Synopsis: [PATCH] graphics/gphoto2: libexif fix (Needed for libexif 0.6.10 pr-71944)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 30 17:20:29 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael Johnson
>Release: FreeBSD 5.3-BETA3 i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-BETA3 FreeBSD 5.3-BETA3 #66: Tue Sep 7 12:56:04 EDT
>Description:
- libexif fix, this is needed for libexif 0.6.10
Please commit this patch with pr-71944
Added file(s):
- files/patch-gphoto2::actions.c
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- gphoto2-2.1.4_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/gphoto2.orig/files/patch-gphoto2::actions.c /usr/ports/graphics/gphoto2/files/patch-gphoto2::actions.c
--- /usr/ports/graphics/gphoto2.orig/files/patch-gphoto2::actions.c Wed Dec 31 19:00:00 1969
+++ /usr/ports/graphics/gphoto2/files/patch-gphoto2::actions.c Thu Sep 30 13:14:46 2004
@@ -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");
+ }
+ }
--- gphoto2-2.1.4_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list