From 21c95ce266b269e315f59711976e64256758ee49 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Wed, 10 Jan 2018 17:12:45 +0000 Subject: trezord (short for TREZOR Daemon), or TREZOR Bridge, is a small piece of software, used for websites, to talk with TREZOR devices. WWW: https://github.com/trezor/trezord --- security/trezord/files/patch-src_main.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 security/trezord/files/patch-src_main.cpp (limited to 'security/trezord/files/patch-src_main.cpp') diff --git a/security/trezord/files/patch-src_main.cpp b/security/trezord/files/patch-src_main.cpp new file mode 100644 index 000000000000..d865a29fcd91 --- /dev/null +++ b/security/trezord/files/patch-src_main.cpp @@ -0,0 +1,26 @@ +--- src/main.cpp.orig 2017-12-02 14:37:41 UTC ++++ src/main.cpp +@@ -33,7 +33,7 @@ + #include + + #include "utils.hpp" +-#include "hid.hpp" ++#include "usb.hpp" + #include "wire.hpp" + #include "core.hpp" + #include "http_client.hpp" +@@ -163,14 +163,12 @@ main(int argc, char *argv[]) + return 1; + } + +-#ifdef __linux__ + if (!vm.count("foreground")) { + if (daemon(0, 0) < 0) { + LOG(ERROR) << "could not daemonize"; + return 1; + } + } +-#endif + + std::string cert_data; + std::string privkey_data; -- cgit v1.2.3