summaryrefslogtreecommitdiff
path: root/debian/patches/0115-webp_part3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0115-webp_part3.patch')
-rw-r--r--debian/patches/0115-webp_part3.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0115-webp_part3.patch b/debian/patches/0115-webp_part3.patch
new file mode 100644
index 0000000..4d992c4
--- /dev/null
+++ b/debian/patches/0115-webp_part3.patch
@@ -0,0 +1,22 @@
+From: Jens Georg <mail@jensge.org>
+Date: Sat, 9 Feb 2019 16:43:15 +0100
+Subject: Fix an issue with the WEBP meta-data writer
+
+(cherry picked from commit 57ab1628883e3fde5bb3eafc0197b4e17354d2a6)
+---
+ src/photos/WebPSupport.vala | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/photos/WebPSupport.vala b/src/photos/WebPSupport.vala
+index 093f196..2f4723c 100644
+--- a/src/photos/WebPSupport.vala
++++ b/src/photos/WebPSupport.vala
+@@ -213,7 +213,7 @@ private class WebpReader : PhotoFileReader {
+
+ private class WebpMetadataWriter : PhotoFileMetadataWriter {
+ public WebpMetadataWriter(string filepath) {
+- base (filepath, PhotoFileFormat.TIFF);
++ base (filepath, PhotoFileFormat.WEBP);
+ }
+
+ public override void write_metadata(PhotoMetadata metadata) throws Error {