aboutsummaryrefslogtreecommitdiff
path: root/news/mmail/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 10:18:51 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 10:18:51 +0000
commit361999f99d28020039808528e5dbae26e17b555f (patch)
tree49aa1910b5d5b2ccf0387240733f6358f9d60155 /news/mmail/files
parentfcc69acad6f91741aafec6a43f5fe4bc1c862861 (diff)
Notes
Diffstat (limited to 'news/mmail/files')
-rw-r--r--news/mmail/files/patch-interfac__main.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/news/mmail/files/patch-interfac__main.cc b/news/mmail/files/patch-interfac__main.cc
new file mode 100644
index 000000000000..639389615e23
--- /dev/null
+++ b/news/mmail/files/patch-interfac__main.cc
@@ -0,0 +1,20 @@
+--- ./interfac/main.cc.orig 2007-07-16 19:19:36.000000000 +0200
++++ ./interfac/main.cc 2013-12-27 11:18:04.000000000 +0100
+@@ -12,7 +12,7 @@
+ #include "interfac.h"
+
+ #ifdef USE_NEWHANDLER
+-# include <new.h>
++# include <new>
+ #endif
+
+ #include <locale.h>
+@@ -40,7 +40,7 @@
+ srand((unsigned) starttime);
+
+ #ifdef USE_NEWHANDLER
+- set_new_handler(memError);
++ std::set_new_handler(memError);
+ #endif
+ origdir = mygetcwd();
+ }