summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu-commfont/files/patch-src:genarch.c
diff options
context:
space:
mode:
authorYoshio MITA <mita@FreeBSD.org>2002-01-18 15:23:54 +0000
committerYoshio MITA <mita@FreeBSD.org>2002-01-18 15:23:54 +0000
commit979ed31b76fdce3598a0ae8adb6ab670ae33a78e (patch)
tree65a1c24e4bb757a22544217f5ab47c8081b838e2 /print/ghostscript-gnu-commfont/files/patch-src:genarch.c
parentUpdate to popd-2.0: (diff)
Add ghostscript-gnu-cjk 6.52,
gNU Postscript interpreter CJK fonts adding port. This is a GNU version of ghostscript with features below: 1. CJK internationalization ready. 2. Depends on print/ghostscript-gnu and replace only necessary files. 3. -DA4 default as is standard in CJK countries. 4. Includes many additional printer drivers sold in japan. PR: ports/33116 Submitted by: Tomokatsu SAITO <saito@a2z.co.jp>
Notes
Notes: svn path=/head/; revision=53300
Diffstat (limited to '')
-rw-r--r--print/ghostscript-gnu-commfont/files/patch-src:genarch.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/print/ghostscript-gnu-commfont/files/patch-src:genarch.c b/print/ghostscript-gnu-commfont/files/patch-src:genarch.c
new file mode 100644
index 000000000000..a015e69e758a
--- /dev/null
+++ b/print/ghostscript-gnu-commfont/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");
+