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 | |
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
Notes
Notes:
svn path=/head/; revision=313519
Diffstat (limited to 'misc/splitvt/files')
-rw-r--r-- | misc/splitvt/files/patch-config.c | 20 | ||||
-rw-r--r-- | misc/splitvt/files/patch-misc.c | 112 | ||||
-rw-r--r-- | misc/splitvt/files/patch-parserc.c | 10 | ||||
-rw-r--r-- | misc/splitvt/files/patch-splitvt.1 | 13 | ||||
-rw-r--r-- | misc/splitvt/files/patch-splitvt.c | 11 | ||||
-rw-r--r-- | misc/splitvt/files/patch-utmp.c | 11 | ||||
-rw-r--r-- | misc/splitvt/files/patch-vt100.c | 11 | ||||
-rw-r--r-- | misc/splitvt/files/patch-vtmouse.h | 9 | ||||
-rw-r--r-- | misc/splitvt/files/patch-vttest.c | 74 |
9 files changed, 0 insertions, 271 deletions
diff --git a/misc/splitvt/files/patch-config.c b/misc/splitvt/files/patch-config.c deleted file mode 100644 index d8954961a830..000000000000 --- a/misc/splitvt/files/patch-config.c +++ /dev/null @@ -1,20 +0,0 @@ ---- config.c.orig Sun May 4 06:48:04 2003 -+++ config.c Sat Feb 19 11:30:53 2005 -@@ -1,5 +1,6 @@ - #include <sys/types.h> - #include <stdio.h> -+#include <stdlib.h> - #include <sys/stat.h> - #include <signal.h> - -@@ -238,8 +238,8 @@ - fprintf(makefile, "\nclean: \n\trm -f *.o core \n"); - fprintf(makefile, "\ndistclean: clean\n\trm -f splitvt Makefile\n"); - fprintf(makefile, "\ninstall: install-man\n"); -- fprintf(makefile, "\tmv splitvt /usr/local/bin/splitvt\n"); -- fprintf(makefile, "\tmv examples/xsplitvt /usr/local/bin/xsplitvt\n"); -+ fprintf(makefile, "\tmv splitvt %%PREFIX%%/bin/splitvt\n"); -+ fprintf(makefile, "\tmv examples/xsplitvt %%PREFIX%%/bin/xsplitvt\n"); - fprintf(makefile, "\ninstall-man:\n"); - fprintf(makefile, "\tcp splitvt.man /usr/local/man/man1/splitvt.1\n"); - 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); - } diff --git a/misc/splitvt/files/patch-parserc.c b/misc/splitvt/files/patch-parserc.c deleted file mode 100644 index 7347f8728a89..000000000000 --- a/misc/splitvt/files/patch-parserc.c +++ /dev/null @@ -1,10 +0,0 @@ ---- parserc.c.orig Sat Jan 13 13:48:13 2001 -+++ parserc.c Wed Jun 18 04:46:14 2003 -@@ -9,6 +9,7 @@ - #include <fcntl.h> - #include <stdio.h> - #include <ctype.h> -+#include <stdlib.h> - #include "splitvt.h" - - #define SPLITVTRC "/.splitvtrc" diff --git a/misc/splitvt/files/patch-splitvt.1 b/misc/splitvt/files/patch-splitvt.1 deleted file mode 100644 index 8a0fd0bf5cf1..000000000000 --- a/misc/splitvt/files/patch-splitvt.1 +++ /dev/null @@ -1,13 +0,0 @@ ---- splitvt.1.orig Sun Jan 14 11:36:23 2001 -+++ splitvt.1 Sun Jan 14 11:39:03 2001 -@@ -173,8 +173,8 @@ - splitvt will attempt to erase the current utmp entry, and replace it - with entries for the two windows. This allows you to use programs - such as 'talk' within the splitvt windows. If you do not have write --permission to the /etc/utmp file, you will not be able to modify the --utmp entries. -+permission to the /var/run/utmp file, you will not be able to modify -+the utmp entries. - - splitvt can be made set-uid root. splitvt will reset its user id to - that of the person running it, just before it exec()'s the shell under diff --git a/misc/splitvt/files/patch-splitvt.c b/misc/splitvt/files/patch-splitvt.c deleted file mode 100644 index 58b09e81d004..000000000000 --- a/misc/splitvt/files/patch-splitvt.c +++ /dev/null @@ -1,11 +0,0 @@ ---- splitvt.c.orig Sat Jan 13 23:00:22 2001 -+++ splitvt.c Sat Oct 7 14:33:17 2006 -@@ -21,6 +21,8 @@ - #include <stdio.h> - #include <errno.h> - #include <pwd.h> -+#include <stdlib.h> -+#include <string.h> - #ifdef HAVE_UNISTD_H - #include <unistd.h> - #endif diff --git a/misc/splitvt/files/patch-utmp.c b/misc/splitvt/files/patch-utmp.c deleted file mode 100644 index 545d6c04528c..000000000000 --- a/misc/splitvt/files/patch-utmp.c +++ /dev/null @@ -1,11 +0,0 @@ ---- utmp.c.orig 2007-04-01 17:56:49.000000000 +0000 -+++ utmp.c 2008-04-30 04:00:23.000000000 +0000 -@@ -13,7 +13,7 @@ - #define UTMP_FILE "/tmp/utmp" - #else - #ifndef UTMP_FILE --#define UTMP_FILE "/etc/utmp" -+#define UTMP_FILE _PATH_UTMP - #endif /* UTMP_FILE */ - #endif /* DEBUG_UTMP */ - diff --git a/misc/splitvt/files/patch-vt100.c b/misc/splitvt/files/patch-vt100.c deleted file mode 100644 index 2dae0b97fd6f..000000000000 --- a/misc/splitvt/files/patch-vt100.c +++ /dev/null @@ -1,11 +0,0 @@ ---- vt100.c.orig Sat Jun 3 23:31:05 2000 -+++ vt100.c Sat Oct 7 14:35:57 2006 -@@ -17,6 +17,8 @@ - #include <errno.h> - #include <stdio.h> - #include <ctype.h> -+#include <stdlib.h> -+#include <string.h> - #include "vt100.h" - #include "video.h" - #include "terminal.h" diff --git a/misc/splitvt/files/patch-vtmouse.h b/misc/splitvt/files/patch-vtmouse.h deleted file mode 100644 index a2484f2bce58..000000000000 --- a/misc/splitvt/files/patch-vtmouse.h +++ /dev/null @@ -1,9 +0,0 @@ ---- vtmouse.h.orig Sat Oct 7 02:22:11 2006 -+++ vtmouse.h Sat Oct 7 02:22:36 2006 -@@ -39,5 +39,5 @@ - extern int event_getc(); - extern void event_quit(); - --extern FILE *xt_input, *xt_output; /* Usually untouched */ -+static FILE *xt_input, *xt_output; /* Usually untouched */ - diff --git a/misc/splitvt/files/patch-vttest.c b/misc/splitvt/files/patch-vttest.c deleted file mode 100644 index 04e710b2fcdf..000000000000 --- a/misc/splitvt/files/patch-vttest.c +++ /dev/null @@ -1,74 +0,0 @@ ---- vttest.c.orig Sat Oct 7 15:38:17 2006 -+++ vttest.c Sat Oct 7 15:40:43 2006 -@@ -15,8 +15,9 @@ - #include <sys/types.h> - #include <stdio.h> - #include <fcntl.h> -+#define HAVE_TERMIO_H - #ifdef HAVE_TERMIO_H --#include <termio.h> -+#include <termios.h> - #else - #include <setjmp.h> - #include <signal.h> -@@ -49,15 +50,15 @@ - { - char buff[512]; - int x=0, w, rc=0, fd; -- struct termio ttold, ttraw; -+ struct termios ttold, ttraw; - - /* Set the terminal in a raw mode */ - if ( (fd=open("/dev/tty", O_RDWR, 0666)) < 0 ) - return(0); - -- if ( ioctl(fd, TCGETA, (char *)&ttold) < 0 ) -+ if ( tcgetattr(fd, &ttold) < 0 ) - return(0); -- (void) ioctl(fd, TCGETA, (char *)&ttraw); -+ (void) tcgetattr(fd, &ttraw); - - #ifdef HAVE_TERMIO_H - #ifdef SEVEN_BIT -@@ -65,7 +66,7 @@ - #else - ttraw.c_iflag=(IGNBRK); /* turn off all input control */ - #endif /* SEVEN_BIT */ -- ttraw.c_oflag &= ~(OLCUC | ONLCR | OCRNL | ONLRET); -+ ttraw.c_oflag &= ~(ONLCR | OCRNL | ONLRET); - /* disable output post-processing */ - ttraw.c_lflag = 0; - ttraw.c_cc[VMIN]=0; /* 1 or more chars satisfy read */ -@@ -75,7 +76,7 @@ - ttraw.sg_flags &= ~ECHO; /* turn ECHO off */ - #endif /* HAVE_TERMIO_H */ - -- if (ioctl(fd, TCSETAW, (char *)&ttraw) < 0) -+ if (tcsetattr(fd, TCSADRAIN, &ttraw) < 0) - return(0); - - write(fd,"\033[c", 3); /* Vt100 test: ESC [ c */ -@@ -87,9 +88,13 @@ - setjmp(alarm_buf); - #endif - while ( !alarmed && (x < 20) ) { -- if ( read(fd, &buff[x++], 1) <= 0 ) -+ // Workaround for gcc41. Without it, splitvt fails with -+ // "Can't initialize screen: Terminal type must be set to vt100". -+ if ( read(fd, &buff[x], 1) <= 0 ) - break; -+ x++; - } -+ x++; - buff[x]='\0'; /* For printing, if we desire. */ - if ( buff[0] == '\033' ) /* An escape sequence? :) */ - rc=1; -@@ -98,7 +103,7 @@ - alarm(0); - signal(SIGALRM, SIG_DFL); - #endif -- (void) ioctl(fd, TCSETAW, (char *)&ttold); -+ (void) tcsetattr(fd, TCSADRAIN, &ttold); - (void) close(fd); - - #ifdef not_defined /* Print out the response for debugging */ |