aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-01-11 15:36:38 -0800
committerKhem Raj <raj.khem@gmail.com>2021-01-11 15:38:09 -0800
commite84b579c8a6a2cd7b5ad4fce16721e11039e6662 (patch)
tree1b340f552ffe89dedefa0749154fe9fa0098ae4b /meta-oe
parente413948e1c2c69661f79f19440597828a938c77f (diff)
downloadmeta-openembedded-contrib-e84b579c8a6a2cd7b5ad4fce16721e11039e6662.tar.gz
influxdb: Fix build on mips
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Thomas Perrot <thomas.perrot@bootlin.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-dbs/influxdb/influxdb/0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch20
-rw-r--r--meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb2
2 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/influxdb/influxdb/0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch b/meta-oe/recipes-dbs/influxdb/influxdb/0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch
new file mode 100644
index 0000000000..3cb2090d19
--- /dev/null
+++ b/meta-oe/recipes-dbs/influxdb/influxdb/0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch
@@ -0,0 +1,20 @@
+From f3713628fac72e45223013dcf8e37ac65d17d886 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 11 Jan 2021 15:16:57 -0800
+Subject: [PATCH] patch term module for mips ispeed/ospeed termios absense
+
+Upstream-Status: OE-Specific [needed on mips]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ go.mod | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/go.mod
++++ b/go.mod
+@@ -54,3 +54,5 @@ require (
+ gonum.org/v1/gonum v0.6.0 // indirect
+ google.golang.org/grpc v1.26.0
+ )
++
++replace github.com/pkg/term => github.com/kraj/term v0.0.0-20210111231523-7c42fcb0e627
diff --git a/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb b/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb
index 4f2bb78b23..06f7947642 100644
--- a/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb
+++ b/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb
@@ -22,6 +22,8 @@ SRC_URI = "\
file://influxdb.conf \
"
+SRC_URI_append_mipsarch = " file://0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch;patchdir=src/${GO_IMPORT}"
+
SRCREV = "c958f436b2e538a88a7815aad721c7774a0b8f63"
inherit go-mod systemd update-rc.d useradd