diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-03-06 15:05:43 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-03-06 15:05:43 +0000 |
commit | ba2885d840d3c067348f53c5f7568f0b42887cf9 (patch) | |
tree | 8ecee83305fb2df252aad7edc8ac22099a13d7e3 /misc/splitvt/files/patch-misc.c | |
parent | - Update to 4.5.24 (diff) |
Remove expired, unmaintained ports:
2013-03-01 sysutils/sge60: Ancient and unsupported release
2013-03-01 sysutils/sge61: Ancient and unsupported release
2013-03-05 x11-themes/sapphire-themes: Broken for more than 6 month
2013-03-05 misc/fep: Broken for more than 6 month
2013-03-05 devel/gauche-gaunit: Broken for more than 6 month
2013-03-05 games/tuxracer_golf: Broken for more than 6 month
2013-03-05 net/bfilter: Broken for more than 6 month
2013-03-05 graphics/fnlib: Broken for more than 6 month
2013-03-05 print/gfontview: Broken for more than 6 month
2013-03-05 print/hugelatex: Broken for more than 6 month
2013-03-05 misc/gtktalog: Broken for more than 6 month
2013-03-05 x11/wterm: Broken for more than 6 month
2013-03-05 databases/xapian-bindings10: Broken for more than 6 month
2013-03-05 databases/adstudio: Broken for more than 6 month
2013-03-05 misc/splitvt: Broken for more than 6 month
2013-03-05 sysutils/udesc_dump: Broken for more than 6 month
2013-03-05 textproc/gxditview: Broken for more than 6 month
2013-03-05 x11/powershell: Broken for more then 6 month
Diffstat (limited to 'misc/splitvt/files/patch-misc.c')
-rw-r--r-- | misc/splitvt/files/patch-misc.c | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/misc/splitvt/files/patch-misc.c b/misc/splitvt/files/patch-misc.c deleted file mode 100644 index 89b1eff69566..000000000000 --- a/misc/splitvt/files/patch-misc.c +++ /dev/null @@ -1,112 +0,0 @@ ---- misc.c.orig Wed Dec 15 10:28:45 2004 -+++ misc.c Sat Oct 7 14:34:28 2006 -@@ -7,10 +7,13 @@ - #include <stdlib.h> - #include <string.h> - #include <signal.h> -+#include <stdlib.h> -+#include <string.h> - -+#define HAVE_TERMIO_H - - #ifdef HAVE_TERMIO_H --#include <termio.h> -+#include <termios.h> - #else - #include <sys/ioctl.h> - #endif /* HAVE_TERMIO_H */ -@@ -431,13 +434,13 @@ - /* Get the modes of the controlling tty and save them. Saves - ttymodes in tty_mode and returns -1 if ioctl fails. */ - --struct termio tty_mode; /* Save tty mode here */ -+struct termios tty_mode; /* Save tty mode here */ - static int tty_init=0; - - int tty_getmode(fd) - int fd; - { -- d_zero((char *)&tty_mode, sizeof(struct termio)); -+ d_zero((char *)&tty_mode, sizeof(struct termios)); - tty_init=1; /* Flag: we have initialized the tty_mode struct */ - - if ( ! isatty(fd) ) -@@ -447,7 +450,7 @@ - fprintf(stderr, "Getting tty modes for tty_mode.\r\n"); - #endif - -- if (ioctl(fd, TCGETA, (char *) &tty_mode) < 0) -+ if (tcgetattr(fd, &tty_mode) < 0) - { - #ifdef DEBUG - perror("tty_getmode(): ioctl error"); -@@ -464,14 +467,14 @@ - int tty_sane(fd) - int fd; - { -- struct termio temp_mode; -+ struct termios temp_mode; - - if ( ! isatty(fd) ) - return(0); - - if ( ! tty_init ) - { -- if (ioctl(fd, TCGETA, (char *) &tty_mode) < 0) -+ if (tcgetattr(fd, &tty_mode) < 0) - return(-1); - } - -@@ -491,7 +494,7 @@ - temp_mode.c_cc[VEOF]=('D'^64); - - /* TCSETAW is important for letting tty input drain. */ -- if ( ioctl(fd, TCSETAW, (char *)&temp_mode) < 0 ) -+ if ( tcsetattr(fd, TCSADRAIN, &temp_mode) < 0 ) - { - #ifdef DEBUG - perror("Can't set tty modes"); -@@ -508,7 +511,7 @@ - int tty_raw(fd) - int fd; /* of tty device */ - { -- struct termio temp_mode; -+ struct termios temp_mode; - - if ( ! tty_init ) - return(-1); -@@ -516,7 +519,7 @@ - if ( ! isatty(fd) ) - return(0); - -- if ( ioctl(fd, TCGETA, (char *)&temp_mode) < 0 ) -+ if ( tcgetattr(fd, &temp_mode) < 0 ) - return(-1); - - #ifdef SEVEN_BIT -@@ -524,14 +527,14 @@ - #else - temp_mode.c_iflag=(IGNBRK); /* turn off all input control */ - #endif -- temp_mode.c_oflag &= ~(OLCUC | ONLCR | OCRNL | ONLRET); -+ temp_mode.c_oflag &= ~(ONLCR | OCRNL | ONLRET); - /* disable output post-processing */ - temp_mode.c_lflag = 0; - temp_mode.c_cc[VMIN]=1; /* 1 or more chars satisfy read */ - temp_mode.c_cc[VTIME]=0; /* 10'ths of seconds between chars */ - - /* TCSETAW is important for letting tty input drain. */ -- if (ioctl(fd, TCSETAW, (char *) &temp_mode) < 0) -+ if (tcsetattr(fd, TCSADRAIN, &temp_mode) < 0) - return(-1); - return(0); - } -@@ -550,7 +553,7 @@ - return(0); - - /* TCSETAW is important for letting tty input drain. */ -- if (ioctl(fd, TCSETAW, (char *) &tty_mode) < 0) -+ if (tcsetattr(fd, TCSADRAIN, &tty_mode) < 0) - return(-1); - return(0); - } |