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.

41 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../uclibc/pkg_patch/libsafe-uclibc.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  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. --- libsafe-2.0-16/src/intercept.c.orig 2005-01-22 12:53:10.000000000 -0800
  18. +++ libsafe-2.0-16/src/intercept.c 2005-01-22 12:47:15.000000000 -0800
  19. @@ -78,8 +78,11 @@
  20. typedef char *(*getwd_t) (char *buf);
  21. typedef char *(*gets_t) (char *s);
  22. typedef char *(*realpath_t) (char *path, char resolved_path[]);
  23. -typedef int (*_IO_vfscanf_t) (_IO_FILE *s, const char *format, _IO_va_list
  24. - argptr, int *errp);
  25. +typedef int (*_IO_vfscanf_t)
  26. + (FILE *s,
  27. + const char *format,
  28. + va_list argptr,
  29. + int *errp);
  30. @@ -1443,7 +1446,7 @@
  31. }
  32. -int _IO_vfscanf (_IO_FILE *s, const char *format, _IO_va_list argptr, int *errp)
  33. +int _IO_vfscanf (FILE *s, const char *format, va_list argptr, int *errp)
  34. {
  35. static _IO_vfscanf_t real_IO_vfscanf = NULL;
  36. int res, save_count;