- Build with clang on FreeBSD 10 and remove USE_GCC=any - added some configuration OPTIONS - added patch to fix segfault with current tcl - added patches to avoid crash on i386 - compile with libxml2, hwloc, boost - add user tserv for owning configuration and log directory - added stage support - enabled compiling WCCP and SSD support - use lua with JIT - install perl TS module PR: ports/185669 Submitted by: Radim Kolar <hsn@sendmail.cz> Approved by: maintainer timeout (3 weeks)
12 lines
693 B
C++
12 lines
693 B
C++
--- ./lib/atscppapi/src/Logger.cc.orig 2013-12-05 22:07:48.000000000 +0000
|
|
+++ ./lib/atscppapi/src/Logger.cc 2014-01-27 08:45:49.000000000 +0000
|
|
@@ -189,7 +189,7 @@
|
|
LOG_DEBUG("logging a " level " to '%s' with length %d", state_->filename_.c_str(), n); \
|
|
TSTextLogObjectWrite(state_->text_log_obj_, const_cast<char*>("[" level "] %s"), buffer); \
|
|
} else { \
|
|
- LOG_ERROR("Unable to log " level " message to '%s' due to size exceeding %lud bytes.", state_->filename_.c_str(), sizeof(buffer)); \
|
|
+ LOG_ERROR("Unable to log " level " message to '%s' due to size exceeding %zu bytes.", state_->filename_.c_str(), sizeof(buffer)); \
|
|
} \
|
|
return; \
|
|
}
|