Bug 76939 - patch to graphics/gimageview: catch up with libexif 0.5.12 -> 0.6.10
Summary: patch to graphics/gimageview: catch up with libexif 0.5.12 -> 0.6.10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 04:40 UTC by Sang Woo Shim
Modified: 2005-02-02 13:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sang Woo Shim 2005-02-01 04:40:23 UTC
      Due to API change during libexif 0.5.X -> 0.6.X, gimageview doesn't compile against libexif 0.6.10 anymore.

Fix: Put this patch into graphics/gimageview/files.

%%%


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
       {
%%%--yZAxQYJYbq68oucOxFbhvm8gknRWpubcPyLjGVtBsnxCzwxx
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- 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;
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-02 13:53:57 UTC
State Changed
From-To: open->closed

Committed, thanks!