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 committed Mar 31, 2023
1 parent 44df6ff commit 292a4f4
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
@@ -1,5 +1,6 @@
PORTNAME= rustdesk-server
DISTVERSION= 1.1.7-3
PORTREVISION= 1
CATEGORIES= net

MAINTAINER= madpilot@FreeBSD.org
Expand Down
11 changes: 11 additions & 0 deletions net/rustdesk-server/files/patch-Cargo.toml
@@ -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 292a4f4

Please sign in to comment.