svn commit: r314125 - head/graphics/nvidia-texture-tools/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Mar 14 01:25:06 UTC 2013
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 at 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);
+ }
More information about the svn-ports-head
mailing list