Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/gcc-8' into staging-next
Browse files Browse the repository at this point in the history
Earlier the gcc8 branch was merged instead of the gcc-8 branch (note the dash)...
  • Loading branch information
FRidh committed Sep 8, 2019
2 parents ccc8c73 + e729736 commit 5f4734b
Show file tree
Hide file tree
Showing 70 changed files with 275 additions and 659 deletions.
10 changes: 5 additions & 5 deletions pkgs/applications/audio/amarok/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
, curl, ffmpeg, gdk-pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras
}:

mkDerivation {
mkDerivation rec {
pname = "amarok";
version = "2.9.0-20190731";
version = "2.9.0-20190824";

src = fetchgit {
# master has the Qt5 version as of April 2018 but a formal release has not
# yet been made so change this back to the proper upstream when such a
# release is out
url = git://anongit.kde.org/amarok.git;
# url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.CZ";
rev = "783da6d8e93737f5e41a3bc017906dc1f94bb94f";
sha256 = "08bypxk5kaay98hbwz9pj3hwgiyk3qmn9qw99bnjkkkw9wzsxiy6";
# url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
rev = "457fbda25a85a102bfda92aa7137e7ef5e4c8b00";
sha256 = "1ig2mg8pqany6m2zplkrvldcv4ibxwsypnyv5igm7nz7ax82cd5j";
};

nativeBuildInputs = [ extra-cmake-modules kdoctools ];
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/graphics/gnuclad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "0ka2kscpjff7gflsargv3r9fdaxhkf3nym9mfaln3pnq6q7fwdki";
};

NIX_CFLAGS_COMPILE = [ "-Wno-error=catch-value" ];

nativeBuildInputs = [ pkgconfig ];

meta = with stdenv.lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/getxbook/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs";
};

NIX_CFLAGS_COMPILE = [ "-Wno-error=format-truncation" "-Wno-error=deprecated-declarations" ];

buildInputs = [ openssl ];

makeFlags = [ "PREFIX=$(out)" ];

NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";

meta = with stdenv.lib; {
description = "A collection of tools to download books from Google Books";
homepage = https://njw.me.uk/getxbook/;
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/misc/netsurf/libwapcaplet/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];

NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";

meta = with stdenv.lib; {
homepage = http://www.netsurf-browser.org/;
description = "String internment library for netsurf browser";
Expand Down
3 changes: 3 additions & 0 deletions pkgs/applications/networking/cluster/mesos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ in stdenv.mkDerivation rec {
propagatedBuildInputs = [
pythonProtobuf
];

NIX_CFLAGS_COMPILE = "-Wno-error=format-overflow -Wno-error=class-memaccess";

preConfigure = ''
# https://issues.apache.org/jira/browse/MESOS-6616
configureFlagsArray+=(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{ stdenv, fetchgit, pkgconfig, pidgin, libwebp, libgcrypt, gettext } :

let
version = "1.3.0";
version = "1.3.1";
in
stdenv.mkDerivation rec {
pname = "telegram-purple";
inherit version;

src = fetchgit {
url = "https://github.com/majn/telegram-purple";
rev = "0340e4f14b2480782db4e5b9242103810227c522";
sha256 = "1xb7hrgisbpx00dsrm5yz934bdd7nfzicd7k855iynk3hjzqj7k5";
rev = "v${version}";
sha256 = "0p93jpjpx7hszwffzgixw04zkrpsiyzz4za3gfr4j07krc4771fp";
};

NIX_CFLAGS_COMPILE = [ "-Wno-error=cast-function-type" ];

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ pidgin libwebp libgcrypt gettext ];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/irc/bip/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
})
];

NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" "-Wno-error=duplicate-decl-specifier" ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" "-Wno-error=duplicate-decl-specifier" "-Wno-error=format-truncation" ];

meta = {
description = "An IRC proxy (bouncer)";
Expand Down
10 changes: 9 additions & 1 deletion pkgs/applications/science/biology/ants/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, makeWrapper, itk, vtk }:
{ stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, itk, vtk }:

stdenv.mkDerivation rec {
_name = "ANTs";
Expand All @@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
sha256 = "1hrdwv3m9xh3yf7l0rm2ggxc2xzckfb8srs88g485ibfszx7i03q";
};

patches = [
# Fix build with gcc8
(fetchpatch {
url = "https://github.com/ANTsX/ANTs/commit/89af9b2694715bf8204993e032fa132f80cf37bd.patch";
sha256 = "1glkrwa1jmxxbmzihycxr576azjqby31jwpj165qc54c91pn0ams";
})
];

nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ itk vtk ];

Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/chez/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation";

/*
** We patch out a very annoying 'feature' in ./configure, which
** tries to use 'git' to update submodules.
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/edk2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ edk2 = stdenv.mkDerivation {
buildInputs = [ libuuid pythonEnv ];

makeFlags = [ "-C BaseTools" ];
NIX_CFLAGS_COMPILE = "-Wno-return-type -Wno-error=stringop-truncation";

hardeningDisable = [ "format" "fortify" ];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/iasl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "iasl";
version = "20181213";
version = "20190108";

src = fetchurl {
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
sha256 = "1vgqlv9pvxc52faxixpgz7hi1awqmj88bw5vqn3bldf6fmkh147w";
sha256 = "0bqhr3ndchvfhxb31147z8gd81dysyz5dwkvmp56832d0js2564q";
};

NIX_CFLAGS_COMPILE = [
Expand Down
60 changes: 0 additions & 60 deletions pkgs/development/compilers/llvm/3.8/D17533-1.patch

This file was deleted.

81 changes: 0 additions & 81 deletions pkgs/development/compilers/llvm/3.8/clang/default.nix

This file was deleted.

17 changes: 0 additions & 17 deletions pkgs/development/compilers/llvm/3.8/clang/purity.patch

This file was deleted.

59 changes: 0 additions & 59 deletions pkgs/development/compilers/llvm/3.8/default.nix

This file was deleted.

11 changes: 0 additions & 11 deletions pkgs/development/compilers/llvm/3.8/fix-llvm-config.patch

This file was deleted.

Loading

0 comments on commit 5f4734b

Please sign in to comment.