freeglut: backport patch for CMake 4

Co-authored-by: K900 <me@0upti.me>
This commit is contained in:
Emily
2025-09-19 16:29:10 +01:00
co-authored by K900
parent db7fb49d9b
commit 2ffd7d91fc
+9
View File
@@ -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"