Merge branch 'staging' (older one)

This commit is contained in:
Vladimír Čunát
2017-12-08 10:22:31 +01:00
25 changed files with 78 additions and 87 deletions

View File

@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "nasm-${version}";
version = "2.13.01";
version = "2.13.02";
src = fetchurl {
url = "http://www.nasm.us/pub/nasm/releasebuilds/${version}/${name}.tar.bz2";
sha256 = "1ylqs4sqh0paia970v6hpdgq5icxns9zlg21qql232bz1apppy88";
sha256 = "1gmvjckxvkmx1kbglgrakc98qhy55xlqlk5flrdihz5yhv92hc4d";
};
nativeBuildInputs = [ perl ];

View File

@@ -48,6 +48,8 @@ stdenv.mkDerivation rec {
# HACK, see #10874 (and 14664)
buildInputs = stdenv.lib.optional (!stdenv.isLinux && !hostPlatform.isCygwin) libiconv;
setupHook = ./gettext-setup-hook.sh;
enableParallelBuilding = true;
meta = {

View File

@@ -0,0 +1,7 @@
gettextDataDirsHook() {
if [ -d "$1/share/gettext" ]; then
addToSearchPath GETTEXTDATADIRS "$1/share/gettext"
fi
}
envHooks+=(gettextDataDirsHook)

View File

@@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
buildInputs = [ perl texinfo ];
nativeBuildInputs = [ texinfo ];
buildInputs = [ perl ];
doCheck = true;

View File

@@ -1,14 +0,0 @@
diff --git a/lib/stdint.in.h b/lib/stdint.in.h
index 997e406..e0827f5 100644
--- a/lib/stdint.in.h
+++ b/lib/stdint.in.h
@@ -53,7 +53,8 @@
in <inttypes.h> would reinclude us, skipping our contents because
_GL_STDINT_H is defined.
The include_next requires a split double-inclusion guard. */
-# @INCLUDE_NEXT@ @NEXT_STDINT_H@
+# include <inttypes.h>
+// # @INCLUDE_NEXT@ @NEXT_STDINT_H@
#endif
#if ! defined _GL_STDINT_H && ! defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H

View File

@@ -1,28 +1,25 @@
{ fetchurl, stdenv, libiconv }:
stdenv.mkDerivation rec {
name = "libunistring-0.9.7";
name = "libunistring-${version}";
version = "0.9.8";
src = fetchurl {
url = "mirror://gnu/libunistring/${name}.tar.gz";
sha256 = "1ra1baz2187kbw9im47g6kqb5mx9plq703mkjxaval8rxv5q3q4w";
sha256 = "1x9wnpzg7vxyjpnzab6vw0afbcijfbd57qrrkqrppynh0nyz54mp";
};
patches = stdenv.lib.optionals stdenv.isDarwin [ ./clang.patch stdenv.secure-format-patch ];
outputs = [ "out" "dev" "info" "doc" ];
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
enableParallelBuilding = false;
configureFlags = [
"--with-libiconv-prefix=${libiconv}"
];
# XXX: There are test failures on non-GNU systems, see
# http://lists.gnu.org/archive/html/bug-libunistring/2010-02/msg00004.html .
doCheck = (stdenv ? glibc) && (stdenv.hostPlatform == stdenv.buildPlatform);
doCheck = true;
enableParallelBuilding = true;
meta = {
homepage = http://www.gnu.org/software/libunistring/;

View File

@@ -11,7 +11,7 @@
}:
stdenv.mkDerivation rec {
version = if abiVersion == "5" then "5.9" else "6.0-20170902";
version = if abiVersion == "5" then "5.9" else "6.0-20171125";
name = "ncurses-${version}";
src = fetchurl (if abiVersion == "5" then {
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
sha256 = "0fsn7xis81za62afan0vvm38bvgzg5wfmv1m86flqcj0nj7jjilh";
} else {
url = "ftp://ftp.invisible-island.net/ncurses/current/${name}.tgz";
sha256 = "1cks4gsz4148jw6wpqia4w5jx7cfxr29g2kmpvp0ssmvwczh8dr4";
sha256 = "11adzj0k82nlgpfrflabvqn2m7fmhp2y6pd7ivmapynxqb9vvb92";
});
patches = [ ./clang.patch ] ++ lib.optional (abiVersion == "5" && stdenv.cc.isGNU) ./gcc-5.patch;

View File

@@ -1,11 +1,11 @@
{ stdenv, hostPlatform, fetchurl, perl, gettext, LocaleGettext, makeWrapper }:
stdenv.mkDerivation rec {
name = "help2man-1.47.4";
name = "help2man-1.47.5";
src = fetchurl {
url = "mirror://gnu/help2man/${name}.tar.xz";
sha256 = "0lvp4306f5nq08f3snffs5pp1zwv8l35z6f5g0dds51zs6bzdv6l";
sha256 = "1cb14kp380jzk1yi4i7x9d8qplc8c5mgcbgycgs9ggpx34jhp9kw";
};
nativeBuildInputs = [ makeWrapper gettext LocaleGettext ];

View File

@@ -2,13 +2,14 @@
stdenv.mkDerivation rec {
name = "libtool-1.5.26";
src = fetchurl {
url = "mirror://gnu/libtool/${name}.tar.gz";
sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
};
buildInputs = [m4 perl];
nativeBuildInputs = [m4];
buildInputs = [perl];
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
# "fixed" path in generated files!