summaryrefslogtreecommitdiff
path: root/academic/grass/changeset_r50130.diff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2012-05-20 16:49:15 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-21 17:58:10 -0500
commit058c543a234edd5b896379b35a0bc04c897d5deb (patch)
treed1e22fb0c7679f79d7a5f0897edfb54c1db9cfc9 /academic/grass/changeset_r50130.diff
parent4b14b6554200a403a2fcdaae92abde7323a8843a (diff)
downloadslackbuilds-058c543a234edd5b896379b35a0bc04c897d5deb.tar.gz
academic/grass: Updated for version 6.4.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/grass/changeset_r50130.diff')
-rw-r--r--academic/grass/changeset_r50130.diff49
1 files changed, 49 insertions, 0 deletions
diff --git a/academic/grass/changeset_r50130.diff b/academic/grass/changeset_r50130.diff
new file mode 100644
index 0000000000..90b93ec27f
--- /dev/null
+++ b/academic/grass/changeset_r50130.diff
@@ -0,0 +1,49 @@
+Index: /grass/trunk/lib/iostream/mm.cc
+===================================================================
+--- /grass/trunk/lib/iostream/mm.cc (revision 48562)
++++ /grass/trunk/lib/iostream/mm.cc (revision 50130)
+@@ -275,5 +275,5 @@
+
+ /* ************************************************************ */
+-void* operator new[] (size_t sz) {
++void* operator new[] (size_t sz) throw(std::bad_alloc) {
+ void *p;
+
+@@ -326,5 +326,5 @@
+
+ /* ************************************************************ */
+-void* operator new (size_t sz) {
++void* operator new (size_t sz) throw(std::bad_alloc) {
+ void *p;
+
+@@ -378,5 +378,5 @@
+
+ /* ---------------------------------------------------------------------- */
+-void operator delete (void *ptr) {
++void operator delete (void *ptr) throw() {
+ size_t sz;
+ void *p;
+@@ -418,5 +418,5 @@
+
+ /* ---------------------------------------------------------------------- */
+-void operator delete[] (void *ptr) {
++void operator delete[] (void *ptr) throw() {
+ size_t sz;
+ void *p;
+Index: /grass/trunk/include/iostream/mm.h
+===================================================================
+--- /grass/trunk/include/iostream/mm.h (revision 32746)
++++ /grass/trunk/include/iostream/mm.h (revision 50130)
+@@ -129,8 +129,8 @@
+
+ friend class mm_register_init;
+- friend void * operator new(size_t);
+- friend void * operator new[](size_t);
+- friend void operator delete(void *);
+- friend void operator delete[](void *);
++ friend void * operator new(size_t) throw(std::bad_alloc);
++ friend void * operator new[](size_t) throw(std::bad_alloc);
++ friend void operator delete(void *) throw();
++ friend void operator delete[](void *) throw();
+ };
+