diff options
Diffstat (limited to 'misc/detachtty/files')
-rw-r--r-- | misc/detachtty/files/patch-Makefile | 23 | ||||
-rw-r--r-- | misc/detachtty/files/patch-copy-stream.c | 11 |
2 files changed, 0 insertions, 34 deletions
diff --git a/misc/detachtty/files/patch-Makefile b/misc/detachtty/files/patch-Makefile deleted file mode 100644 index 5ed43a0acc3c..000000000000 --- a/misc/detachtty/files/patch-Makefile +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.orig 2003-08-04 17:32:23.000000000 +0800 -+++ Makefile 2014-06-08 23:33:51.093015991 +0800 -@@ -3,9 +3,9 @@ - # for details - - # Linux 2.4 --OS_CFLAGS=-DNEED_PTY_H -+#OS_CFLAGS=-DNEED_PTY_H - # FreeBSD, version unknown --#OS_CFLAGS=-DNEED_LIBUTIL_H -+OS_CFLAGS=-DNEED_LIBUTIL_H - # Solaris, some version of - #OS_CFLAGS=-DNEED_STRINGS_H -DNEED_LOCAL_FORKPTY_H - # MacOS X needs libpoll from fink -@@ -23,7 +23,7 @@ OS_OBJECTS= - # no forkpty in Solaris or MacOS X - # OS_OBJECTS=forkpty.o - --INSTALL_DIR=/usr/local/bin -+INSTALL_DIR=${PREFIX}/bin - - # You probably don't need to edit anything below this line - diff --git a/misc/detachtty/files/patch-copy-stream.c b/misc/detachtty/files/patch-copy-stream.c deleted file mode 100644 index 8b72d933e45e..000000000000 --- a/misc/detachtty/files/patch-copy-stream.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./copy-stream.c.orig 2003-01-18 15:03:15.000000000 +0100 -+++ ./copy-stream.c 2012-08-24 13:22:21.932915476 +0200 -@@ -21,7 +21,7 @@ - - int output_buffer(int fd) { - int bytes_written=0,bytes_to_write=bytes_in_buf; -- if(fd<0) return; -+ if(fd<0) return 0; - while(bytes_to_write>0) { - bytes_written=write(fd,buf,bytes_to_write); - if(bytes_written==-1) return -1; |