ports/76939: patch to graphics/gimageview: catch up with libexif 0.5.12 -> 0.6.10

Sangwoo Shim ssw at neo.redjade.org
Tue Feb 1 04:40:24 UTC 2005


>Number:         76939
>Category:       ports
>Synopsis:       patch to graphics/gimageview: catch up with libexif 0.5.12 -> 0.6.10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 01 04:40:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sangwoo Shim
>Release:        RELENG_5 of Mon Jan 31, 2005
>Organization:
Seoul Natl' Univ.
>Environment:
FreeBSD swoo.org 5.3-STABLE FreeBSD 5.3-STABLE #1: Mon Jan 31 10:07:28 KST 2005     root at swoo.org:/usr/obj/usr/src/sys/SANGWOO  amd64
>Description:
      Due to API change during libexif 0.5.X -> 0.6.X, gimageview doesn't compile against libexif 0.6.10 anymore.
>How-To-Repeat:
      
>Fix:
      Put this patch into graphics/gimageview/files.

%%%
--- src/exif_view.c.orig        Tue Feb  1 13:20:55 2005
+++ src/exif_view.c     Tue Feb  1 13:20:16 2005
@@ -87,6 +87,7 @@
                                  ExifContent *content)
 {
    const gchar *text[2];
+   gchar value[1024];
    gint i;

    g_return_if_fail (clist);
@@ -104,7 +105,7 @@
    for (i = 0; i < content->count; i++) {
       text[0] = exif_tag_get_name (content->entries[i]->tag);
       if (text[0] && *text[0]) text[0] = _(text[0]);
-      text[1] = exif_entry_get_value (content->entries[i]);
+      text[1] = exif_entry_get_value (content->entries[i], value, sizeof(value));
       if (text[1] && *text[1]) text[1] = _(text[1]);
 #ifdef ENABLE_TREEVIEW
       {
%%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list