From f7d6b178759083890234a83f0ab539f676a8ca6f Mon Sep 17 00:00:00 2001 From: Reno Dakota Date: Tue, 31 Dec 2024 03:17:50 -0800 Subject: [PATCH] libossp_uuid: remove invalid ac_cv_va_copy value use `ac_cv_va_copy=C99` rather than the invalid value of `yes` Change 5c7cfbc0f11e360f50467b20a407c675c976d3a0 set ac_cv_va_copy=yes which results in ``` ``` and there is no definition for __VA_COPY_USE_yes, it needs to be __VA_COPY_USE_{ASP,...,C99,...,GCM}. While __VA_COPY_USE_yes is wrong it didn't cause issues because stdarg.h is included later and just redefines va_copy. However, the headers with clang-19 do not redefine va_copy and the compile fails. --- pkgs/by-name/li/libossp_uuid/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libossp_uuid/package.nix b/pkgs/by-name/li/libossp_uuid/package.nix index a04339778f05..57078f4741eb 100644 --- a/pkgs/by-name/li/libossp_uuid/package.nix +++ b/pkgs/by-name/li/libossp_uuid/package.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { }; configureFlags = [ - "ac_cv_va_copy=yes" + "ac_cv_va_copy=C99" ] ++ lib.optional stdenv.hostPlatform.isFreeBSD "--with-pic"; patches = [ ./shtool.patch ];