diff options
author | Randy Eckenrode <randy@largeandhighquality.com> | 2023-10-21 23:17:22 -0400 |
---|---|---|
committer | Randy Eckenrode <randy@largeandhighquality.com> | 2023-10-22 18:17:07 -0400 |
commit | 2a4dcd98ca5935894a0fc119621cdb43128c298b (patch) | |
tree | cac84af98fc16f610ca52cb1e2631dc383086952 /pkgs/development/libraries/aalib/default.nix | |
parent | b9e9e443a9e65726388ea4d6e74e1535cdfd8e8e (diff) |
aalib: fix build with clang 16
* Modify `configure` to fix an implicit `int` error; and
* Add missing headers to fix use of undeclared library function errors.
Diffstat (limited to 'pkgs/development/libraries/aalib/default.nix')
-rw-r--r-- | pkgs/development/libraries/aalib/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/aalib/default.nix b/pkgs/development/libraries/aalib/default.nix index af0fa6174015..903364ea27f6 100644 --- a/pkgs/development/libraries/aalib/default.nix +++ b/pkgs/development/libraries/aalib/default.nix @@ -12,7 +12,8 @@ stdenv.mkDerivation rec { outputs = [ "bin" "dev" "out" "man" "info" ]; setOutputFlags = false; # Doesn't support all the flags - patches = lib.optionals stdenv.isDarwin [ ./darwin.patch ]; + patches = [ ./clang.patch ] # Fix implicit `int` on `main` error with newer versions of clang + ++ lib.optionals stdenv.isDarwin [ ./darwin.patch ]; # The fuloong2f is not supported by aalib still preConfigure = '' |