summaryrefslogtreecommitdiff
path: root/mail/xpbiff/files/patch-aa
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@FreeBSD.org>1997-08-24 15:44:05 +0000
committerJun-ichiro itojun Hagino <itojun@FreeBSD.org>1997-08-24 15:44:05 +0000
commitc70326a461ad453c996bf21c963f98e69c82b245 (patch)
treeff38882f8147e029b9598b273ed08f6de2b573bd /mail/xpbiff/files/patch-aa
parentUpgrade to ghostscript 5.03 (diff)
imported a new port for xpbiff.
A replacement for xbiff that handles popup window with mail header. PR: 4121 Submitted by: sanpei@yy.cs.keio.ac.jp
Diffstat (limited to 'mail/xpbiff/files/patch-aa')
-rw-r--r--mail/xpbiff/files/patch-aa124
1 files changed, 124 insertions, 0 deletions
diff --git a/mail/xpbiff/files/patch-aa b/mail/xpbiff/files/patch-aa
new file mode 100644
index 000000000000..591ffc95b679
--- /dev/null
+++ b/mail/xpbiff/files/patch-aa
@@ -0,0 +1,124 @@
+--- config.h.orig Wed Oct 19 14:56:25 1994
++++ config.h Mon Jul 14 23:11:10 1997
+@@ -8,7 +8,7 @@
+ /*
+ * For X11R6
+ */
+-#undef X11R6
++#define X11R6
+
+ /*
+ * For System V
+@@ -33,6 +33,12 @@
+ #undef NO_CUSERID
+
+ /*
++ * Your system has getpwuid() in library
++ */
++
++#define HAVE_GETPWUID
++
++/*
+ * For MH scan users
+ */
+
+@@ -42,45 +48,71 @@
+ * For Shape Extension
+ */
+
+-#undef SHAPE
++#define SHAPE
+
+ /*
+ * Check Environment Variable MAIL for check file
+ */
+-#undef GETENV_MAIL
++#define GETENV_MAIL
+
+ /*
+ * Set Local Spool pathname
+ */
+ #undef SPOOLPATH "/usr/mail"
+
++#ifndef SPOOLPATH
++#ifdef __FreeBSD__
++#include <paths.h>
++#define SPOOLPATH _PATH_MAILDIR
++#else
++#undef SPOOLPATH "/usr/mail"
++#endif
++#endif
++
+ /*
+ * For X pixmap
+ */
+-#undef XPM
+-#undef DepXpmLib /usr/local/lib/libXpm.a
++#define XPM
++
++#ifdef XPM
++#ifdef __FreeBSD__
++#undef DepXpmLib
++#else
++#define DepXpmLib /usr/local/lib/libXpm.a
++#endif /* __FreeBSD__ */
++#endif /* XPM */
+
+ /*
+ * For using I18N Xaw
+ */
+-#undef XI18N
+-/* If you use X11R6, these settings below are not necessary */
++#ifndef XI18N
++#ifdef __FreeBSD__
++#define XI18N
++#endif
++#endif
++
++#ifdef XI18N
++#undef X11R5_Xsi /* define if X11R5 Xsi */
++#endif
++
++#ifdef X11R5_Xsi /* When X11R5 Xsi, define followings if you want */
+ #undef DepXawLib /usr/local/lib/I18N/libXaw.a
+ #undef DepXwcharLib /usr/local/lib/I18N/libXwchar.a
+ #undef Xi18nLibDir -L/usr/local/lib/I18N \
+ -L/usr/local/lib
+ #undef Xi18nIncDir -I/usr/local/X11/include
++#endif
+
+ /*
+ * Convert JIS to Japanese EUC
+ */
+-#undef JCONVERT
++#define JCONVERT
+ #undef GUESS_JIS
+
+ /*
+ * Process MIME header, charset=ISO-2022-JP, base 64 encoding
+ */
+-#undef ISO_2022_JP
++#define ISO_2022_JP
+
+ /*
+ * For SUN Audio
+@@ -88,9 +120,17 @@
+ #undef SUN_AUDIO
+ #undef AudioIncDir /usr/demo/SOUND
+
++/*
++ * For BSD Audio (FreeBSD)
++ */
++#define BSD_AUDIO
++
+ /*
+ * For YOUBIN Service
+ */
+ #undef YOUBIN
+-#undef YoubinBinDir /usr/local/bin
+-#undef YOUBIN_DEFAULT_SERVER_HOST "server"
++
++#ifdef YOUBIN
++#define YoubinBinDir %YOUBINBINDIR%
++#define YOUBIN_DEFAULT_SERVER_HOST "server"
++#endif /* YOUBIN */