Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2014 13:36:53 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374903 - head/graphics/openshadinglanguage/files
Message-ID:  <201412181336.sBIDar4m069338@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@yandex.ru
  Approved by:	FreeBSD@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]);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412181336.sBIDar4m069338>