diff options
Diffstat (limited to 'app-arch/arc/files')
-rw-r--r-- | app-arch/arc/files/arc-5.21m-darwin.patch | 11 | ||||
-rw-r--r-- | app-arch/arc/files/arc-5.21m-gentoo-fbsd.patch | 12 | ||||
-rw-r--r-- | app-arch/arc/files/arc-5.21o-interix.patch | 12 |
3 files changed, 35 insertions, 0 deletions
diff --git a/app-arch/arc/files/arc-5.21m-darwin.patch b/app-arch/arc/files/arc-5.21m-darwin.patch new file mode 100644 index 000000000000..fb1eb5ea2598 --- /dev/null +++ b/app-arch/arc/files/arc-5.21m-darwin.patch @@ -0,0 +1,11 @@ +--- arc-5.21m/tmclock.c ++++ arc-5.21m/tmclock.c +@@ -14,7 +14,7 @@ + /* Julian day number of the Unix* clock's origin, 01 Jan 1970. */ + #define JD1970 2440587L + #define CENTURY 19 +-#if BSD ++#if BSD || defined(__MACH_O__) + #include <sys/time.h> + #else + #include <time.h> diff --git a/app-arch/arc/files/arc-5.21m-gentoo-fbsd.patch b/app-arch/arc/files/arc-5.21m-gentoo-fbsd.patch new file mode 100644 index 000000000000..f2762f74b9d2 --- /dev/null +++ b/app-arch/arc/files/arc-5.21m-gentoo-fbsd.patch @@ -0,0 +1,12 @@ +--- a/tmclock.c ++++ b/tmclock.c +@@ -18,8 +18,10 @@ + #include <sys/time.h> + #else + #include <time.h> ++#ifdef timezone + extern long timezone; /* should be in <time.h>, but isn't on Sun */ + #endif ++#endif + + long tzone;
\ No newline at end of file diff --git a/app-arch/arc/files/arc-5.21o-interix.patch b/app-arch/arc/files/arc-5.21o-interix.patch new file mode 100644 index 000000000000..f95aee85e37d --- /dev/null +++ b/app-arch/arc/files/arc-5.21o-interix.patch @@ -0,0 +1,12 @@ +diff -ru arc-5.21o.orig/arcdos.c arc-5.21o/arcdos.c +--- arc-5.21o.orig/arcdos.c 2008-03-30 15:44:53 +0200 ++++ arc-5.21o/arcdos.c 2008-03-30 15:45:51 +0200 +@@ -30,7 +30,7 @@ + #if UNIX + #include <sys/types.h> + #include <sys/stat.h> +-#if BSD ++#if BSD || defined(__INTERIX) + #include <sys/time.h> + #else + #include <time.h> /* Sys V. Bleah. */ |