mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
luit: configure --disable-selective-werror
Compiling luit failed with "implicit declaration of function 'posix_openpt'". Following suggestion at https://bugs.freedesktop.org/show_bug.cgi?id=47792 to fix it.
This commit is contained in:
parent
dc8d794208
commit
d8dd23e285
@ -926,7 +926,7 @@ let
|
||||
url = mirror://xorg/X11R7.7/src/everything/luit-1.1.1.tar.bz2;
|
||||
sha256 = "0dn694mk56x6hdk6y9ylx4f128h5jcin278gnw2gb807rf3ygc1h";
|
||||
};
|
||||
buildInputs = [pkgconfig libfontenc ];
|
||||
buildInputs = [pkgconfig libfontenc ]; configureFlags = "--disable-selective-werror";
|
||||
})) // {inherit libfontenc ;};
|
||||
|
||||
makedepend = (stdenv.mkDerivation ((if overrides ? makedepend then overrides.makedepend else x: x) {
|
||||
|
@ -177,6 +177,12 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user