Subject: Re: NNTP
To: None <port-mac68k@NetBSD.ORG>
From: Dave Martin <dpm@netcetera.com>
List: port-mac68k
Date: 01/15/1997 20:03:29
At 6:57 PM -0800 1/15/97, Duncan McQueen wrote:
>Has anyone got NNTP to compile on NetBSD mac68k? I managed to get Cnews to
>compile and install, but am running into a hurdle with NNTP..
>Any help would be greatly appreciated...
>
>Duncan McQueen
I made the following changes to xntp3-5.86 to bring it up on an SE/30:
In the main source directory:
*** acconfig.h.dist Thu Aug 22 18:36:46 1996
--- acconfig.h Mon Oct 7 13:31:23 1996
***************
*** 107,113 ****
#undef CHAR_SYS_ERRLIST
/* define if it's OK to declare int syscall P((int, struct timeval *,
struct t
imeval *)); */
! #undef DECL_SYSCALL
/* define if we have syscall is buggy (Solaris 2.4) */
#undef SYSCALL_BUG
--- 107,113 ----
#undef CHAR_SYS_ERRLIST
/* define if it's OK to declare int syscall P((int, struct timeval *,
struct t
imeval *)); */
! /* #undef DECL_SYSCALL */
/* define if we have syscall is buggy (Solaris 2.4) */
#undef SYSCALL_BUG
*** config.h.dist Mon Oct 7 11:39:29 1996
--- config.h Mon Oct 7 12:07:25 1996
***************
*** 154,160 ****
#define WWVB 1
/* define if it's OK to declare char *sys_errlist[]; */
! #define CHAR_SYS_ERRLIST 1
/* define if it's OK to declare int syscall P((int, struct timeval *,
struct t
imeval *)); */
/* #undef DECL_SYSCALL */
--- 154,160 ----
#define WWVB 1
/* define if it's OK to declare char *sys_errlist[]; */
! /*#define CHAR_SYS_ERRLIST 1*/
/* define if it's OK to declare int syscall P((int, struct timeval *,
struct t
imeval *)); */
/* #undef DECL_SYSCALL */
In the xntpd directory:
*** ntp_loopfilter.c.dist Wed Aug 7 11:33:41 1996
--- ntp_loopfilter.c Mon Oct 7 13:36:51 1996
***************
*** 167,173 ****
MOD_STATUS | MOD_TIMECONST)
#ifndef NTP_SYSCALLS_LIBC
#ifndef SYS_NETBSD
! extern int syscall P((int, void *, ...));
#endif /* SYS_NETBSD */
#endif /* NTP_SYSCALLS_LIBC */
void pll_trap P((int));
--- 167,173 ----
MOD_STATUS | MOD_TIMECONST)
#ifndef NTP_SYSCALLS_LIBC
#ifndef SYS_NETBSD
! /* extern int syscall P((int, void *, ...)); */
#endif /* SYS_NETBSD */
#endif /* NTP_SYSCALLS_LIBC */
void pll_trap P((int));
*** ntp_request.c.dist Fri Jul 19 11:46:41 1996
--- ntp_request.c Mon Oct 7 13:53:33 1996
***************
*** 207,213 ****
#ifndef NTP_SYSCALLS_LIBC
#ifndef SYS_NETBSD
! extern int syscall P((int, void *, ...));
#endif /*SYS_NETBSD*/
#endif /* NTP_SYSCALLS_LIBC */
--- 207,213 ----
#ifndef NTP_SYSCALLS_LIBC
#ifndef SYS_NETBSD
! /* extern int syscall P((int, void *, ...)); */
#endif /*SYS_NETBSD*/
#endif /* NTP_SYSCALLS_LIBC */
------------------------------------------------------------------------
Dave Martin Netcetera, Inc. dpm@netcetera.com
------------------------------------------------------------------------