summaryrefslogtreecommitdiffstats
path: root/graphics/exact-image/raw.patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 09:11:28 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 09:11:28 +0700
commitcc0cfeb3939487923509541e178c27711dfe1d56 (patch)
tree54cbaa208127049756e88126f533e23bbb0e3ff3 /graphics/exact-image/raw.patch
parent11872f9f213da332718dd9a948ef855bd6ffcfeb (diff)
downloadslackbuilds-cc0cfeb3939487923509541e178c27711dfe1d56.tar.gz
slackbuilds-cc0cfeb3939487923509541e178c27711dfe1d56.tar.xz
graphics/exact-image: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-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*/;
+ }