mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
tetex: turn off format hardening
This commit is contained in:
parent
37918bdc7a
commit
09a3349a79
@ -2,7 +2,7 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tetex-3.0";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-3.0.tar.gz;
|
||||
md5 = "944a4641e79e61043fdaf8f38ecbb4b3";
|
||||
@ -15,6 +15,8 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ flex bison zlib libpng ncurses ed ];
|
||||
|
||||
hardening_format = false;
|
||||
|
||||
# fixes "error: conflicting types for 'calloc'", etc.
|
||||
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 57d texk/kpathsea/c-std.h
|
||||
|
Loading…
Reference in New Issue
Block a user