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.

78 lines
2.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libtai/libtai-0.60-0001-include-stdlib.h.patch
  5. # Copyright (C) 2011 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. diff --git a/check.c b/check.c
  17. index 9c7503c..b0d1484 100644
  18. --- a/check.c
  19. +++ b/check.c
  20. @@ -1,4 +1,5 @@
  21. #include <stdio.h>
  22. +#include <stdlib.h> /* exit */
  23. #include <time.h>
  24. #include "tai.h"
  25. #include "leapsecs.h"
  26. diff --git a/easter.c b/easter.c
  27. index 29355f4..d28f9e6 100644
  28. --- a/easter.c
  29. +++ b/easter.c
  30. @@ -1,4 +1,5 @@
  31. #include <stdio.h>
  32. +#include <stdlib.h> /* exit */
  33. #include "caldate.h"
  34. char *dayname[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" } ;
  35. diff --git a/leapsecs.c b/leapsecs.c
  36. index e5db267..d450c56 100644
  37. --- a/leapsecs.c
  38. +++ b/leapsecs.c
  39. @@ -1,4 +1,5 @@
  40. #include <stdio.h>
  41. +#include <stdlib.h> /* exit */
  42. #include "tai.h"
  43. #include "leapsecs.h"
  44. #include "caldate.h"
  45. diff --git a/leapsecs_read.c b/leapsecs_read.c
  46. index 62c8712..3919f35 100644
  47. --- a/leapsecs_read.c
  48. +++ b/leapsecs_read.c
  49. @@ -1,6 +1,7 @@
  50. #include <sys/types.h>
  51. #include <sys/stat.h>
  52. #include <fcntl.h>
  53. +#include <stdlib.h> /* free, malloc */
  54. #include <errno.h>
  55. extern int errno;
  56. #include "tai.h"
  57. diff --git a/nowutc.c b/nowutc.c
  58. index c327d75..9d13223 100644
  59. --- a/nowutc.c
  60. +++ b/nowutc.c
  61. @@ -1,4 +1,5 @@
  62. #include <stdio.h>
  63. +#include <stdlib.h> /* exit */
  64. #include "leapsecs.h"
  65. #include "tai.h"
  66. #include "taia.h"
  67. diff --git a/yearcal.c b/yearcal.c
  68. index 545e81e..a454039 100644
  69. --- a/yearcal.c
  70. +++ b/yearcal.c
  71. @@ -1,4 +1,5 @@
  72. #include <stdio.h>
  73. +#include <stdlib.h> /* exit */
  74. #include "caldate.h"
  75. char *montab[] = {