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.

89 lines
2.7 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 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. diff -uNr KTerm.ad KTerm.ad
  23. --- ./KTerm.ad Sun Jun 23 10:00:22 1996
  24. +++ ./KTerm.ad Sat May 4 10:06:44 2002
  25. @@ -123,3 +123,6 @@
  26. *tek4014*font3: 6x13
  27. *tek4014*fontSmall: 6x10
  28. +*scrollBar: true
  29. +*Scrollbar.background: gray
  30. +
  31. diff -uNr kterm.h kterm.h
  32. --- ./kterm.h Fri Jul 12 07:01:37 1996
  33. +++ ./kterm.h Sat May 4 10:06:44 2002
  34. @@ -36,6 +36,6 @@
  35. #define KTERM_KINPUT2 /* Kinput2 protocol */
  36. #define KTERM_COLOR /* color sequence */
  37. #define KTERM_NOTEK /* disables Tektronix emulation */
  38. -#undef KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
  39. +#define KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
  40. #endif /* !_KTERM_H_ */
  41. diff -uNr main.c main.c
  42. --- ./main.c Fri Jul 12 07:01:38 1996
  43. +++ ./main.c Sat May 4 10:06:44 2002
  44. @@ -140,6 +140,7 @@
  45. #define HAS_UTMP_UT_HOST
  46. #define LASTLOG
  47. #define WTMP
  48. +#include <termios.h>
  49. #endif
  50. #include <sys/ioctl.h>
  51. diff -uNr screen.c screen.c
  52. --- ./screen.c Sun Jun 23 10:00:26 1996
  53. +++ ./screen.c Sat May 4 10:06:44 2002
  54. @@ -46,8 +46,9 @@
  55. #include <sys/ptem.h>
  56. #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(); */
  62. ScrnBuf Allocate (nrow, ncol, addr)
  63. /*
  64. diff -uNr scrollbar.c scrollbar.c
  65. --- ./scrollbar.c Fri Jul 12 07:01:39 1996
  66. +++ ./scrollbar.c Sat May 4 10:06:44 2002
  67. @@ -29,6 +29,7 @@
  68. #include "ptyx.h" /* gets Xt headers, too */
  69. #include <stdio.h>
  70. +#include <stdlib.h>
  71. #include <ctype.h>
  72. #include <X11/Xatom.h>
  73. @@ -324,7 +325,7 @@
  74. register TScreen *screen = &xw->screen;
  75. register int border = 2 * screen->border;
  76. register int i;
  77. - Char *realloc(), *calloc();
  78. + /* Char *realloc(), *calloc(); */
  79. if(screen->scrollbar)
  80. return;