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.

56 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../bsd-games/delay_output-sym.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. size of symbol `delay_output' changed from 21 in hack/hack.termcap.o to 161
  18. in libncurses.a
  19. diff -urN -x '*~' bsd-games-2.14/hack/extern.h bsd-games-2.14-fix/hack/extern.h
  20. --- ./hack/extern.h.orig 2004-01-27 17:51:11.000000000 -0300
  21. +++ ./hack/extern.h 2005-03-01 00:53:42.691752816 -0300
  22. @@ -511,7 +511,7 @@
  23. void standoutend(void);
  24. void backsp(void);
  25. void bell(void);
  26. -void delay_output(void);
  27. +void delay_output_my(void);
  28. void cl_eos(void);
  29. /* hack.timeout.c */
  30. diff -urN -x '*~' bsd-games-2.14/hack/hack.pri.c bsd-games-2.14-fix/hack/hack.pri.c
  31. --- bsd-games-2.14/hack/hack.pri.c 2003-03-29 13:05:30.000000000 +0100
  32. +++ bsd-games-2.14-fix/hack/hack.pri.c 2003-10-02 03:56:22.000000000 +0200
  33. @@ -171,7 +171,7 @@
  34. return;
  35. }
  36. if (prevx >= 0 && cansee(prevx, prevy)) {
  37. - delay_output();
  38. + delay_output_my();
  39. prl(prevx, prevy); /* in case there was a monster */
  40. at(prevx, prevy, levl[prevx][prevy].scrsym);
  41. }
  42. diff -urN -x '*~' bsd-games-2.14/hack/hack.termcap.c bsd-games-2.14-fix/hack/hack.termcap.c
  43. --- bsd-games-2.14/hack/hack.termcap.c 2003-03-29 13:05:30.000000000 +0100
  44. +++ bsd-games-2.14-fix/hack/hack.termcap.c 2003-10-02 03:56:30.000000000 +0200
  45. @@ -326,7 +326,7 @@
  46. }
  47. void
  48. -delay_output()
  49. +delay_output_my()
  50. {
  51. /* delay 50 ms - could also use a 'nap'-system call */