Date: Thu, 14 Mar 2013 01:25:06 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314125 - head/graphics/nvidia-texture-tools/files Message-ID: <201303140125.r2E1P6Xg056419@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Mar 14 01:25:06 2013 New Revision: 314125 URL: http://svnweb.freebsd.org/changeset/ports/314125 Log: - Fix build with clang PR: 176899 Submitted by: Christopher Dukes <chris.dukes.aix@gmail.com> Added: head/graphics/nvidia-texture-tools/files/patch-src-nvcore-Memory.h (contents, props changed) Added: head/graphics/nvidia-texture-tools/files/patch-src-nvcore-Memory.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/nvidia-texture-tools/files/patch-src-nvcore-Memory.h Thu Mar 14 01:25:06 2013 (r314125) @@ -0,0 +1,20 @@ +--- src/nvcore/Memory.h.orig 2010-05-14 21:59:28.000000000 +0400 ++++ src/nvcore/Memory.h 2013-03-13 11:44:40.704932899 +0400 +@@ -28,7 +28,7 @@ + + // Override new/delete + +-inline void * operator new (size_t size) throw() ++inline void * operator new (size_t size) throw(std::bad_alloc) + { + return nv::mem::malloc(size); + } +@@ -38,7 +38,7 @@ + nv::mem::free(p); + } + +-inline void * operator new [] (size_t size) throw() ++inline void * operator new [] (size_t size) throw(std::bad_alloc) + { + return nv::mem::malloc(size); + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303140125.r2E1P6Xg056419>