mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
ecopcr: fix build (#406441)
This commit is contained in:
commit
748fab98d6
2 changed files with 16 additions and 0 deletions
12
pkgs/by-name/ec/ecopcr/gcc14.patch
Normal file
12
pkgs/by-name/ec/ecopcr/gcc14.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/src/ecogrep.c b/src/ecogrep.c
|
||||||
|
index 8d45312..d9fe676 100644
|
||||||
|
--- a/src/ecogrep.c
|
||||||
|
+++ b/src/ecogrep.c
|
||||||
|
@@ -5,6 +5,7 @@
|
||||||
|
#include <getopt.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
|
||||||
|
|
||||||
|
#define VERSION "0.1"
|
|
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-ssvWpi7HuuRRAkpqqrX3ijLuBqM3QsrmrG+t7/m6fZA=";
|
hash = "sha256-ssvWpi7HuuRRAkpqqrX3ijLuBqM3QsrmrG+t7/m6fZA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./gcc14.patch
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gcc
|
gcc
|
||||||
python3
|
python3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue