diff options
author | zimbatm <zimbatm@zimbatm.com> | 2015-11-14 17:02:02 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2015-11-15 11:26:56 +0100 |
commit | 71b08ef38e58446c21281b681c9834e270e0d2f9 (patch) | |
tree | 11fe3c80f110d6be86a4b4c98f2a3e06c8de4036 /pkgs/tools/misc/ttyrec/clang-fixes.patch | |
parent | 58d870d4b524449f825ca08822a508385c96e2d3 (diff) | |
download | nixlib-71b08ef38e58446c21281b681c9834e270e0d2f9.tar nixlib-71b08ef38e58446c21281b681c9834e270e0d2f9.tar.gz nixlib-71b08ef38e58446c21281b681c9834e270e0d2f9.tar.bz2 nixlib-71b08ef38e58446c21281b681c9834e270e0d2f9.tar.lz nixlib-71b08ef38e58446c21281b681c9834e270e0d2f9.tar.xz nixlib-71b08ef38e58446c21281b681c9834e270e0d2f9.tar.zst nixlib-71b08ef38e58446c21281b681c9834e270e0d2f9.zip |
ttyrec: init at 1.0.8
Diffstat (limited to 'pkgs/tools/misc/ttyrec/clang-fixes.patch')
-rw-r--r-- | pkgs/tools/misc/ttyrec/clang-fixes.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ttyrec/clang-fixes.patch b/pkgs/tools/misc/ttyrec/clang-fixes.patch new file mode 100644 index 000000000000..126ab44090eb --- /dev/null +++ b/pkgs/tools/misc/ttyrec/clang-fixes.patch @@ -0,0 +1,21 @@ +diff -ru ttyrec-1.0.8.orig/io.h ttyrec-1.0.8/io.h +--- ttyrec-1.0.8.orig/io.h 2006-06-11 17:52:50.000000000 +0200 ++++ ttyrec-1.0.8/io.h 2015-11-15 09:59:54.000000000 +0100 +@@ -9,5 +9,6 @@ + int edup (int oldfd); + int edup2 (int oldfd, int newfd); + FILE* efdopen (int fd, const char *mode); ++void set_progname (const char *name); + + #endif +diff -ru ttyrec-1.0.8.orig/ttyrec.c ttyrec-1.0.8/ttyrec.c +--- ttyrec-1.0.8.orig/ttyrec.c 2006-06-11 17:52:50.000000000 +0200 ++++ ttyrec-1.0.8/ttyrec.c 2015-11-15 09:59:41.000000000 +0100 +@@ -54,6 +54,7 @@ + #include <unistd.h> + #include <string.h> + #include <stdlib.h> ++#include <signal.h> + + #if defined(SVR4) + #include <fcntl.h> |