ports/devel/ccdoc/files/patch-log.h
Tobias Kortkamp ef48a8cffa devel/ccdoc: Fix build with Clang 6
log.cc:236:8: error: invalid operands to binary expression ('std::__1::ostream' (aka 'basic_ostream<char>') and 'std::__1::ostream')
        (*os) << fct( *os );
        ~~~~~ ^  ~~~~~~~~~~

http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/ccdoc-0.8r41.log
2018-08-26 04:34:34 +00:00

10 lines
332 B
C

--- log.h.orig 2018-08-26 04:31:27 UTC
+++ log.h
@@ -69,7 +69,6 @@ namespace ccdoc {
log& operator << (unsigned int);
log& operator << (long);
log& operator << (unsigned long);
- log& operator << (ostream& (fct)(ostream&));
log& operator << (log& x) {return x;}
log& flush();
void insert(ostream*);