neko: Fix build against glibc 2.26
The header file xlocale.h has been removed in glibc 2.26. Quoting the release notes[1]: * The nonstandard header <xlocale.h> has been removed. Most programs should use <locale.h> instead. If you have a specific need for the definition of locale_t with no other declarations, please contact libc-alpha@sourceware.org and explain. I've backported HaxeFoundation/neko@e286c8f330 against version 2.1.0 and the build now succeeds. Signed-off-by: aszlig <aszlig@nix.build>
This commit is contained in:
@@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
|
||||
+ "c6d9c6d796200990b3b6a53a4dc716c9192398e6.patch";
|
||||
sha256 = "1pq0qhhb9gbhc3zbgylwp0amhwsz0q0ggpj6v2xgv0hfy7d63rcd";
|
||||
})
|
||||
# Glibc 2.26 no longer has xlocale.h, patch backported from upstream commit
|
||||
# e286c8f3301fa443255a3101d14b7392467051b8.
|
||||
./xlocale-fix.patch
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
|
||||
Reference in New Issue
Block a user