Merge pull request #272405 from a-n-n-a-l-e-e/catdvi

catdvi: fix generated code in configure script; fix darwin
This commit is contained in:
7c6f434c 2023-12-08 08:49:37 +00:00 committed by GitHub
commit 951ef60b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,11 @@ stdenv.mkDerivation (finalAttrs: {
})
];
# fix implicit-int compile error in test code used in configure script
postPatch = ''
sed -i 's/^main()/int main()/' configure
'';
hardeningDisable = [ "format" ];
outputs = [ "out" ] ++ lib.optional (with stdenv; buildPlatform.canExecute hostPlatform) "dev";