summaryrefslogtreecommitdiff
path: root/graphics/pfstools/files/patch-config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pfstools/files/patch-config.h.in')
-rw-r--r--graphics/pfstools/files/patch-config.h.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/pfstools/files/patch-config.h.in b/graphics/pfstools/files/patch-config.h.in
new file mode 100644
index 000000000000..5ccb1e8ad682
--- /dev/null
+++ b/graphics/pfstools/files/patch-config.h.in
@@ -0,0 +1,19 @@
+--- config.h.in.orig 2011-10-27 08:40:42.000000000 +0000
++++ config.h.in 2014-02-20 19:04:01.536587053 +0000
+@@ -99,13 +99,13 @@
+
+ /* Output stream for debug messages. */
+ #ifdef DEBUG
+-#define DEBUG_STR cerr
++#define DEBUG_STR std::cerr
+ #else
+-#define DEBUG_STR if(1); else cerr
++#define DEBUG_STR if(1); else std::cerr
+ #endif
+ /* Output stream for verbose messages */
+ #define VERBOSE_STR if(verbose) std::cerr << PROG_NAME << ": "
+
+
+ /* On some systems iostream, string etc are in 'std' namespace */
+-using namespace std;
++//using namespace std;