Return to BSD News archive
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!caen!destroyer!cs.ubc.ca!unixg.ubc.ca!sitka.triumf.ca!felawka From: felawka@sitka.triumf.ca (Larry Felawka) Newsgroups: comp.unix.bsd Subject: Port of xrn 6.17 to 386BSD Date: 2 Nov 1992 16:38:28 GMT Organization: TRIUMF, Vancouver BC Lines: 196 Distribution: world Message-ID: <1d3li4INNmqd@iskut.ucs.ubc.ca> NNTP-Posting-Host: sitka.triumf.ca Keywords: Port xrn 386BSD Fellow 386BSD enthusiasts, I am enclosing patches to xrn 6.17 (a X11 USENET News reader running as an NNTP client) for 386BSD. The patches and sources are available in directory "/pub/incoming" of node "agate.berkeley.edu" in the files xrn6-17.patch.386BSD xrn6-17.tar.Z The usual caveats, disclaimers and disavowals of responsibilty apply. Enjoy! Larry Felawka *** config.h.orig Wed Dec 4 11:30:23 1991 --- config.h Sun Nov 1 13:41:36 1992 *************** *** 34,39 **** --- 34,44 ---- * config.h: configurable defaults */ + #ifdef __386BSD__ + #define re_comp regcomp + #define re_exec regexec + #endif + /* place to report bugs and request new features */ #ifndef GRIPES #define GRIPES "xrn@ic.Berkeley.EDU" *************** *** 40,46 **** #endif /* if you want xrn to provide a titlebar */ ! /* #define TITLEBAR */ /* if you want a short icon name */ #define SHORT_ICONNAME --- 45,51 ---- #endif /* if you want xrn to provide a titlebar */ ! #define TITLEBAR /* if you want a short icon name */ #define SHORT_ICONNAME *************** *** 201,207 **** * If you see a message about "NULL translation table", you need to undefine * this */ ! /* #define TRANSLATIONS_NOT_FREED */ /* #define TRANSLATIONBUG */ /* DEC (VMS) X windows release */ /* #define ERRORBUG */ /* DEC (VMS) X windows release */ --- 206,212 ---- * If you see a message about "NULL translation table", you need to undefine * this */ ! #define TRANSLATIONS_NOT_FREED /* #define TRANSLATIONBUG */ /* DEC (VMS) X windows release */ /* #define ERRORBUG */ /* DEC (VMS) X windows release */ *************** *** 290,311 **** #endif /* vfork supported */ ! #if defined(ultrix) || defined(sun) || (defined(sony) && !defined(SYSV)) #define VFORK_SUPPORTED #endif ! /* define this if your popen uses vfork - ultrix uses fork... */ ! #if !defined(VFORK_SUPPORTED) || (!defined(ultrix) && (!defined(SYSV) || defined(sgi))) #define POPEN_USES_INEXPENSIVE_FORK #endif /* bsd b* functions */ ! #if defined(sequent) || !defined(SYSV) #define BSD_BFUNCS #endif /* v{s,f}printf functions */ ! #if defined(sequent) || defined(ibm032) || defined(hp300) || defined(sony) || !defined(SYSV) #define NEED_VPRINTF #endif --- 295,316 ---- #endif /* vfork supported */ ! #if defined(__386BSD__) || defined(ultrix) || defined(sun) || (defined(sony) && !defined(SYSV)) #define VFORK_SUPPORTED #endif ! /* define this if your popen uses vfork - 386BSD and ultrix use fork... */ ! #if !defined(VFORK_SUPPORTED) || (!defined(__386BSD__) && !defined(ultrix) && (!defined(SYSV) || defined(sgi))) #define POPEN_USES_INEXPENSIVE_FORK #endif /* bsd b* functions */ ! #if defined(sequent) || (!defined(__386BSD__) && !defined(SYSV)) #define BSD_BFUNCS #endif /* v{s,f}printf functions */ ! #if defined(sequent) || defined(ibm032) || defined(hp300) || defined(sony) || (!defined(__386BSD__) && !defined(SYSV)) #define NEED_VPRINTF #endif *************** *** 315,321 **** * in various vendors libc's. You might want to always define NEED_TEMPNAM * and not use the libc one at all. */ ! #if defined(convex) || (defined(sony) && !defined(SYSV)) || (!defined(sun) && !defined(ultrix) && !defined(SYSV)) || defined(ibm032) || defined(sequent) || defined(_IBMR2) #define NEED_TEMPNAM #else #define utTempnam tempnam --- 320,326 ---- * in various vendors libc's. You might want to always define NEED_TEMPNAM * and not use the libc one at all. */ ! #if defined(convex) || (defined(sony) && !defined(SYSV)) || (!defined(sun) && !defined(ultrix) && !defined(__386BSD__) && !defined(SYSV)) || defined(ibm032) || defined(sequent) || defined(_IBMR2) #define NEED_TEMPNAM #else #define utTempnam tempnam *************** *** 322,328 **** #endif /* strtok function */ ! #if defined(sequent) || !defined(SYSV) #define NEED_STRTOK #endif --- 327,333 ---- #endif /* strtok function */ ! #if defined(sequent) || (!defined(__386BSD__) && !defined(SYSV)) #define NEED_STRTOK #endif *************** *** 369,375 **** --- 374,384 ---- #ifndef SENDMAIL #ifndef VMS + #ifdef __386BSD__ + #define SENDMAIL "/usr/sbin/sendmail -oi -t" + #else #define SENDMAIL "/usr/lib/sendmail -oi -t" + #endif #else #define SENDMAIL "MAIL " #endif *** newsrc.l.orig Wed Jul 24 12:09:04 1991 --- newsrc.l Tue Oct 20 15:52:07 1992 *************** *** 48,57 **** --- 48,59 ---- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + /* yywrap() { return(1); } + */ /*ARGSUSED*/ yyerror(s) *** Imakefile.orig Wed Dec 4 11:33:01 1991 --- Imakefile Wed Oct 21 22:46:04 1992 *************** *** 35,40 **** --- 35,44 ---- #include BandAidCompiler #endif + #if defined(__386BSD__) + CFLAGS = -traditional -O -I/usr/X386/include + #endif + #if defined(XmacIIServer) || defined(hp9000s300) || defined(hp9000s800) || defined(SGIArchitecture) EXTRA_LOAD_FLAGS = -lPW #endif -- ------------------------------------------------------------------------- Larry Felawka Internet: felawka@sitka.triumf.ca Telephone: (604) 222 1047 X483