aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix+debian@gueux.org>2016-12-19 15:24:23 +0100
committerFélix Sipma <felix+debian@gueux.org>2016-12-19 15:28:51 +0100
commit3b1c9e9f01968bbd38bfe11f8a5e55fc23125759 (patch)
treee8f2a2a30e7a5f8a5ec32ad6acc9a3db6cabe8b9
parent41abf26d22e0ddf35c31331eff12dd32c7c329ff (diff)
remove useless patch: 0001-replace-vendor-src-by-usr-share-gocode-src.patch
-rw-r--r--debian/patches/0001-Debianize-doc-Manual.md.patch (renamed from debian/patches/0002-Debianize-doc-Manual.md.patch)0
-rw-r--r--debian/patches/0001-replace-vendor-src-by-usr-share-gocode-src.patch21
-rw-r--r--debian/patches/series3
3 files changed, 1 insertions, 23 deletions
diff --git a/debian/patches/0002-Debianize-doc-Manual.md.patch b/debian/patches/0001-Debianize-doc-Manual.md.patch
index 1bd45f2..1bd45f2 100644
--- a/debian/patches/0002-Debianize-doc-Manual.md.patch
+++ b/debian/patches/0001-Debianize-doc-Manual.md.patch
diff --git a/debian/patches/0001-replace-vendor-src-by-usr-share-gocode-src.patch b/debian/patches/0001-replace-vendor-src-by-usr-share-gocode-src.patch
deleted file mode 100644
index 7b1220d..0000000
--- a/debian/patches/0001-replace-vendor-src-by-usr-share-gocode-src.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: =?utf-8?q?F=C3=A9lix_Sipma?= <felix+debian@gueux.org>
-Date: Wed, 14 Dec 2016 12:58:33 +0100
-Subject: replace vendor/src by /usr/share/gocode/src
-
----
- build.go | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/build.go b/build.go
-index 04a65d1..6f223d9 100644
---- a/build.go
-+++ b/build.go
-@@ -362,7 +362,7 @@ func main() {
- die("copying files from %v/src to %v/src failed: %v\n", root, gopath, err)
- }
-
-- vendor := filepath.Join(root, "vendor", "src")
-+ vendor := filepath.Join("/", "usr", "share", "gocode", "src")
- if directoryExists(vendor) {
- if err = updateGopath(gopath, vendor, ""); err != nil {
- die("copying files from %v to %v failed: %v\n", root, gopath, err)
diff --git a/debian/patches/series b/debian/patches/series
index 1510ba1..0a57a61 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-0001-replace-vendor-src-by-usr-share-gocode-src.patch
-0002-Debianize-doc-Manual.md.patch
+0001-Debianize-doc-Manual.md.patch