aboutsummaryrefslogtreecommitdiff
path: root/devel/pijul/files/patch-cargo-crates_pager-0.16.0_src_utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pijul/files/patch-cargo-crates_pager-0.16.0_src_utils.rs')
-rw-r--r--devel/pijul/files/patch-cargo-crates_pager-0.16.0_src_utils.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/pijul/files/patch-cargo-crates_pager-0.16.0_src_utils.rs b/devel/pijul/files/patch-cargo-crates_pager-0.16.0_src_utils.rs
new file mode 100644
index 000000000000..aebfb62c5ae7
--- /dev/null
+++ b/devel/pijul/files/patch-cargo-crates_pager-0.16.0_src_utils.rs
@@ -0,0 +1,11 @@
+--- cargo-crates/pager-0.16.0/src/utils.rs.orig 2021-07-20 20:40:27 UTC
++++ cargo-crates/pager-0.16.0/src/utils.rs
+@@ -66,7 +66,7 @@ pub(crate) fn execvpe(cmd: &OsString, envs: &[OsString
+ };
+ #[cfg(not(target_os = "macos"))]
+ unsafe {
+- libc::execvpe(args[0], args.as_ptr(), envs.as_ptr())
++ libc::execve(args[0], args.as_ptr(), envs.as_ptr())
+ };
+ }
+