🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #175

nn 6.4 beta under Ultrix 3.0

#175
From: a.e.mossberg
Date: Thu, 08 Mar 1990 02:13
230 lines
5464 bytes
Below are the changes I had to make to compile the nn6.4beta package under
Ultrix 3.0 on a Microvax II.		aem Wed Mar  7 13:53:13 EST 1990


*** Makefile.orig	Wed Mar  7 13:21:46 1990
--- Makefile	Wed Mar  7 13:25:26 1990
***************
*** 5,11
  #
  # Some alternatives for CPP might be /lib/cpp and $(CC) -P
  # Common values for CFLAGS are '-O -s' or '-g'
! #
  
  CC =		cc
  CPP =		/lib/cpp

--- 5,12 -----
  #
  # Some alternatives for CPP might be /lib/cpp and $(CC) -P
  # Common values for CFLAGS are '-O -s' or '-g'
! # CHOWN should be the location of your chown program (BSD systems frequently
! # have it in /etc or /usr/etc
  
  CC =		cc
  CPP =		/lib/cpp
***************
*** 9,15
  
  CC =		cc
  CPP =		/lib/cpp
! CFLAGS =	-g
  MAKE =		make
  
  #

--- 10,16 -----
  
  CC =		cc
  CPP =		/lib/cpp
! CFLAGS =	-O -s
  MAKE =		make
  CHOWN =		/usr/etc/chown
  
***************
*** 11,16
  CPP =		/lib/cpp
  CFLAGS =	-g
  MAKE =		make
  
  #
  # Before compiling, read the instructions in the file INSTALLATION!

--- 12,18 -----
  CPP =		/lib/cpp
  CFLAGS =	-O -s
  MAKE =		make
+ CHOWN =		/usr/etc/chown
  
  #
  # Before compiling, read the instructions in the file INSTALLATION!
***************
*** 56,62
  ymakefile: Makefile xmakefile config.h
  	cp xmakefile MF.c
  	$(CPP) -DCOMPILER="$(CC)" -DPREPROC="$(CPP)" \
! 	       -DCDEBUG="$(CFLAGS)" MF.c | \
  	sed -e '1,/MAKE WILL CUT HERE/d' \
  	    -e '/^#/d' \
  	    -e '/^[ \f	]$$/d' \

--- 58,64 -----
  ymakefile: Makefile xmakefile config.h
  	cp xmakefile MF.c
  	$(CPP) -DCOMPILER="$(CC)" -DPREPROC="$(CPP)" \
! 	       -DCDEBUG="$(CFLAGS)" -DMCHOWN="$(CHOWN)" MF.c | \
  	sed -e '1,/MAKE WILL CUT HERE/d' \
  	    -e '/^#/d' \
  	    -e '/^[ \f	]$$/d' \
*** answer.c.orig	Wed Mar  7 13:10:46 1990
--- answer.c	Wed Mar  7 12:44:25 1990
***************
*** 561,567
   * WARNING: record may be NULL, soit must be the last argument!!
   */
  
! static char prev_aux_opt[5] = "-----";
  
  static aux_option(opt, name, on)
  int opt;

--- 561,567 -----
   * WARNING: record may be NULL, soit must be the last argument!!
   */
  
! static char *prev_aux_opt = "-----";
  
  static aux_option(opt, name, on)
  int opt;
*** inst.sh.orig	Wed Mar  7 13:30:27 1990
--- inst.sh	Wed Mar  7 13:36:11 1990
***************
*** 12,18
  		fi
  		chmod 755 $2
  		chgrp $GROUP $2
! 		chown $OWNER $2
  		echo Created directory $2
  	fi
  	exit 0

--- 12,18 -----
  		fi
  		chmod 755 $2
  		chgrp $GROUP $2
! 		$CHOWN $OWNER $2
  		echo Created directory $2
  	fi
  	exit 0
***************
*** 21,27
  	cp $4 $3
  	chmod $2 $3/$4
  	chgrp $GROUP $3/$4
! 	chown $OWNER $3/$4
  	echo "$4 -> $3/$4"
  	exit 0
  	;;

--- 21,27 -----
  	cp $4 $3
  	chmod $2 $3/$4
  	chgrp $GROUP $3/$4
! 	$CHOWN $OWNER $3/$4
  	echo "$4 -> $3/$4"
  	exit 0
  	;;
***************
*** 28,34
  chmod)
  	chmod $2 $3
  	chgrp $GROUP $3
! 	chown $OWNER $3
  	exit 0
  	;;
  esac

--- 28,34 -----
  chmod)
  	chmod $2 $3
  	chgrp $GROUP $3
! 	$CHOWN $OWNER $3
  	exit 0
  	;;
  esac
*** term.c.orig	Wed Mar  7 13:09:15 1990
--- term.c	Wed Mar  7 11:36:46 1990
***************
*** 577,583
  so_printxy(va_alist)
  va_dcl
  {
-     use_vararg;
      int k, l;
  
      start_vararg;

--- 577,582 -----
  so_printxy(va_alist)
  va_dcl
  {
      int k, l;
      use_vararg;
  
***************
*** 579,584
  {
      use_vararg;
      int k, l;
  
      start_vararg;
      

--- 578,584 -----
  va_dcl
  {
      int k, l;
+     use_vararg;
  
      start_vararg;
      
*** xmakefile.orig	Wed Mar  7 13:22:21 1990
--- xmakefile	Wed Mar  7 13:50:40 1990
***************
*** 30,35
  CC =	 COMPILER
  CPP =	 PREPROC
  CFLAGS = COMPILER_FLAGS CDEBUG
  
  *
  * Resulting programs

--- 30,36 -----
  CC =	 COMPILER
  CPP =	 PREPROC
  CFLAGS = COMPILER_FLAGS CDEBUG
+ CHOWN =  MCHOWN
  
  *
  * Resulting programs
***************
*** 114,119
  	@echo BIN_PROG=\"$(BIN_PROG)\" >> inst
  	@echo BIN_LINK=\"$(BIN_LINK)\" >> inst
  	@echo LIB_PROG=\"$(LIB_PROG)\" >> inst
  	@echo MASTER_PROG=\"$(MASTER_PROG)\" >> inst
  	@cat inst.sh >> inst
  	@chmod 755 inst

--- 115,121 -----
  	@echo BIN_PROG=\"$(BIN_PROG)\" >> inst
  	@echo BIN_LINK=\"$(BIN_LINK)\" >> inst
  	@echo LIB_PROG=\"$(LIB_PROG)\" >> inst
+ 	@echo CHOWN=\"$(CHOWN)\" >> inst
  	@echo MASTER_PROG=\"$(MASTER_PROG)\" >> inst
  	@cat inst.sh >> inst
  	@chmod 755 inst
-- 
a.e.mossberg / aem@mthvax.cs.miami.edu / aem@umiami.BITNET / Pahayokee Bioregion
The Vietnam War claimed 46,121 US soldier's lives. Guns at home were responsible
for the deaths of 84,644 civilians in the same period.	- NI, 9/88
Technical Details
Message-ID: <1990Mar8.021307.14329@mthvax.cs.miami.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!mailrus!ncar!umigw!mthvax!aem

Show Full Headers
Complete Article Headers
Message-ID: <1990Mar8.021307.14329@mthvax.cs.miami.edu>
Subject: nn 6.4 beta under Ultrix 3.0
Date: Thu, 08 Mar 1990 02:13:07 +0000
From: aem@mthvax.cs.miami.edu (a.e.mossberg)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!mailrus!ncar!umigw!mthvax!aem
Newsgroups: news.software.nn
Reply-To: aem@Mthvax.CS.Miami.Edu
Organization: U of Miami Dept. of Math. and Computer Science, Coral Gables, FL 33124
Lines: 230
Posted: Thu Mar 8 03:13:07 1990