chuck: 1.4.2.0 -> 1.5.5.5, fix build w/ glibc-2.42

Failing Hydra build: https://hydra.nixos.org/build/308304933
ChangeLog: https://chuck.stanford.edu/release/VERSIONS
This commit is contained in:
Maximilian Bosch
2026-01-03 20:39:43 +01:00
parent 6585c8e80a
commit 96a5f202c4
2 changed files with 2 additions and 17 deletions
@@ -1,13 +0,0 @@
--- a/src/core/util_string.cpp 2014-10-27 22:52:11.875981552 +0100
+++ b/src/core/util_string.cpp 2014-10-27 22:54:18.613001994 +0100
@@ -40,6 +40,10 @@
#include <linux/limits.h>
#endif // __PLATFORM_LINUX__
+#ifdef __PLATFORM_MACOSX__
+#include <limits.h>
+#endif // __PLATFORM_MACOSX__
+
#include <stdio.h>
using namespace std;
+2 -4
View File
@@ -12,12 +12,12 @@
}:
stdenv.mkDerivation rec {
version = "1.4.2.0";
version = "1.5.5.5";
pname = "chuck";
src = fetchurl {
url = "http://chuck.cs.princeton.edu/release/files/chuck-${version}.tgz";
sha256 = "sha256-hIwsC9rYgXWSTFqUufKGqoT0Gnsf4nR4KQ0iSVbj8xg=";
sha256 = "sha256-fxbTW0wcKn1q6psRhhCe6pHFJTPFfZUTCmlGr7gFoRU=";
};
nativeBuildInputs = [
@@ -32,8 +32,6 @@ stdenv.mkDerivation rec {
buildInputs = [ libsndfile ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) alsa-lib;
patches = [ ./darwin-limits.patch ];
makeFlags = [
"-C src"
"DESTDIR=$(out)/bin"