OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
2.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../kterm/kterm-3dsc-linux.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  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 ---
  17. diff -uNr KTerm.ad KTerm.ad
  18. --- ./KTerm.ad Sun Jun 23 10:00:22 1996
  19. +++ ./KTerm.ad Sat May 4 10:06:44 2002
  20. @@ -123,3 +123,6 @@
  21. *tek4014*font3: 6x13
  22. *tek4014*fontSmall: 6x10
  23. +*scrollBar: true
  24. +*Scrollbar.background: gray
  25. +
  26. diff -uNr kterm.h kterm.h
  27. --- ./kterm.h Fri Jul 12 07:01:37 1996
  28. +++ ./kterm.h Sat May 4 10:06:44 2002
  29. @@ -36,6 +36,6 @@
  30. #define KTERM_KINPUT2 /* Kinput2 protocol */
  31. #define KTERM_COLOR /* color sequence */
  32. #define KTERM_NOTEK /* disables Tektronix emulation */
  33. -#undef KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
  34. +#define KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
  35. #endif /* !_KTERM_H_ */
  36. diff -uNr main.c main.c
  37. --- ./main.c Fri Jul 12 07:01:38 1996
  38. +++ ./main.c Sat May 4 10:06:44 2002
  39. @@ -140,6 +140,7 @@
  40. #define HAS_UTMP_UT_HOST
  41. #define LASTLOG
  42. #define WTMP
  43. +#include <termios.h>
  44. #endif
  45. #include <sys/ioctl.h>
  46. diff -uNr screen.c screen.c
  47. --- ./screen.c Sun Jun 23 10:00:26 1996
  48. +++ ./screen.c Sat May 4 10:06:44 2002
  49. @@ -46,8 +46,9 @@
  50. #include <sys/ptem.h>
  51. #endif
  52. -extern Char *calloc(), *malloc(), *realloc();
  53. -extern void free();
  54. +#include <stdlib.h>
  55. +/* extern Char *calloc(), *malloc(), *realloc();
  56. + extern void free(); */
  57. ScrnBuf Allocate (nrow, ncol, addr)
  58. /*
  59. diff -uNr scrollbar.c scrollbar.c
  60. --- ./scrollbar.c Fri Jul 12 07:01:39 1996
  61. +++ ./scrollbar.c Sat May 4 10:06:44 2002
  62. @@ -29,6 +29,7 @@
  63. #include "ptyx.h" /* gets Xt headers, too */
  64. #include <stdio.h>
  65. +#include <stdlib.h>
  66. #include <ctype.h>
  67. #include <X11/Xatom.h>
  68. @@ -324,7 +325,7 @@
  69. register TScreen *screen = &xw->screen;
  70. register int border = 2 * screen->border;
  71. register int i;
  72. - Char *realloc(), *calloc();
  73. + /* Char *realloc(), *calloc(); */
  74. if(screen->scrollbar)
  75. return;