xconq: turn off format hardening

This commit is contained in:
Robin Gloster 2016-02-07 22:30:22 +00:00
parent 65e6aa4a31
commit 046b40f573

View File

@ -3,9 +3,9 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${baseName}-${version}"; name = "${baseName}-${version}";
baseName="xconq"; baseName = "xconq";
version = "7.5.0-0pre.0.20050612"; version = "7.5.0-0pre.0.20050612";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/project/${baseName}/${baseName}/${name}/${name}.tar.gz"; url = "mirror://sourceforge/project/${baseName}/${baseName}/${name}/${name}.tar.gz";
sha256 = "1za78yx57mgwcmmi33wx3533yz1x093dnqis8q2qmqivxav51lca"; sha256 = "1za78yx57mgwcmmi33wx3533yz1x093dnqis8q2qmqivxav51lca";
@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
"--with-tkconfig=${tk}/lib" "--with-tkconfig=${tk}/lib"
]; ];
hardening_format = false;
patchPhase = '' patchPhase = ''
# Fix Makefiles # Fix Makefiles
find . -name 'Makefile.in' -exec sed -re 's@^ ( *)(cd|[&][&])@ \1\2@' -i '{}' ';' find . -name 'Makefile.in' -exec sed -re 's@^ ( *)(cd|[&][&])@ \1\2@' -i '{}' ';'