diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-11 19:12:20 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-11 19:12:20 +0000 |
commit | f239ea291484a95575cd2ad99a43268434f80947 (patch) | |
tree | 277d612725807514b6721dbc45df94f3e0009f55 /print/ghostscript7/files/patch-src:genarch.c | |
parent | Chase the libkakasi's version bump and bump PORTREVISION. (diff) |
** ghostscript55 has been repocopied to ghostscript-gnu **
Update to GNU Ghostscript 6.51.
PR: ports/29579
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=47707
Diffstat (limited to 'print/ghostscript7/files/patch-src:genarch.c')
-rw-r--r-- | print/ghostscript7/files/patch-src:genarch.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-src:genarch.c b/print/ghostscript7/files/patch-src:genarch.c new file mode 100644 index 000000000000..a015e69e758a --- /dev/null +++ b/print/ghostscript7/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"); + |