diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-08-11 23:53:12 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-08-11 23:53:12 -0500 |
| commit | 3b81a9e38fe6486b7a11a1f194ff71de99daaa10 (patch) | |
| tree | 885f4643115cb90b75c96bbaf3ddc4ee11723b29 /debian/patches | |
| parent | fcbc91194e464f1275a39f64acf565b0f24b6b91 (diff) | |
Init w/ dh-make-golang
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/golang-1.3-compat | 23 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/golang-1.3-compat b/debian/patches/golang-1.3-compat new file mode 100644 index 0000000..b0e4f37 --- /dev/null +++ b/debian/patches/golang-1.3-compat @@ -0,0 +1,23 @@ +Index: planr.git/fs.go +=================================================================== +--- planr.git.orig/fs.go ++++ planr.git/fs.go +@@ -220,7 +220,7 @@ func collectFromDir( + + // Read the entries in this directory + for { +- dirs, err := fp.ReadDir(100) ++ dirs, err := fp.Readdir(100) + if err == io.EOF { + break + } else if err != nil { +@@ -229,8 +229,8 @@ func collectFromDir( + + + for _, ent := range dirs { +- child := path.Join(dir, ent.Name()) + nm := ent.Name() ++ child := path.Join(dir, nm) + + if ent.IsDir() { + collectFromDir(child, defaults, cfgs, units) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..7cd5d69 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +golang-1.3-compat |
