forked from mirrors/nixpkgs
xfitter: 2.0.0 -> 2.0.1, fix build w/ gcc9
This commit is contained in:
parent
3c00902c71
commit
81248e703c
|
@ -2,19 +2,20 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xfitter";
|
||||
version = "2.0.0";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
name = "${pname}-${version}.tgz";
|
||||
url = "https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=get&target=${pname}-${version}.tgz";
|
||||
sha256 = "0j47s8laq3aqjlgp769yicvgyzqjb738a3rqss51d9fjrihi2515";
|
||||
sha256 = "0kmgc67nw5flp92yw5x6l2vsnhwsfi5z2a20404anisdgdjs8zc6";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./undefined_behavior.patch
|
||||
];
|
||||
|
||||
CXXFLAGS = "-Werror=return-type";
|
||||
# patch needs to updated due to version bump
|
||||
#CXXFLAGS = "-Werror=return-type";
|
||||
|
||||
preConfigure =
|
||||
# Fix F77LD to workaround for a following build error:
|
||||
|
|
Loading…
Reference in a new issue