xfitter: 2.0.0 -> 2.0.1, fix build w/ gcc9

This commit is contained in:
Franz Pletz 2019-12-27 02:59:34 +01:00
parent 3c00902c71
commit 81248e703c
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -2,19 +2,20 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xfitter"; pname = "xfitter";
version = "2.0.0"; version = "2.0.1";
src = fetchurl { src = fetchurl {
name = "${pname}-${version}.tgz"; name = "${pname}-${version}.tgz";
url = "https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=get&target=${pname}-${version}.tgz"; url = "https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=get&target=${pname}-${version}.tgz";
sha256 = "0j47s8laq3aqjlgp769yicvgyzqjb738a3rqss51d9fjrihi2515"; sha256 = "0kmgc67nw5flp92yw5x6l2vsnhwsfi5z2a20404anisdgdjs8zc6";
}; };
patches = [ patches = [
./undefined_behavior.patch ./undefined_behavior.patch
]; ];
CXXFLAGS = "-Werror=return-type"; # patch needs to updated due to version bump
#CXXFLAGS = "-Werror=return-type";
preConfigure = preConfigure =
# Fix F77LD to workaround for a following build error: # Fix F77LD to workaround for a following build error: