diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-09-07 12:34:16 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-09-07 12:34:16 +0000 |
commit | 4017da95db19efdb08adb98a42ea7b6e8443fd6f (patch) | |
tree | 0c6088dc106053d4fdc090957f5d03af5e6b896c /databases/usogres/files | |
parent | 840b84bddabd20c0d6b99d3a6fe9623d2a4b0678 (diff) | |
download | ports-4017da95db19efdb08adb98a42ea7b6e8443fd6f.tar.gz ports-4017da95db19efdb08adb98a42ea7b6e8443fd6f.zip |
o Remove unneeded plist entry.
o Add non-default hint to reduce the load of syslogd message.
Notes
Notes:
svn path=/head/; revision=88682
Diffstat (limited to 'databases/usogres/files')
-rw-r--r-- | databases/usogres/files/patch-SysLog.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/usogres/files/patch-SysLog.cc b/databases/usogres/files/patch-SysLog.cc new file mode 100644 index 000000000000..68a7efbaad60 --- /dev/null +++ b/databases/usogres/files/patch-SysLog.cc @@ -0,0 +1,14 @@ +--- src/SysLog.cc.orig Sat Sep 6 23:03:07 2003 ++++ src/SysLog.cc Sat Sep 6 23:07:08 2003 +@@ -57,7 +57,11 @@ + + char* pbuf = new char[strlen(format)*3]; + ::vsprintf(pbuf, format, ap); ++#if defined(NDEBUG) ++ if (lvl <= LOG_ERR) ::syslog(lvl, pbuf); ++#else + ::syslog(lvl, pbuf); ++#endif + delete [] pbuf; + + va_end(ap); |