enscript: Build with the default GCC
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user