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