vorbisgain: Add patch to fix implicit declaration of isatty()
Fixes #370032
This commit is contained in:
parent
47eeefaba3
commit
646113a9dd
10
pkgs/by-name/vo/vorbisgain/isatty.patch
Normal file
10
pkgs/by-name/vo/vorbisgain/isatty.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- vorbisgain-0.37/misc.c 2004-01-03 16:17:28.000000000 -0500
|
||||
+++ vorbisgain-0.37-patched/misc.c 2025-01-07 20:35:13.056221211 -0500
|
||||
@@ -23,6 +23,7 @@
|
||||
#else /* WIN32 */
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#ifndef DISABLE_WINSIZE
|
||||
|
@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1v1h6mhnckmvvn7345hzi9abn5z282g4lyyl4nnbqwnrr98v0vfx";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./isatty.patch
|
||||
];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
buildInputs = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user