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.

79 lines
2.2 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/base/screen/glibc23.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. --- ./extern.h.orig 2003-03-12 17:57:42.000000000 +0100
  23. +++ ./extern.h 2003-03-12 17:58:09.000000000 +0100
  24. @@ -344,9 +344,9 @@
  25. #if defined(POSIX) || defined(hpux)
  26. extern void (*xsignal __P((int, void (*)SIGPROTOARG))) __P(SIGPROTOARG);
  27. #endif
  28. -#ifndef HAVE_RENAME
  29. -extern int rename __P((char *, char *));
  30. -#endif
  31. +// #ifndef HAVE_RENAME
  32. +// extern int rename __P((char *, char *));
  33. +// #endif
  34. #if defined(HAVE_SETEUID) || defined(HAVE_SETREUID)
  35. extern void xseteuid __P((int));
  36. extern void xsetegid __P((int));
  37. --- ./os.h.orig 2003-03-12 18:00:22.000000000 +0100
  38. +++ ./os.h 2003-03-12 18:01:00.000000000 +0100
  39. @@ -172,9 +172,9 @@
  40. #ifndef HAVE_UTIMES
  41. # define utimes utime
  42. #endif
  43. -#ifndef HAVE_VSNPRINTF
  44. -# define vsnprintf xvsnprintf
  45. -#endif
  46. +// #ifndef HAVE_VSNPRINTF
  47. +// # define vsnprintf xvsnprintf
  48. +// #endif
  49. #ifdef BUILTIN_TELNET
  50. # include <netinet/in.h>
  51. --- ./misc.c.orig 2003-03-12 17:58:44.000000000 +0100
  52. +++ ./misc.c 2003-03-12 17:59:45.000000000 +0100
  53. @@ -76,7 +76,7 @@
  54. int err;
  55. {
  56. extern int sys_nerr;
  57. - extern char *sys_errlist[];
  58. +//extern char *sys_errlist[];
  59. static char er[20];
  60. if (err > 0 && err < sys_nerr)
  61. @@ -423,6 +423,7 @@
  62. #endif
  63. }
  64. +#if 0
  65. #ifndef HAVE_RENAME
  66. int
  67. rename (old, new)
  68. @@ -434,6 +435,7 @@
  69. return unlink(old);
  70. }
  71. #endif
  72. +#endif
  73. int