svn commit: r473161 - head/graphics/ampasACES-container/files
Adriaan de Groot
adridg at FreeBSD.org
Sat Jun 23 20:04:28 UTC 2018
Author: adridg
Date: Sat Jun 23 20:04:27 2018
New Revision: 473161
URL: https://svnweb.freebsd.org/changeset/ports/473161
Log:
Fix graphics/ampasACES-container with Clang6.
aces_formatter.cpp:255:24: error: non-constant-expression cannot
be narrowed from type 'unsigned int' to 'int32' (aka 'int') in
initializer list [-Wc++11-narrowing]
scanLineHeader sh = { yMin + row, scanLineSize };
Reported upstream as well. Not bumping PORTREVISION since this is just
a compile fix.
Added:
head/graphics/ampasACES-container/files/
head/graphics/ampasACES-container/files/patch-aces__formatter.cpp (contents, props changed)
Added: head/graphics/ampasACES-container/files/patch-aces__formatter.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/ampasACES-container/files/patch-aces__formatter.cpp Sat Jun 23 20:04:27 2018 (r473161)
@@ -0,0 +1,13 @@
+--- aces_formatter.cpp.orig 2018-06-23 19:34:29 UTC
++++ aces_formatter.cpp
+@@ -107,8 +107,8 @@
+ #include <cassert>
+
+ struct scanLineHeader {
+- int32 yCoordinate;
+- int32 pixelDataSize;
++ uint32 yCoordinate;
++ uint32 pixelDataSize;
+ };
+
+
More information about the svn-ports-all
mailing list