svn commit: r374903 - head/graphics/openshadinglanguage/files

Marcus von Appen mva at FreeBSD.org
Thu Dec 18 13:36:54 UTC 2014


Author: mva
Date: Thu Dec 18 13:36:53 2014
New Revision: 374903
URL: https://svnweb.freebsd.org/changeset/ports/374903
QAT: https://qat.redports.org/buildarchive/r374903/

Log:
  - Unbreak the build on 9-STABLE for the i386 arch
  
  PR:		195762
  Submitted by:	woot-woot at yandex.ru
  Approved by:	FreeBSD at ShaneWare.Biz (maintainer)

Added:
  head/graphics/openshadinglanguage/files/patch-src__testshade__testshade.cpp   (contents, props changed)

Added: head/graphics/openshadinglanguage/files/patch-src__testshade__testshade.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/openshadinglanguage/files/patch-src__testshade__testshade.cpp	Thu Dec 18 13:36:53 2014	(r374903)
@@ -0,0 +1,11 @@
+--- src/testshade/testshade.cpp.orig	2014-09-23 05:01:22 UTC
++++ src/testshade/testshade.cpp
+@@ -733,7 +733,7 @@ test_shade (int argc, const char *argv[]
+         int num_layers = 0;
+         shadingsys->getattribute (shadergroup.get(), "num_layers", num_layers);
+         if (num_layers > 0) {
+-            std::vector<const char *> layers (num_layers, NULL);
++            std::vector<const char *> layers (size_t(num_layers), NULL);
+             shadingsys->getattribute (shadergroup.get(), "layer_names",
+                                       TypeDesc(TypeDesc::STRING, num_layers),
+                                       &layers[0]);


More information about the svn-ports-head mailing list