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.

45 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../mess822/errno.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE 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. --- ./cdb_seek.c.orig 2005-03-13 23:54:04.000000000 -0400
  17. +++ ./cdb_seek.c 2005-03-13 23:55:56.056087544 -0400
  18. @@ -1,6 +1,5 @@
  19. #include <sys/types.h>
  20. #include <errno.h>
  21. -extern int errno;
  22. #include "cdb.h"
  23. #ifndef SEEK_SET
  24. --- ./error.h.orig 2005-03-13 23:54:04.000000000 -0400
  25. +++ ./error.h 2005-03-13 23:54:51.509900056 -0400
  26. @@ -1,7 +1,7 @@
  27. #ifndef ERROR_H
  28. #define ERROR_H
  29. -extern int errno;
  30. +#include <errno.h>
  31. extern int error_intr;
  32. extern int error_nomem;
  33. --- ./leapsecs_read.c.orig 2005-03-13 23:54:04.000000000 -0400
  34. +++ ./leapsecs_read.c 2005-03-13 23:56:06.308528936 -0400
  35. @@ -2,7 +2,6 @@
  36. #include <sys/stat.h>
  37. #include <fcntl.h>
  38. #include <errno.h>
  39. -extern int errno;
  40. #include "tai.h"
  41. #include "leapsecs.h"