Fix build, and chase new libexif.

Submitted by:	Michael Johnson <ahze@ahze.net>
This commit is contained in:
Joe Marcus Clarke 2004-10-13 01:49:59 +00:00
parent 992f727a2a
commit e805043aad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119136
2 changed files with 13 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= nautilus2
PORTVERSION= 2.6.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.6

View file

@ -0,0 +1,12 @@
--- 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 @@
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;
}