Commit 8c37b89f authored by Palmer Cox's avatar Palmer Cox
Browse files

openscenegraph: Fixing compiling on Darwin

The pull request on OpenSceneGraph contains an explanation of why this
is necessary:
https://github.com/openscenegraph/OpenSceneGraph/pull/1360. This fixes
compiling on Darwin, which was broken by the change to have libtiff
compiled with CMake in 8b724434 which
was merged as part of https://github.com/NixOS/nixpkgs/pull/366566.
parent dad56443
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -137,6 +137,11 @@ stdenv.mkDerivation rec {
      url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-games/openscenegraph/files/openscenegraph-3.6.5-openexr3.patch?id=0f642d8f09b589166f0e0c0fc84df7673990bf3f";
      hash = "sha256-fdNbkg6Vp7DeDBTe5Zso8qJ5v9uPSXHpQ5XlGkvputk=";
    })
    # Fix compiling with libtiff when libtiff is compiled using CMake
    (fetchurl {
      url = "https://github.com/openscenegraph/OpenSceneGraph/commit/9da8d428f6666427c167b951b03edd21708e1f43.patch";
      hash = "sha256-YGG/DIHU1f6StbeerZoZrNDm348wYB3ydmVIIGTM7fU=";
    })
  ];

  cmakeFlags =