luit: fix build with newer gcc (close #734)

wip/yesman
James Cook 11 years ago committed by Vladimír Čunát
parent d8dd23e285
commit b5553b7cec
  1. 2
      pkgs/servers/x11/xorg/default.nix
  2. 6
      pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl
  3. 6
      pkgs/servers/x11/xorg/overrides.nix

@ -926,7 +926,7 @@ let
url = mirror://xorg/X11R7.7/src/everything/luit-1.1.1.tar.bz2;
sha256 = "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h";
};
buildInputs = [pkgconfig libfontenc ]; configureFlags = "--disable-selective-werror";
buildInputs = [pkgconfig libfontenc ];
})) // {inherit libfontenc ;};
makedepend = (stdenv.mkDerivation ((if overrides ? makedepend then overrides.makedepend else x: x) {

@ -177,12 +177,6 @@ while (<>) {
$extraAttrs{$pkg} = " configureFlags = \"--with-fontrootdir=\$(out)/lib/X11/fonts\"; ";
}
if ($tarball =~ /\/luit-/) {
# See https://bugs.freedesktop.org/show_bug.cgi?id=47792
# Once the bug is fixed upstream, this can be removed.
$extraAttrs{$pkg} = " configureFlags = \"--disable-selective-werror\"; ";
}
sub process {
my $requires = shift;
my $s = shift;

@ -85,6 +85,12 @@ in
propagatedBuildInputs = [ xorg.libSM ];
};
# See https://bugs.freedesktop.org/show_bug.cgi?id=47792
# Once the bug is fixed upstream, this can be removed.
luit = attrs: attrs // {
configureFlags = "--disable-selective-werror";
};
compositeproto = attrs: attrs // {
propagatedBuildInputs = [ xorg.fixesproto ];
};

Loading…
Cancel
Save