cgit: Added cgit 0.7.3-c502865 - A CGI for git written in C
[opensde-package-nopast.git] / x11 / kterm / kterm-3dsc-linux.patch
blobbaa5faf1fc8f4d217efd8a4132822866eb63fc19
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../kterm/kterm-3dsc-linux.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 Clifford Wolf
8 # More information can be found in the files COPYING and README.
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- SDE-COPYRIGHT-NOTE-END ---
18 diff -uNr KTerm.ad KTerm.ad
19 --- ./KTerm.ad Sun Jun 23 10:00:22 1996
20 +++ ./KTerm.ad Sat May 4 10:06:44 2002
21 @@ -123,3 +123,6 @@
22 *tek4014*font3: 6x13
23 *tek4014*fontSmall: 6x10
25 +*scrollBar: true
26 +*Scrollbar.background: gray
28 diff -uNr kterm.h kterm.h
29 --- ./kterm.h Fri Jul 12 07:01:37 1996
30 +++ ./kterm.h Sat May 4 10:06:44 2002
31 @@ -36,6 +36,6 @@
32 #define KTERM_KINPUT2 /* Kinput2 protocol */
33 #define KTERM_COLOR /* color sequence */
34 #define KTERM_NOTEK /* disables Tektronix emulation */
35 -#undef KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
36 +#define KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
38 #endif /* !_KTERM_H_ */
39 diff -uNr main.c main.c
40 --- ./main.c Fri Jul 12 07:01:38 1996
41 +++ ./main.c Sat May 4 10:06:44 2002
42 @@ -140,6 +140,7 @@
43 #define HAS_UTMP_UT_HOST
44 #define LASTLOG
45 #define WTMP
46 +#include <termios.h>
47 #endif
49 #include <sys/ioctl.h>
50 diff -uNr screen.c screen.c
51 --- ./screen.c Sun Jun 23 10:00:26 1996
52 +++ ./screen.c Sat May 4 10:06:44 2002
53 @@ -46,8 +46,9 @@
54 #include <sys/ptem.h>
55 #endif
57 -extern Char *calloc(), *malloc(), *realloc();
58 -extern void free();
59 +#include <stdlib.h>
60 +/* extern Char *calloc(), *malloc(), *realloc();
61 + extern void free(); */
63 ScrnBuf Allocate (nrow, ncol, addr)
65 diff -uNr scrollbar.c scrollbar.c
66 --- ./scrollbar.c Fri Jul 12 07:01:39 1996
67 +++ ./scrollbar.c Sat May 4 10:06:44 2002
68 @@ -29,6 +29,7 @@
69 #include "ptyx.h" /* gets Xt headers, too */
71 #include <stdio.h>
72 +#include <stdlib.h>
73 #include <ctype.h>
74 #include <X11/Xatom.h>
76 @@ -324,7 +325,7 @@
77 register TScreen *screen = &xw->screen;
78 register int border = 2 * screen->border;
79 register int i;
80 - Char *realloc(), *calloc();
81 + /* Char *realloc(), *calloc(); */
83 if(screen->scrollbar)
84 return;