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.

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