summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-01-04 18:56:22 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2021-01-04 18:56:22 (GMT)
commitd9b6af73f031b35fe95670920b364f120a78da5d (patch)
tree6c5e41528120ea03b578dbaeb91294527358dafa /debian/patches
parent2ea8357c045b0f219b11924986659be7eb0a8b05 (diff)
hacky workaround for building with golang 1.13HEADmaster
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
+