Commit 2ffd7d91 authored by Emily's avatar Emily
Browse files

freeglut: backport patch for CMake 4



Co-authored-by: default avatarK900 <me@0upti.me>
parent db7fb49d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchurl,
  fetchpatch,
  libICE,
  libXext,
  libXi,
@@ -22,6 +23,14 @@ stdenv.mkDerivation (finalAttrs: {
    sha256 = "sha256-nD1NZRb7+gKA7ck8d2mPtzA+RDwaqvN9Jp4yiKbD6lI=";
  };

  patches = [
    (fetchpatch {
      name = "freeglut-fix-cmake-4.patch";
      url = "https://github.com/freeglut/freeglut/commit/2294389397912c9a6505a88221abb7dca0a4fb79.patch";
      hash = "sha256-buNhlVUbDekklnar6KFWN/GUKE+jMEqTGrY3LY0LwVs=";
    })
  ];

  outputs = [
    "out"
    "dev"