diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-11-07 15:57:54 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-11-07 16:00:35 +0100 |
commit | 6ffafc78fbcde4d1df9f81090a51a9b89d951041 (patch) | |
tree | 4b5848aa6c8836045f50f3c79e510364abba5f13 /pkgs/development/tools | |
parent | 4db6d3589175042c0a4c17691fa5cf855053d7fa (diff) | |
parent | f04b64c1e97fcacf6a6272de5a0562ced97db436 (diff) | |
download | nixlib-6ffafc78fbcde4d1df9f81090a51a9b89d951041.tar nixlib-6ffafc78fbcde4d1df9f81090a51a9b89d951041.tar.gz nixlib-6ffafc78fbcde4d1df9f81090a51a9b89d951041.tar.bz2 nixlib-6ffafc78fbcde4d1df9f81090a51a9b89d951041.tar.lz nixlib-6ffafc78fbcde4d1df9f81090a51a9b89d951041.tar.xz nixlib-6ffafc78fbcde4d1df9f81090a51a9b89d951041.tar.zst nixlib-6ffafc78fbcde4d1df9f81090a51a9b89d951041.zip |
Merge branch 'staging'
Main change: glibc: 2.25-x -> 2.26-y, containing security fixes, and various features and deprecations. Unfortunately, some of the latter still cause (transitively) a couple hundred newly failing jobs. I'm not delaying anymore, so that we have the security fix on master. I mainly patched gcc, llvm and icu, but I can't fix everything...
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/git-series/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/tools/parsing/flex/default.nix | 14 |
2 files changed, 14 insertions, 2 deletions
diff --git a/pkgs/development/tools/git-series/default.nix b/pkgs/development/tools/git-series/default.nix index 44120ad023ae..7d94863ea1cb 100644 --- a/pkgs/development/tools/git-series/default.nix +++ b/pkgs/development/tools/git-series/default.nix @@ -17,7 +17,7 @@ buildRustPackage rec { cargoDepsHook = '' ( - cd ${name}-src + cd */ # see https://github.com/git-series/git-series/pull/56 patch -p1 < ${fetchpatch { url = "https://github.com/Mic92/git-series/commit/3aa30a47d74ebf90b444dccdf8c153f07f119483.patch"; diff --git a/pkgs/development/tools/parsing/flex/default.nix b/pkgs/development/tools/parsing/flex/default.nix index 92fba47b756f..4ea11a622ea1 100644 --- a/pkgs/development/tools/parsing/flex/default.nix +++ b/pkgs/development/tools/parsing/flex/default.nix @@ -1,4 +1,6 @@ -{ stdenv, fetchurl, bison, m4 }: +{ stdenv, fetchurl, bison, m4 +, fetchpatch, autoreconfHook, help2man +}: stdenv.mkDerivation rec { name = "flex-${version}"; @@ -9,6 +11,16 @@ stdenv.mkDerivation rec { sha256 = "15g9bv236nzi665p9ggqjlfn4dwck5835vf0bbw2cz7h5c1swyp8"; }; + # Also upstream, will be part of 2.6.5 + # https://github.com/westes/flex/commit/24fd0551333e + patches = [(fetchpatch { + name = "glibc-2.26.patch"; + url = "https://raw.githubusercontent.com/lede-project/source/0fb14a2b1ab2f82c" + + "/tools/flex/patches/200-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch"; + sha256 = "1aarhcmz7mfrgh15pkj6f7ikxa2m0mllw1i1vscsf1kw5d05lw6f"; + })]; + nativeBuildInputs = [ autoreconfHook help2man ]; + buildInputs = [ bison ]; propagatedBuildInputs = [ m4 ]; |