Commit c10aeb1b authored by cmt's avatar cmt
Browse files
parent d17d8e76
......@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= shotwell
PORTVERSION= 0.30.2
PORTREVISION= 3
PORTVERSION= 0.30.4
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
......
TIMESTAMP = 1549625280
SHA256 (shotwell-0.30.2.tar.xz) = 1945978be04ff6985275f70557fb4f2ea43d5fcd3415388b61738310a206555d
SIZE (shotwell-0.30.2.tar.xz) = 6461648
TIMESTAMP = 1556271055
SHA256 (shotwell-0.30.4.tar.xz) = b7bccf86831536c9f87d45fb159145662f372f1c8baae10b4ae679e1811c3ffa
SIZE (shotwell-0.30.4.tar.xz) = 6449848
--- src/photos/PhotoMetadata.vala.orig 2019-03-30 21:05:25 UTC
+++ src/photos/PhotoMetadata.vala
@@ -276,7 +276,7 @@ public class PhotoMetadata : MediaMetadata {
exiv2 = new GExiv2.Metadata();
exif = null;
- exiv2.open_buf(buffer, length);
+ exiv2.open_buf(buffer[0:length]);
exif = Exif.Data.new_from_data(buffer, length);
source_name = "<memory buffer %d bytes>".printf(length);
}
@@ -285,8 +285,8 @@ public class PhotoMetadata : MediaMetadata {
exiv2 = new GExiv2.Metadata();
exif = null;
- exiv2.from_app1_segment(buffer.get_data(), (long) buffer.get_size());
- exif = Exif.Data.new_from_data(buffer.get_data(), buffer.get_size());
+ exiv2.from_app1_segment(buffer.get_data());
+ exif = Exif.Data.new_from_data(buffer.get_data(), (long) buffer.get_size());
source_name = "<app1 segment %zu bytes>".printf(buffer.get_size());
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment