mirror of the now-defunct rocklinux.org
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.

86 lines
2.6 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/blindcoder/kterm/kterm-3dsc-linux.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -uNr KTerm.ad KTerm.ad
  20. --- ./KTerm.ad Sun Jun 23 10:00:22 1996
  21. +++ ./KTerm.ad Sat May 4 10:06:44 2002
  22. @@ -123,3 +123,6 @@
  23. *tek4014*font3: 6x13
  24. *tek4014*fontSmall: 6x10
  25. +*scrollBar: true
  26. +*Scrollbar.background: gray
  27. +
  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 */
  37. #endif /* !_KTERM_H_ */
  38. diff -uNr main.c main.c
  39. --- ./main.c Fri Jul 12 07:01:38 1996
  40. +++ ./main.c Sat May 4 10:06:44 2002
  41. @@ -140,6 +140,7 @@
  42. #define HAS_UTMP_UT_HOST
  43. #define LASTLOG
  44. #define WTMP
  45. +#include <termios.h>
  46. #endif
  47. #include <sys/ioctl.h>
  48. diff -uNr screen.c screen.c
  49. --- ./screen.c Sun Jun 23 10:00:26 1996
  50. +++ ./screen.c Sat May 4 10:06:44 2002
  51. @@ -46,8 +46,9 @@
  52. #include <sys/ptem.h>
  53. #endif
  54. -extern Char *calloc(), *malloc(), *realloc();
  55. -extern void free();
  56. +#include <stdlib.h>
  57. +/* extern Char *calloc(), *malloc(), *realloc();
  58. + extern void free(); */
  59. ScrnBuf Allocate (nrow, ncol, addr)
  60. /*
  61. diff -uNr scrollbar.c scrollbar.c
  62. --- ./scrollbar.c Fri Jul 12 07:01:39 1996
  63. +++ ./scrollbar.c Sat May 4 10:06:44 2002
  64. @@ -29,6 +29,7 @@
  65. #include "ptyx.h" /* gets Xt headers, too */
  66. #include <stdio.h>
  67. +#include <stdlib.h>
  68. #include <ctype.h>
  69. #include <X11/Xatom.h>
  70. @@ -324,7 +325,7 @@
  71. register TScreen *screen = &xw->screen;
  72. register int border = 2 * screen->border;
  73. register int i;
  74. - Char *realloc(), *calloc();
  75. + /* Char *realloc(), *calloc(); */
  76. if(screen->scrollbar)
  77. return;