Unverified Commit d7330843 authored by markuskowa's avatar markuskowa Committed by GitHub
Browse files

Merge pull request #174030 from trofi/fix-fno-common-for-orangefs

orangefs: pull upstream fix for -fno-common toolchains
parents 2e01fc66 b12c35dc
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, bison, flex, autoreconfHook
{ lib, stdenv, fetchurl, fetchpatch, bison, flex, autoreconfHook
, openssl, db, attr, perl, tcsh
} :

@@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
    sha256 = "0c2yla615j04ygclfavh8g5miqhbml2r0zs2c5mvkacf9in7p7sq";
  };

  patches = [
    # Pull upstream fix for -fno-common toolchains
    (fetchpatch {
      name = "fno-common.patch";
      url = "https://github.com/waltligon/orangefs/commit/f472beb50356bea657d1c32f1ca8a73e4718fd57.patch";
      sha256 = "0jaq1ffdxgymjciddsy8h8r87nwbif4v5yv4wd7jxysn25a0hdai";
    })
  ];

  nativeBuildInputs = [ bison flex perl autoreconfHook ];
  buildInputs = [ openssl db attr tcsh ];