From 979ed31b76fdce3598a0ae8adb6ab670ae33a78e Mon Sep 17 00:00:00 2001 From: Yoshio MITA Date: Fri, 18 Jan 2002 15:23:54 +0000 Subject: 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 --- .../files/patch-src:genarch.c | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 print/ghostscript-gnu-commfont/files/patch-src:genarch.c (limited to 'print/ghostscript-gnu-commfont/files/patch-src:genarch.c') 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"); + -- cgit v1.2.3