From bdcbd7cb1c59c016aa50001bfe26302ec6c1f055 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 30 Jan 2019 18:29:52 +0100 Subject: [PATCH] amp: patch termbox-sys for now to fix build termbox-sys, which is an indirect dependency of amp, builds its own termbox using waf, but forgets about libdir, which results in the library being installed in a different location and the build won't find it. Fix it here until upstream makes a release. --- srcpkgs/amp/patches/termbox-fix.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 srcpkgs/amp/patches/termbox-fix.patch diff --git a/srcpkgs/amp/patches/termbox-fix.patch b/srcpkgs/amp/patches/termbox-fix.patch new file mode 100644 index 00000000000..a60331e1e2b --- /dev/null +++ b/srcpkgs/amp/patches/termbox-fix.patch @@ -0,0 +1,10 @@ +Status: submitted upstream https://github.com/gchp/termbox-sys/pull/20 +--- Cargo.toml ++++ Cargo.toml +@@ -43,3 +43,6 @@ bench = [] + name = "draw_buffer" + path = "benches/view/draw_buffer.rs" + harness = false ++ ++[patch.crates-io] ++termbox-sys = { git = 'https://github.com/q66/termbox-sys' }