clisp_2_44_1: disable format hardening

This commit is contained in:
Robin Gloster 2016-02-29 09:44:42 +00:00
parent 4d6db3c64c
commit 85515f0be8

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, libsigsegv, gettext, ncurses, readline, libX11 { stdenv, fetchurl, libsigsegv, gettext, ncurses, readline, libX11
, libXau, libXt, pcre, zlib, libXpm, xproto, libXext, xextproto , libXau, libXt, pcre, zlib, libXpm, xproto, libXext, xextproto
, libffi, libffcall, coreutils }: , libffi, libffcall, coreutils }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
v = "2.44.1"; v = "2.44.1";
name = "clisp-${v}"; name = "clisp-${v}";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/clisp/release/${v}/${name}.tar.gz"; url = "mirror://gnu/clisp/release/${v}/${name}.tar.gz";
sha256 = "0rkp6j6rih4s5d9acifh7pi4b9xfgcspif512l269dqy9qgyy4j1"; sha256 = "0rkp6j6rih4s5d9acifh7pi4b9xfgcspif512l269dqy9qgyy4j1";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
zlib libXpm xproto libXext xextproto libffi libffcall ]; zlib libXpm xproto libXext xextproto libffi libffcall ];
patches = [ ./bits_ipctypes_to_sys_ipc.patch ]; # from Gentoo patches = [ ./bits_ipctypes_to_sys_ipc.patch ]; # from Gentoo
# First, replace port 9090 (rather low, can be used) # First, replace port 9090 (rather low, can be used)
# with 64237 (much higher, IANA private area, not # with 64237 (much higher, IANA private area, not
# anything rememberable). # anything rememberable).
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
substituteInPlace modules/bindings/glibc/linux.lisp --replace "(def-c-type __swblk_t)" "" substituteInPlace modules/bindings/glibc/linux.lisp --replace "(def-c-type __swblk_t)" ""
''; '';
configureFlags = configureFlags =
'' ''
--with-readline builddir --with-dynamic-ffi --with-readline builddir --with-dynamic-ffi
@ -45,6 +45,8 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE="-O0"; NIX_CFLAGS_COMPILE="-O0";
hardening_format = false;
# TODO : make mod-check fails # TODO : make mod-check fails
doCheck = false; doCheck = false;