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.

49 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dietlibc/patches/pkg_gcc.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 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. Dietlibc already has the fopen_unlocked functions.
  18. - Rene Rebe <rene@exactcode.de>
  19. --- ./libiberty/regex.c~ Fri Nov 16 22:54:17 2001
  20. +++ ./libiberty/regex.c Sun Dec 29 05:39:31 2002
  21. @@ -302,7 +302,7 @@
  22. /* Integer type for pointers. */
  23. # if !defined _LIBC && !defined HAVE_UINTPTR_T
  24. -typedef unsigned long int uintptr_t;
  25. +/*typedef unsigned long int uintptr_t;*/
  26. # endif
  27. /* Should we use malloc or alloca? If REGEX_MALLOC is not defined, we
  28. --- gcc-4.0.2/libiberty/fopen_unlocked.c.vanilla 2005-10-11 19:52:08.000000000 +0200
  29. +++ gcc-4.0.2/libiberty/fopen_unlocked.c 2005-10-11 19:52:44.000000000 +0200
  30. @@ -104,6 +104,8 @@
  31. unlock_1 (stderr);
  32. }
  33. +#ifndef __dietlibc__
  34. +
  35. FILE *
  36. fopen_unlocked (path, mode)
  37. const char *path;
  38. @@ -134,3 +136,5 @@
  39. unlock_1 (fp);
  40. return fp;
  41. }
  42. +
  43. +#endif