diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-13 13:40:00 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-13 13:40:00 +0800 |
commit | 25a9d641081f0b24f8f3ba21a771df67bf4dba5e (patch) | |
tree | f6ece8ef16ed2e3c75274f27a0a53d73ecb7878c /x11-fm | |
parent | 9ac57a6055bf488876cbbf57da6ee189534e70fd (diff) | |
download | marcuscom-ports-25a9d641081f0b24f8f3ba21a771df67bf4dba5e.tar marcuscom-ports-25a9d641081f0b24f8f3ba21a771df67bf4dba5e.tar.gz marcuscom-ports-25a9d641081f0b24f8f3ba21a771df67bf4dba5e.tar.bz2 marcuscom-ports-25a9d641081f0b24f8f3ba21a771df67bf4dba5e.tar.lz marcuscom-ports-25a9d641081f0b24f8f3ba21a771df67bf4dba5e.tar.xz marcuscom-ports-25a9d641081f0b24f8f3ba21a771df67bf4dba5e.tar.zst marcuscom-ports-25a9d641081f0b24f8f3ba21a771df67bf4dba5e.zip |
Fix the build on 4.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2981 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm')
2 files changed, 20 insertions, 8 deletions
diff --git a/x11-fm/nautilus/files/patch-components-image_properties-nautilus-image-properties-view.c b/x11-fm/nautilus/files/patch-components-image_properties-nautilus-image-properties-view.c index 0f8441fab..2ef7220f4 100644 --- a/x11-fm/nautilus/files/patch-components-image_properties-nautilus-image-properties-view.c +++ b/x11-fm/nautilus/files/patch-components-image_properties-nautilus-image-properties-view.c @@ -1,11 +1,17 @@ ---- components/image_properties/nautilus-image-properties-view.c.orig Thu Sep 30 15:41:33 2004 -+++ components/image_properties/nautilus-image-properties-view.c Thu Sep 30 15:43:11 2004 -@@ -130,7 +130,8 @@ +--- components/image_properties/nautilus-image-properties-view.c.orig Tue Mar 9 06:23:37 2004 ++++ components/image_properties/nautilus-image-properties-view.c Wed Oct 13 01:38:33 2004 +@@ -124,13 +124,14 @@ + exif_content_callback (ExifContent *content, gpointer data) + { + struct ExifAttribute *attribute; ++ char value[1024]; + + attribute = (struct ExifAttribute *)data; + if (attribute->found) { return; } - attribute->value = g_strdup (exif_content_get_value (content, attribute->tag)); -+ char value[1024]; + attribute->value = g_strdup (exif_content_get_value (content, attribute->tag, value, sizeof(value))); if (attribute->value != NULL) { attribute->found = TRUE; diff --git a/x11-fm/nautilus2/files/patch-components-image_properties-nautilus-image-properties-view.c b/x11-fm/nautilus2/files/patch-components-image_properties-nautilus-image-properties-view.c index 0f8441fab..2ef7220f4 100644 --- a/x11-fm/nautilus2/files/patch-components-image_properties-nautilus-image-properties-view.c +++ b/x11-fm/nautilus2/files/patch-components-image_properties-nautilus-image-properties-view.c @@ -1,11 +1,17 @@ ---- components/image_properties/nautilus-image-properties-view.c.orig Thu Sep 30 15:41:33 2004 -+++ components/image_properties/nautilus-image-properties-view.c Thu Sep 30 15:43:11 2004 -@@ -130,7 +130,8 @@ +--- components/image_properties/nautilus-image-properties-view.c.orig Tue Mar 9 06:23:37 2004 ++++ components/image_properties/nautilus-image-properties-view.c Wed Oct 13 01:38:33 2004 +@@ -124,13 +124,14 @@ + exif_content_callback (ExifContent *content, gpointer data) + { + struct ExifAttribute *attribute; ++ char value[1024]; + + attribute = (struct ExifAttribute *)data; + if (attribute->found) { return; } - attribute->value = g_strdup (exif_content_get_value (content, attribute->tag)); -+ char value[1024]; + attribute->value = g_strdup (exif_content_get_value (content, attribute->tag, value, sizeof(value))); if (attribute->value != NULL) { attribute->found = TRUE; |