Skip to content

Commit

Permalink
net/rustdesk-server: Update patch
Browse files Browse the repository at this point in the history
Modify patch, needed to avoid crashes on startup, to improved one,
discussed in upstream PR.

Adding the "dont_minimize_extra_stacks" option to the flexi_logger
avoids the stack overflow causing the startup crashes.

Obtained from:	rustdesk/rustdesk-server#232 (comment)
  • Loading branch information
madpilot78 authored and ericbsd committed Apr 2, 2023
1 parent 4422ccd commit 0bcdff0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 22 deletions.
1 change: 1 addition & 0 deletions net/rustdesk-server/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= rustdesk-server
DISTVERSION= 1.1.7-3
PORTREVISION= 1
CATEGORIES= net

MAINTAINER= [email protected]
Expand Down
11 changes: 11 additions & 0 deletions net/rustdesk-server/files/patch-Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- Cargo.toml.orig 2023-03-29 16:43:49 UTC
+++ Cargo.toml
@@ -46,7 +46,7 @@ http = "0.2"
regex = "1.4"
tower-http = { version = "0.3", features = ["fs", "trace", "cors"] }
http = "0.2"
-flexi_logger = { version = "0.22", features = ["async", "use_chrono_for_offset"] }
+flexi_logger = { version = "0.22", features = ["async", "use_chrono_for_offset", "dont_minimize_extra_stacks"] }
ipnetwork = "0.20"
local-ip-address = "0.5.1"
dns-lookup = "1.0.8"
11 changes: 0 additions & 11 deletions net/rustdesk-server/files/patch-src_hbbr.rs

This file was deleted.

11 changes: 0 additions & 11 deletions net/rustdesk-server/files/patch-src_main.rs

This file was deleted.

0 comments on commit 0bcdff0

Please sign in to comment.