mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 18:54:42 +00:00
catdvi: fix generated code in configure script; fix darwin
add an int to generated main function to fix implicit int error
This commit is contained in:
parent
0c6d8c7833
commit
9559cea14a
@ -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