File: relax-deps.diff

package info (click to toggle)
rust-glycin 3.0.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 440 kB
  • sloc: makefile: 4
file content (42 lines) | stat: -rw-r--r-- 1,093 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: revert
 https://gitlab.gnome.org/GNOME/glycin/-/commit/88477123
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -144,7 +144,7 @@
 package = "memmap2"
 
 [dependencies.nix]
-version = "0.30.0"
+version = "0.29.0"
 features = [
     "fs",
     "resource",
@@ -186,10 +186,10 @@
 optional = true
 
 [dependencies.yeslogic-fontconfig-sys]
-version = "6.0.0"
+version = ">= 5, < 7"
 
 [dependencies.zbus]
-version = "5.10.0"
+version = ">= 5.6"
 features = [
     "p2p",
     "p2p",
--- a/src/sandbox.rs
+++ b/src/sandbox.rs
@@ -234,11 +234,11 @@
 
         // Allow FD to be passed to child process
         let mut flags = nix::fcntl::FdFlag::from_bits_truncate(nix::fcntl::fcntl(
-            &self.dbus_socket,
+            dbus_fd,
             nix::fcntl::FcntlArg::F_GETFD,
         )?);
         flags.remove(nix::fcntl::FdFlag::FD_CLOEXEC);
-        nix::fcntl::fcntl(&self.dbus_socket, nix::fcntl::FcntlArg::F_SETFD(flags))?;
+        nix::fcntl::fcntl(dbus_fd, nix::fcntl::FcntlArg::F_SETFD(flags))?;
 
         command.stderr(Stdio::piped());
         command.stdout(Stdio::piped());