summaryrefslogtreecommitdiff
path: root/net/samba42/files/patch-buildtools__wafadmin__Logs.py
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2015-09-19 13:37:59 +0000
committerTimur I. Bakeyev <timur@FreeBSD.org>2015-09-19 13:37:59 +0000
commitb6e7e626ec812490a2fe3ad2ceae7f69dd6181ef (patch)
treec58b5d06f9e886cc5dc559b9d46b5ba8ec0dd581 /net/samba42/files/patch-buildtools__wafadmin__Logs.py
parentFix to the coredump in the library code of the Samba libs. Provided by Andrey... (diff)
New release of Samba 4.2.
Diffstat (limited to '')
-rw-r--r--net/samba42/files/patch-buildtools__wafadmin__Logs.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/samba42/files/patch-buildtools__wafadmin__Logs.py b/net/samba42/files/patch-buildtools__wafadmin__Logs.py
new file mode 100644
index 000000000000..32a32b556166
--- /dev/null
+++ b/net/samba42/files/patch-buildtools__wafadmin__Logs.py
@@ -0,0 +1,21 @@
+--- buildtools/wafadmin/Logs.py.orig 2015-08-30 19:19:48.396822145 +0000
++++ buildtools/wafadmin/Logs.py 2015-08-30 20:14:54.119335271 +0000
+@@ -23,6 +23,9 @@
+ 'cursor_off' :'\x1b[?25l',
+ }
+
++WAF_LOG_FORMAT = os.environ.get('WAF_LOG_FORMAT', LOG_FORMAT)
++WAF_HOUR_FORMAT = os.environ.get('WAF_HOUR_FORMAT', HOUR_FORMAT)
++
+ got_tty = False
+ term = os.environ.get('TERM', 'dumb')
+ if not term in ['dumb', 'emacs']:
+@@ -84,7 +87,7 @@
+
+ class formatter(logging.Formatter):
+ def __init__(self):
+- logging.Formatter.__init__(self, LOG_FORMAT, HOUR_FORMAT)
++ logging.Formatter.__init__(self, WAF_LOG_FORMAT, WAF_HOUR_FORMAT)
+
+ def format(self, rec):
+ if rec.levelno >= logging.WARNING or rec.levelno == logging.INFO: