Remove C++-style comment from sys/acl.h
svn path=/nixpkgs/branches/stdenv-updates/; revision=21581
This commit is contained in:
parent
646d7a2eb0
commit
c2c4990057
@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
|
||||
buildNativeInputs = [gettext];
|
||||
buildInputs = [attr libtool];
|
||||
|
||||
# Upstream use C++-style comments in C code. Remove them.
|
||||
# This comment breaks compilation if too strict gcc flags are used.
|
||||
patchPhase = ''
|
||||
echo "Removing C++-style comments from include/acl.h"
|
||||
sed -e '/^\/\//d' -i include/acl.h
|
||||
'';
|
||||
|
||||
configureFlags = "MAKE=make LIBTOOL=libtool MSGFMT=msgfmt MSGMERGE=msgmerge XGETTEXT=xgettext ZIP=gzip ECHO=echo SED=sed AWK=gawk";
|
||||
|
||||
installTargets = "install install-lib install-dev";
|
||||
|
Loading…
Reference in New Issue
Block a user