mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00: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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user