summaryrefslogtreecommitdiff
path: root/cbindgen.patch
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2021-07-15 15:43:16 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2021-07-15 15:43:16 +0200
commit2cc22dc7d21beec27c54766b6c866d1aba2c4033 (patch)
tree254ee5d717c9b625190bdc6d481cf84f1774a3a2 /cbindgen.patch
parentthis time, let us try it with including cbindgen in OBS instead (diff)
downloadlibrewolf-debian-2cc22dc7d21beec27c54766b6c866d1aba2c4033.tar.gz
librewolf-debian-2cc22dc7d21beec27c54766b6c866d1aba2c4033.tar.bz2
librewolf-debian-2cc22dc7d21beec27c54766b6c866d1aba2c4033.zip
cargo.toml needs to be separate, it seems
Diffstat (limited to 'cbindgen.patch')
-rw-r--r--cbindgen.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/cbindgen.patch b/cbindgen.patch
index 33af6fa..d6ba086 100644
--- a/cbindgen.patch
+++ b/cbindgen.patch
@@ -22,3 +22,16 @@ index b6acf1b..089cbf7 100644
%if DIST == stretch
nodejs-mozilla (>= 10),
%else
+diff --git a/rules b/rules
+index 117197e..f462e5a 100755
+--- a/rules
++++ b/rules
+@@ -81,7 +81,7 @@ LIB_DIR := /usr/lib/$($(PRODUCT))
+ SHARE_DIR := /usr/share/$($(PRODUCT))
+
+ # Work around https://github.com/rust-lang/cargo/issues/7147
+-export CARGO_HOME=$(CURDIR)/debian/.cargo
++export CARGO_HOME=$(CURDIR)/.cargo
+
+ ifneq (,$(filter stretch,$(DIST)))
+ ifneq (,$(filter amd64 i386,$(DEB_HOST_ARCH)))
bgstack15