diff options
Diffstat (limited to 'print/ghostscript7-base/files/patch-src:genarch.c')
-rw-r--r-- | print/ghostscript7-base/files/patch-src:genarch.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/print/ghostscript7-base/files/patch-src:genarch.c b/print/ghostscript7-base/files/patch-src:genarch.c new file mode 100644 index 000000000000..a015e69e758a --- /dev/null +++ b/print/ghostscript7-base/files/patch-src:genarch.c @@ -0,0 +1,34 @@ +--- src/genarch.c.orig Tue Jun 5 15:38:57 2001 ++++ src/genarch.c Wed Jun 20 04:17:42 2001 +@@ -41,6 +41,7 @@ + fprintf(f, "\n\t /* ---------------- %s ---------------- */\n\n", str); + } + ++#ifndef __FreeBSD__ + private clock_t + time_clear(char *buf, int bsize, int nreps) + { +@@ -51,6 +52,7 @@ + memset(buf, 0, bsize); + return clock() - t; + } ++#endif /* __FreeBSD__ */ + + private void + define(FILE *f, const char *str) +@@ -181,6 +183,7 @@ + fprintf(f, "((unsigned long)~0L + (unsigned long)0)\n"); + #undef PRINT_MAX + ++#ifndef __FreeBSD__ + section(f, "Cache sizes"); + + /* +@@ -241,6 +244,7 @@ + } + define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1); + } ++#endif /* __FreeBSD__ */ + + section(f, "Miscellaneous"); + |