mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
corkscrew: fix build on Darwin
Define ANSI_FUNC so corkscrew uses ANSI C function definitions instead of legacy K&R definitions rejected by modern Clang/C23. Assisted-by: OpenCode (openai/gpt-5.5)
This commit is contained in:
parent
b1f7c38b38
commit
47eb5f6f4d
1 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-DANSI_FUNC";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/bryanpkc/corkscrew";
|
||||
description = "Tool for tunneling SSH through HTTP proxies";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue