summaryrefslogtreecommitdiff
path: root/app-crypt/nitrocli/files/nitrocli-0.4.1-fix-musl-1.2.4-build.patch
diff options
context:
space:
mode:
authorDaniel Müller <deso@posteo.net>2024-01-19 07:21:22 -0800
committerJoonas Niilola <juippis@gentoo.org>2024-01-20 15:20:09 +0200
commit8e9efa2ffcb018b6ca676404e5d1aeaf17e99bc1 (patch)
tree2b33092fadba41d58b76e66069d2e51ad6710f36 /app-crypt/nitrocli/files/nitrocli-0.4.1-fix-musl-1.2.4-build.patch
parent37bac03ee8c6945a1a37769f418dd4c0324f0925 (diff)
downloadgentoo-8e9efa2ffcb018b6ca676404e5d1aeaf17e99bc1.tar.gz
gentoo-8e9efa2ffcb018b6ca676404e5d1aeaf17e99bc1.tar.bz2
gentoo-8e9efa2ffcb018b6ca676404e5d1aeaf17e99bc1.zip
app-crypt/nitrocli: Add patch fixing musl 1.2.4 build
On a system with sys-libs/musl 1.2.4, the crate fails to build with an undefined reference to `open64'. Fix the issue by adding a patch bumping the version of the libc crate. Closes: https://bugs.gentoo.org/922317 Signed-off-by: Daniel Müller <deso@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/34902 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/nitrocli/files/nitrocli-0.4.1-fix-musl-1.2.4-build.patch')
-rw-r--r--app-crypt/nitrocli/files/nitrocli-0.4.1-fix-musl-1.2.4-build.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-crypt/nitrocli/files/nitrocli-0.4.1-fix-musl-1.2.4-build.patch b/app-crypt/nitrocli/files/nitrocli-0.4.1-fix-musl-1.2.4-build.patch
new file mode 100644
index 000000000000..4a5eed1b8951
--- /dev/null
+++ b/app-crypt/nitrocli/files/nitrocli-0.4.1-fix-musl-1.2.4-build.patch
@@ -0,0 +1,16 @@
+diff --git a/Cargo.lock b/Cargo.lock
+index de9dee..5d7737 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -124,9 +124,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+ [[package]]
+ name = "libc"
+-version = "0.2.94"
++version = "0.2.146"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "18794a8ad5b29321f790b55d93dfba91e125cb1a9edbd4f8e3150acc771c1a5e"
++checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b"
+
+ [[package]]
+ name = "log"