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 Xarchie 1.3 to 386BSD Date: 23 Oct 1992 21:02:11 GMT Organization: TRIUMF, Vancouver BC Lines: 150 Distribution: world Message-ID: <1c9p8jINN2c@iskut.ucs.ubc.ca> NNTP-Posting-Host: sitka.triumf.ca Keywords: Xarchie 386BSD Fellow 386BSD enthusiasts, I am enclosing patches to Xarchie 1.2 (an X11 program to query anonymous ftp sites) for 386BSD. The usual caveats, disclaimers and disavowals of responsibilty apply. Enjoy! Larry Felawka *** dirsend.c.orig Thu Nov 7 07:05:57 1991 --- dirsend.c Mon Oct 19 16:46:03 1992 *************** *** 56,62 **** --- 56,65 ---- # include <sys/select.h> # endif /* NEED_SELECT_H */ #endif /* !VMS */ + #ifndef NETINET_INCLUDED #include <netinet/in.h> + #define NETINET_INCLUDED + #endif #include <arpa/inet.h> #include <pfs.h> *** pauthent.h.orig Sat Nov 2 09:50:54 1991 --- pauthent.h Mon Oct 19 16:45:37 1992 *************** *** 20,26 **** --- 20,29 ---- PAUTH get_pauth(); #ifndef VMS + #ifndef NETINET_INCLUDED #include <netinet/in.h> + #define NETINET_INCLUDED + #endif #endif struct client_info { *** pfs.h.orig Sat Nov 2 10:25:03 1991 --- pfs.h Mon Oct 19 16:45:21 1992 *************** *** 16,22 **** --- 16,25 ---- # ifndef _TYPES_ # include <sys/types.h> # endif /* _TYPES_ */ + #ifndef NETINET_INCLUDED # include <netinet/in.h> + #define NETINET_INCLUDED + #endif #endif /* VMS */ #ifndef NULL *** udp.c.orig Sat Nov 2 10:54:45 1991 --- udp.c Mon Oct 19 16:44:48 1992 *************** *** 21,27 **** --- 21,30 ---- #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> + #ifndef NETINET_INCLUDED #include <netinet/in.h> + #define NETINET_INCLUDED + #endif #include <arpa/inet.h> #define SIZE 2048 *** Imakefile.orig Sat Nov 2 17:26:11 1991 --- Imakefile Tue Oct 20 13:31:59 1992 *************** *** 7,15 **** # Where do you want this stuff? Uncomment and adjust these to change the # destinations of "make install" and "make install.man" if the defaults # are not satisfactory. ! #BINDIR = bin #LIBDIR = lib ! #MANDIR = man/man1 ##undef ManSuffix ##define ManSuffix 1 --- 7,15 ---- # Where do you want this stuff? Uncomment and adjust these to change the # destinations of "make install" and "make install.man" if the defaults # are not satisfactory. ! BINDIR = /usr/local/bin #LIBDIR = lib ! MANDIR = /usr/local/man/man1 ##undef ManSuffix ##define ManSuffix 1 *************** *** 30,36 **** EZMENULIB = ezMenu$(TARGET_MACH) # How excited are you about debugging? This can be -g, -O, or nothing. ! CDEBUGFLAGS = -g # To enable Prospero tracing (controlled by the -debug option), uncomment this #PDEBUG = -DDEBUG --- 30,36 ---- EZMENULIB = ezMenu$(TARGET_MACH) # How excited are you about debugging? This can be -g, -O, or nothing. ! CDEBUGFLAGS = -traditional -O # To enable Prospero tracing (controlled by the -debug option), uncomment this #PDEBUG = -DDEBUG *************** *** 37,44 **** # Does your system have re_comp() and re_exec(), or regcmp() and regex() # [in the case of A/UX]? If not, uncomment the following definitions. ! #REGEXC = regex.c ! #REGEXO = regex.o ############################################################################## # Nothing to change below here... --- 37,44 ---- # Does your system have re_comp() and re_exec(), or regcmp() and regex() # [in the case of A/UX]? If not, uncomment the following definitions. ! REGEXC = regex.c ! REGEXO = regex.o ############################################################################## # Nothing to change below here... *************** *** 61,67 **** SRCS = $(ASRCS) $(XSRCS) $(REGEXC) OBJS = $(AOBJS) $(XOBJS) $(REGEXO) ! DEFINES = -DARCHIE -DXARCHIE $(PDEBUG) INCLUDES = -I. -I$(EZMENUDIR) DEPLIBS = $(EZMENULIB) XawClientDepLibs --- 61,67 ---- SRCS = $(ASRCS) $(XSRCS) $(REGEXC) OBJS = $(AOBJS) $(XOBJS) $(REGEXO) ! DEFINES = -DARCHIE -DXARCHIE -DNOREGEX $(PDEBUG) INCLUDES = -I. -I$(EZMENUDIR) DEPLIBS = $(EZMENULIB) XawClientDepLibs -- Larry Felawka TRIUMF Vancouver, BC