summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/workaround-go-cachepath.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..92f42b2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+workaround-go-cachepath.patch
diff --git a/debian/patches/workaround-go-cachepath.patch b/debian/patches/workaround-go-cachepath.patch
new file mode 100644
index 0000000..eed4b32
--- /dev/null
+++ b/debian/patches/workaround-go-cachepath.patch
@@ -0,0 +1,11 @@
+--- rhimportd-0.12.2.orig/Makefile
++++ rhimportd-0.12.2/Makefile
+@@ -23,7 +23,7 @@
+ ##
+
+ curdir:= $(shell pwd)
+-GOCMD := GOPATH=$(curdir) go
++GOCMD := env "GOPATH=$(curdir)" "GOCACHE=/tmp/.gocache" go
+
+ EXECUTEABLE := rhimportd
+