mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
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:
commit
951ef60b2b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user