Merge #66528: glibc: 2.27 -> 2.30 (into staging)
Includes update of stdenv bootstap tools (for three main platforms) and many package fixes with new glibc.
This commit is contained in:
@@ -5,4 +5,5 @@ callPackage ./generic.nix ({
|
||||
version = "4.8.1.0";
|
||||
sha256 = "1vyvp2g28ihcgxgxr8nhzyzdmzicsh5djzk8dk1hj5p5f2k3ijqq";
|
||||
enableParallelBuilding = false; # #32386, https://hydra.nixos.org/build/65600645
|
||||
extraPatches = [ ./mono4-glibc.patch ];
|
||||
})
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus, libX11, callPackage, ncurses, zlib, withLLVM ? false, cacert, Foundation, libobjc, python, version, sha256, autoconf, libtool, automake, cmake, which
|
||||
, enableParallelBuilding ? true
|
||||
, srcArchiveSuffix ? "tar.bz2"
|
||||
, extraPatches ? []
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -22,8 +23,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [glib];
|
||||
|
||||
NIX_LDFLAGS = if stdenv.isDarwin then "" else "-lgcc_s" ;
|
||||
|
||||
# To overcome the bug https://bugzilla.novell.com/show_bug.cgi?id=644723
|
||||
dontDisableStatic = true;
|
||||
|
||||
@@ -44,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# We want pkg-config to take priority over the dlls in the Mono framework and the GAC
|
||||
# because we control pkg-config
|
||||
patches = [ ./pkgconfig-before-gac.patch ];
|
||||
patches = [ ./pkgconfig-before-gac.patch ] ++ extraPatches;
|
||||
|
||||
# Patch all the necessary scripts. Also, if we're using LLVM, we fix the default
|
||||
# LLVM path to point into the Mono LLVM build, since it's private anyway.
|
||||
|
||||
12
pkgs/development/compilers/mono/mono4-glibc.patch
Normal file
12
pkgs/development/compilers/mono/mono4-glibc.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c
|
||||
index 53c271a4..84bd3252 100644
|
||||
--- a/mono/io-layer/processes.c
|
||||
+++ b/mono/io-layer/processes.c
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_SIGNAL_H
|
||||
#include <signal.h>
|
||||
@@ -17,6 +17,8 @@ stdenv.mkDerivation {
|
||||
postPatch = ''
|
||||
sed -i src/wsh/include/libwitch/wsh.h src/wsh/scripts/INDEX \
|
||||
-e "s#/usr/share/wcc#$out/share/wcc#"
|
||||
|
||||
sed -i -e '/stropts.h>/d' src/wsh/include/libwitch/wsh.h
|
||||
'';
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{ fetchFromGitHub, stdenv, makeWrapper, unzip, libxml2, m4, uthash, which }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "z88dk";
|
||||
version = "unstable-2019-05-09";
|
||||
pname = "z88dk-unstable";
|
||||
version = "2020-01-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "z88dk";
|
||||
repo = "z88dk";
|
||||
rev = "826d68632c3a7c17df88dd2ec54571a6041da69c";
|
||||
sha256 = "104qgb01sdb97mkcxnq1cdlqi5qvjm4rd9bg5r42pdfz81ss49xj";
|
||||
rev = "efdd07c2e2229cac7cfef97ec01f478004846e39";
|
||||
sha256 = "0jcks5ygp256lmzmllffp4yb38cxjgdyqnnimkj4s65095cfasyb";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user