summaryrefslogtreecommitdiff
path: root/print/ghostscript8/files/patch-src:genarch.c
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-11 19:24:31 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-11 19:24:31 +0000
commitf490d90d09cb643c6dc470973c79a0727edcf617 (patch)
tree203ae629f974481a97f7436ae11f2b4c4ea73bc8 /print/ghostscript8/files/patch-src:genarch.c
parent** ghostscript55 has been repocopied to ghostscript-gnu ** (diff)
** ghostscript6 has been repocopied to ghostscript-afpl **
Update to AFPL Ghostscript 7.00. PR: ports/29580 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=47708
Diffstat (limited to 'print/ghostscript8/files/patch-src:genarch.c')
-rw-r--r--print/ghostscript8/files/patch-src:genarch.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/print/ghostscript8/files/patch-src:genarch.c b/print/ghostscript8/files/patch-src:genarch.c
new file mode 100644
index 000000000000..3b74ac7e6145
--- /dev/null
+++ b/print/ghostscript8/files/patch-src:genarch.c
@@ -0,0 +1,34 @@
+--- src/genarch.c.orig Wed Sep 20 04:00:23 2000
++++ src/genarch.c Wed Jun 20 04:05:36 2001
+@@ -40,6 +40,7 @@
+ fprintf(f, "\n\t /* ---------------- %s ---------------- */\n\n", str);
+ }
+
++#ifndef __FreeBSD__
+ private clock_t
+ time_clear(char *buf, int bsize, int nreps)
+ {
+@@ -50,6 +51,7 @@
+ memset(buf, 0, bsize);
+ return clock() - t;
+ }
++#endif /* __FreeBSD__ */
+
+ private void
+ define(FILE *f, const char *str)
+@@ -180,6 +182,7 @@
+ fprintf(f, "((unsigned long)~0L + (unsigned long)0)\n");
+ #undef PRINT_MAX
+
++#ifndef __FreeBSD__
+ section(f, "Cache sizes");
+
+ /*
+@@ -240,6 +243,7 @@
+ }
+ define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1);
+ }
++#endif /* __FreeBSD__ */
+
+ section(f, "Miscellaneous");
+