]> git.pld-linux.org Git - packages/beav.git/commitdiff
387714d487d849596d468d691b2337a5 vcd-1.5.tar.gz
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 6 Sep 2000 13:14:44 +0000 (13:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
6b1c9c98225757c26f91083b233da0ff  liveice.tar.gz
21ebeb1c2fb04ca9ef6dbae842cc1687  beav140s.zip

Changed files:
    beav-glibc.patch -> 1.1
    beav-linux.patch -> 1.1
    beav-tinfo.patch -> 1.1

beav-glibc.patch [new file with mode: 0644]
beav-linux.patch [new file with mode: 0644]
beav-tinfo.patch [new file with mode: 0644]

diff --git a/beav-glibc.patch b/beav-glibc.patch
new file mode 100644 (file)
index 0000000..d2da825
--- /dev/null
@@ -0,0 +1,11 @@
+--- beav-1.40/tcap.c.glibc     Wed Nov 26 14:01:28 1997
++++ beav-1.40/tcap.c   Wed Nov 26 14:01:38 1997
+@@ -37,7 +37,7 @@
+ char *UP, PC, *CM, *CE, *CL, *SO, *SE, *TI, *TE;      /* DR */
+ #ifdef linux
+-#include <termios.h>
++#include <asm/termios.h>
+ struct winsize ttysize;
+ #endif
diff --git a/beav-linux.patch b/beav-linux.patch
new file mode 100644 (file)
index 0000000..3b7889b
--- /dev/null
@@ -0,0 +1,79 @@
+--- beav-1.40/def.h.msf        Mon Apr 28 17:20:42 1997
++++ beav-1.40/def.h    Mon Apr 28 17:23:37 1997
+@@ -560,9 +560,14 @@
+ /*
+  * Standard I/O.
+  */
++#ifndef linux
+ extern char *malloc ();
+ extern char *strcpy ();
+ extern char *strcat ();
++#else
++#include <stdio.h>
++#include <string.h>
++#endif
+ #ifndef NOPROTO
+ #include "prototyp.h"
+--- beav-1.40/prototyp.h.msf   Mon Apr 28 17:23:58 1997
++++ beav-1.40/prototyp.h       Mon Apr 28 17:24:42 1997
+@@ -55,9 +55,11 @@
+ extern void update (void);
+ extern unsigned int get_currow (struct WINDOW *wp);
+ extern unsigned int get_curcol (struct WINDOW *wp);
++#ifndef linux
+ extern void mem_line (int row, struct vid *vvp);
+ extern void ucopy (struct vid *vvp, struct vid *pvp);
+ extern void uline (int row, struct vid *vvp, struct vid *pvp);
++#endif
+ extern void modeline (struct WINDOW *wp);
+ extern void writ_echo (char *buf);
+ extern char print (void);
+@@ -203,7 +205,9 @@
+ extern void ttykeymapinit (void);
+ extern char *keystrings (int key);
+ extern void is_wang (void);
++#ifndef linux
+ extern int getsysconfig (union REGS *outregs, struct SREGS *segregs);
++#endif
+ extern char getscreenstate (void);
+ extern char reposition (void);
+ extern char nextwind (void);
+--- beav-1.40/tcap.c.orig      Fri Apr 16 13:29:48 1993
++++ beav-1.40/tcap.c   Mon Apr 28 17:31:28 1997
+@@ -36,6 +36,11 @@
+ char tcapbuf[TCAPSLEN];
+ char *UP, PC, *CM, *CE, *CL, *SO, *SE, *TI, *TE;      /* DR */
++#ifdef linux
++#include <termios.h>
++struct winsize ttysize;
++#endif
++
+ #ifdef BSD
+ #include <sys/ioctl.h>
+ struct winsize ttysize;
+@@ -84,6 +89,14 @@
+       exit (1);
+     }
++#ifdef linux
++    if (ioctl (0, TIOCGWINSZ, &ttysize) == 0
++        && ttysize.ws_row > 0) {
++            nrow = ttysize.ws_row;
++            ncol = ttysize.ws_col;
++    }
++    else
++#endif
+ #ifdef BSD
+ #ifdef ULTRIX
+@@ -110,7 +123,7 @@
+       ttclose ();             /* fix in 1.13 */
+       exit (1);
+     }
+-    printf ("nrow %d, ncol %d\n", nrow, ncol);
++    /* printf ("nrow %d, ncol %d\n", nrow, ncol); */
+     if ((ncol = (short) tgetnum ("co")) == -1)
+     {
diff --git a/beav-tinfo.patch b/beav-tinfo.patch
new file mode 100644 (file)
index 0000000..7305d10
--- /dev/null
@@ -0,0 +1,11 @@
+diff -urN beav-1.40.org/makefile.uxv beav-1.40/makefile.uxv
+--- beav-1.40.org/makefile.uxv Tue Sep  5 00:13:41 2000
++++ beav-1.40/makefile.uxv     Tue Sep  5 00:13:56 2000
+@@ -15,6 +15,6 @@
+ HFILES=     def.h
+ beav:     $(OFILES)
+-      $(CC) $(CFLAGS) $(OFILES) -ltermcap -lc -o beav
++      $(CC) $(CFLAGS) $(OFILES) -ltinfo -lc -o beav
+ (OFILES):  $(HFILES)
This page took 0.071961 seconds and 4 git commands to generate.