summaryrefslogtreecommitdiff
path: root/debian/patches/golang-1.3-compat-remove-prefix-logging
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/golang-1.3-compat-remove-prefix-logging')
-rw-r--r--debian/patches/golang-1.3-compat-remove-prefix-logging14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/golang-1.3-compat-remove-prefix-logging b/debian/patches/golang-1.3-compat-remove-prefix-logging
new file mode 100644
index 0000000..072be5d
--- /dev/null
+++ b/debian/patches/golang-1.3-compat-remove-prefix-logging
@@ -0,0 +1,14 @@
+Index: planr/cmd/planr/main.go
+===================================================================
+--- planr.orig/cmd/planr/main.go
++++ planr/cmd/planr/main.go
+@@ -73,8 +73,7 @@ func main() {
+ defer pprof.StopCPUProfile()
+ }
+
+- log.SetFlags(log.Llongfile | log.Lmsgprefix)
+- log.SetPrefix("planr: ")
++ log.SetFlags(log.Llongfile)
+
+ if flag.NArg() < 1 {
+ dieUsage()