enscript: Build with the default GCC

This commit is contained in:
Eelco Dolstra 2014-07-23 11:25:38 +02:00
parent 922af7f158
commit 4c2c0499f3
2 changed files with 8 additions and 6 deletions

View File

@ -8,6 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "1fy0ymvzrrvs889zanxcaxjfcxarm2d3k43c9frmbl1ld7dblmkd";
};
preBuild =
''
# Fix building on Darwin with GCC.
substituteInPlace compat/regex.c --replace \
__private_extern__ '__attribute__ ((visibility ("hidden")))'
'';
buildInputs = [ gettext ];
doCheck = true;

View File

@ -949,12 +949,7 @@ let
encfs = callPackage ../tools/filesystems/encfs { };
enscript = callPackage ../tools/text/enscript {
# fix syntax errors
stdenv = if stdenv.isDarwin
then clangStdenv
else stdenv;
};
enscript = callPackage ../tools/text/enscript { };
ethtool = callPackage ../tools/misc/ethtool { };