summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-08-31 00:23:45 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-08-31 00:23:45 -0500
commitf7d6def397205c87aaac119b16ac746e990aab1f (patch)
treeebd7ddb136a1dced076b176e5055ef40c79afd6c
parentd734617891a6375e64fca59e342d273b9d66d24e (diff)
downloaddeb-planr-f7d6def397205c87aaac119b16ac746e990aab1f.tar.xz
deb-planr-f7d6def397205c87aaac119b16ac746e990aab1f.zip
Reapply patches
-rw-r--r--debian/patches/golang-1.3-compat-readdir (renamed from debian/patches/golang-1.3-compat)4
-rw-r--r--debian/patches/golang-1.3-compat-remove-prefix-logging14
-rw-r--r--debian/patches/series3
3 files changed, 18 insertions, 3 deletions
diff --git a/debian/patches/golang-1.3-compat b/debian/patches/golang-1.3-compat-readdir
index f157402..b9e5c6d 100644
--- a/debian/patches/golang-1.3-compat
+++ b/debian/patches/golang-1.3-compat-readdir
@@ -2,7 +2,7 @@ Index: planr/fs.go
===================================================================
--- planr.orig/fs.go
+++ planr/fs.go
-@@ -220,7 +220,7 @@ func collectFromDir(
+@@ -224,7 +224,7 @@ func collectFromDir(
// Read the entries in this directory
for {
@@ -11,7 +11,7 @@ Index: planr/fs.go
if err == io.EOF {
break
} else if err != nil {
-@@ -229,8 +229,8 @@ func collectFromDir(
+@@ -233,8 +233,8 @@ func collectFromDir(
for _, ent := range dirs {
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..08a1a9e
--- /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
+@@ -28,8 +28,7 @@ func dieUsage() {
+
+ func main() {
+
+- log.SetFlags(log.Llongfile | log.Lmsgprefix)
+- log.SetPrefix("planr: ")
++ log.SetFlags(log.Llongfile)
+
+ if len(os.Args) < 2 {
+ dieUsage()
diff --git a/debian/patches/series b/debian/patches/series
index 7cd5d69..a80079f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
-golang-1.3-compat
+golang-1.3-compat-readdir
+golang-1.3-compat-remove-prefix-logging