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.

74 lines
2.0 KiB

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