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.

53 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../gzip/glibc.patch
  5. # Copyright (C) 2009 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- gzip-1.3.12/lib/utimens.h.pom 2007-02-23 19:25:21.000000000 +0100
  17. +++ gzip-1.3.12/lib/utimens.h 2007-06-04 12:18:29.000000000 +0200
  18. @@ -1,3 +1,3 @@
  19. #include <time.h>
  20. -int futimens (int, char const *, struct timespec const [2]);
  21. +int futimens_oi (int, char const *, struct timespec const [2]);
  22. int utimens (char const *, struct timespec const [2]);
  23. --- gzip-1.3.12/lib/utimens.c.pom 2007-01-18 09:33:34.000000000 +0100
  24. +++ gzip-1.3.12/lib/utimens.c 2007-06-04 12:18:23.000000000 +0200
  25. @@ -75,7 +75,7 @@ struct utimbuf
  26. Return 0 on success, -1 (setting errno) on failure. */
  27. int
  28. -futimens (int fd ATTRIBUTE_UNUSED,
  29. +futimens_oi (int fd ATTRIBUTE_UNUSED,
  30. char const *file, struct timespec const timespec[2])
  31. {
  32. /* Some Linux-based NFS clients are buggy, and mishandle time stamps
  33. @@ -185,5 +185,5 @@ futimens (int fd ATTRIBUTE_UNUSED,
  34. int
  35. utimens (char const *file, struct timespec const timespec[2])
  36. {
  37. - return futimens (-1, file, timespec);
  38. + return futimens_oi (-1, file, timespec);
  39. }
  40. --- gzip-1.3.12/gzip.c.pom 2007-06-04 12:17:29.000000000 +0200
  41. +++ gzip-1.3.12/gzip.c 2007-06-04 12:17:59.000000000 +0200
  42. @@ -1643,7 +1643,7 @@ local void copy_stat(ifstat)
  43. }
  44. }
  45. - if (futimens (ofd, ofname, timespec) != 0)
  46. + if (futimens_oi (ofd, ofname, timespec) != 0)
  47. {
  48. int e = errno;
  49. WARN ((stderr, "%s: ", program_name));