Copied from Debian. Description: Fix build of WebRTC on non-Linux systems * Define the WEBRTC_LINUX macro only on Linux, and not on GNU/Hurd or FreeBSD. * Fix type cast in the CurrentThreadId function. Bug-Debian: https://bugs.debian.org/920851 Author: Nicholas Guriev Last-Update: Tue, 29 Jan 2019 23:26:44 +0300 --- a/libtgvoip.gyp +++ b/libtgvoip.gyp @@ -869,20 +869,18 @@ '"<(OS)" == "linux"', { 'defines': [ 'WEBRTC_POSIX', - 'WEBRTC_LINUX', ], 'conditions': [ [ '"(pthread_self()); + return static_cast(pthread_self()); #endif #endif // defined(WEBRTC_POSIX) } x-daemon.cc?id=994817bfdccc715dccfa96366fc286a80171a7e6'>commitdiff
AgeCommit message (Collapse)Author
2023-12-11daemon: Implement ‘substitute-urls’ RPC.Ludovic Courtès
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump. (WorkerOp): Add ‘wopSubstituteURLs’. * nix/nix-daemon/nix-daemon.cc (performOp): Implement it. * guix/store.scm (%protocol-version): Bump. (operation-id): Add ‘substitute-urls’. (substitute-urls): New procedure. * tests/store.scm ("substitute-urls, default") ("substitute-urls, client-specified URLs") ("substitute-urls, disabled"): New tests. Change-Id: I2c0119500c3a1eecfa5ebf32463ffb0f173161de
2021-04-03daemon: Remove dead code.Ludovic Courtès
Reported by Noisytoot on #guix. * nix/nix-daemon/shared.hh (showManPage): Remove. * nix/nix-daemon/nix-daemon.cc (printHelp, programId): Remove.