openbsd-ports/converters/mimepp/patches/patch-string_cpp
2022-03-11 18:27:00 +00:00

15 lines
307 B
Plaintext

Index: string.cpp
--- string.cpp.orig
+++ string.cpp
@@ -29,8 +29,9 @@
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
-#include <new.h>
+#include <new>
#include <mimepp/string.h>
+using std::cerr;
#define DW_MIN(a,b) ((a) <= (b) ? (a) : (b))
#define DW_MAX(a,b) ((a) >= (b) ? (a) : (b))