summaryrefslogtreecommitdiff
path: root/graphics/exact-image/raw.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/exact-image/raw.patch')
-rw-r--r--graphics/exact-image/raw.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/exact-image/raw.patch b/graphics/exact-image/raw.patch
new file mode 100644
index 0000000000..555fef4fc1
--- /dev/null
+++ b/graphics/exact-image/raw.patch
@@ -0,0 +1,11 @@
+--- exact-image-0.9.2/codecs/raw.cc.orig 2017-07-05 09:07:52.988538841 +0700
++++ exact-image-0.9.2/codecs/raw.cc 2017-07-05 09:08:21.813539168 +0700
+@@ -71,7 +71,7 @@
+ if (!image.getRawData())
+ return false;
+
+- return stream->write ((char*)image.getRawData(), image.stride()*image.h)
++ return (bool) stream->write ((char*)image.getRawData(), image.stride()*image.h)
+ /* ==
+ (size_t) image.stride()*image.h*/;
+ }