diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-23 14:31:12 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-06-23 14:31:12 +0000 |
commit | 0f8b5a6653b457d3cef497b751e5bb62e379e638 (patch) | |
tree | 413f150c9d10ca031517119450d768a604023ce2 /japanese/prn/files/patch-ab | |
parent | Enable kcc. (diff) |
New port, prn:
Yet another text to ps filter with Japanese support.
PR: 3934
Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
Notes
Notes:
svn path=/head/; revision=7050
Diffstat (limited to 'japanese/prn/files/patch-ab')
-rw-r--r-- | japanese/prn/files/patch-ab | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/japanese/prn/files/patch-ab b/japanese/prn/files/patch-ab new file mode 100644 index 000000000000..209fd9298afb --- /dev/null +++ b/japanese/prn/files/patch-ab @@ -0,0 +1,41 @@ +*** prn.c.orig Thu May 26 11:37:45 1994 +--- prn.c Mon Jun 9 12:29:28 1997 +*************** +*** 34,41 **** + #include <sys/stat.h> + #include "euc.h" + + #define KCCPATH "/usr/local/bin/kcc" +! #if defined (__bsdi__) + #define LPRPATH "/usr/bin/lpr" + #else + #define LPRPATH "/usr/ucb/lpr" +--- 34,46 ---- + #include <sys/stat.h> + #include "euc.h" + ++ #if !defined KCCPATH + #define KCCPATH "/usr/local/bin/kcc" +! #endif +! #if (defined(__unix__) || defined(unix)) && !defined(USG) +! #include <sys/param.h> +! #endif +! #if defined (__bsdi__) || (defined(BSD) && (BSD >= 199103)) + #define LPRPATH "/usr/bin/lpr" + #else + #define LPRPATH "/usr/ucb/lpr" +*************** +*** 48,55 **** +--- 53,64 ---- + + #else + ++ #if !defined CMTPATH + #define CMTPATH "/usr/local/bin/cmt" ++ #endif ++ #if !defined PSPATH + #define PSPATH "/usr/local/bin/psconv" ++ #endif + + #endif + |