diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-11-03 12:40:53 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-11-03 12:40:53 +0000 |
commit | d966f22979ebe0d392e2cca2da48efacbe45feec (patch) | |
tree | 10d02987f2a558b328117b72a9a13c286c27a80a /sysutils/nautilus/patches | |
parent | eb8514afe2a059ec1172a69486a2832fd351cd9c (diff) | |
download | pkgsrc-d966f22979ebe0d392e2cca2da48efacbe45feec.tar.gz |
Remove a C99ism introduced by a local patch (hi drochner@!). Should fix
the build with GCC 2.95. While here, fix indentation of the lines modified
by the patch.
Diffstat (limited to 'sysutils/nautilus/patches')
-rw-r--r-- | sysutils/nautilus/patches/patch-aj | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/sysutils/nautilus/patches/patch-aj b/sysutils/nautilus/patches/patch-aj index 9f4c0500e98..f07a4582b16 100644 --- a/sysutils/nautilus/patches/patch-aj +++ b/sysutils/nautilus/patches/patch-aj @@ -1,14 +1,21 @@ -$NetBSD: patch-aj,v 1.1 2004/10/27 19:33:37 drochner Exp $ +$NetBSD: patch-aj,v 1.2 2004/11/03 12:40:53 jmmv Exp $ ---- components/image_properties/nautilus-image-properties-view.c.orig 2004-10-11 20:22:21.000000000 +0200 +--- components/image_properties/nautilus-image-properties-view.c.orig 2004-03-09 12:23:37.000000000 +0100 +++ components/image_properties/nautilus-image-properties-view.c -@@ -130,7 +130,8 @@ exif_content_callback (ExifContent *cont +@@ -123,6 +123,7 @@ exif_string_to_utf8 (const char *exif_st + static void + exif_content_callback (ExifContent *content, gpointer data) + { ++ char value[1024]; + struct ExifAttribute *attribute; + + attribute = (struct ExifAttribute *)data; +@@ -130,7 +131,7 @@ exif_content_callback (ExifContent *cont 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))); ++ attribute->value = g_strdup (exif_content_get_value (content, attribute->tag, value, sizeof(value))); if (attribute->value != NULL) { attribute->found = TRUE; } |