[comp.os.minix] rcs patches for minix-st

klamer@mi.eltn.utwente.nl (Klamer Schutte) (04/08/91)

Here follow my patches for rcs. Everything is relative to the patches
earlier posted for minix-pc. Makefile thinks you have c68 and the gnu diff.
Should compile with ACK, however. Don't know about standard diff.
(You need a 32bit int compiler for gnu diff.)
Follow the directions as in the minix-pc posting. Be shure that we you are
making conf.h your about of conf.sh comes into a.h.

Klamer


echo x - changes.ks
sed '/^X/s///' > changes.ks << '/'
X1/4/91:	make use of stdarg.h
X	redefine va_start
X	define va_dcl
X	fix value of vfprintf
X	hack to make output of conf.sh go to a.h
/
echo x - Makefile.cdif
sed '/^X/s///' > Makefile.cdif << '/'
X*** 5.8.1.1	1991/02/16 21:28:44
X--- 5.8.2.1	1991/04/07 17:08:24
X***************
X*** 1,4 ****
X! # $Id: Makefile,v 5.8.1.1 1991/02/16 21:28:44 root Exp $
X  # Copyright (C) 1982, 1988, 1989 Walter Tichy
X  #   Copyright 1990 by Paul Eggert
X  #   Distributed under license by the Free Software Foundation, Inc.
X--- 1,4 ----
X! # $Id: Makefile,v 5.8.2.1 1991/04/07 17:08:24 klamer Exp $
X  # Copyright (C) 1982, 1988, 1989 Walter Tichy
X  #   Copyright 1990 by Paul Eggert
X  #   Distributed under license by the Free Software Foundation, Inc.
X***************
X*** 73,91 ****
X  #DIFF3_TYPE = lib
X  
X  # GNU diff -- must be version 1.15 or later
X! #DIFFPREFIX = ${RCSDIR}/
X! #DIFF = ${DIFFPREFIX}diff
X! #DIFF_FLAGS = -an
X! #DIFF_L = 1
X! #DIFF3 = ${DIFF}3
X! #DIFF3_TYPE = bin
X! 
X!  DIFF = /usr/bin/diff
X!  DIFF_FLAGS = -n
X!  DIFF_L = 0
X!  DIFF3 = /usr/lib/diff3
X!  DIFF3_TYPE = lib
X  
X  
X  #	Set SENDMAIL to be a comma-separated list of strings that are a command
X  #	to send mail.  The first string should be an absolute pathname.
X--- 73,91 ----
X  #DIFF3_TYPE = lib
X  
X  # GNU diff -- must be version 1.15 or later
X! DIFFPREFIX = ${RCSDIR}/
X! DIFF = ${DIFFPREFIX}diff
X! DIFF_FLAGS = -an
X! DIFF_L = 1
X! DIFF3 = ${DIFF}3
X! DIFF3_TYPE = bin
X  
X+ #DIFF = /usr/bin/diff
X+ #DIFF_FLAGS = -n
X+ #DIFF_L = 0
X+ #DIFF3 = /usr/lib/diff3
X+ #DIFF3_TYPE = lib
X+ 
X  
X  #	Set SENDMAIL to be a comma-separated list of strings that are a command
X  #	to send mail.  The first string should be an absolute pathname.
X***************
X*** 110,116 ****
X  #O=s	Minix ACK compiler uses .s object files
X  #O=o	All other compilers??
X  
X!  O=s
X  #	Decide what C compiler flags you need.
X  
X  # Optimize.  Put in options that work well for your compiler.
X--- 110,116 ----
X  #O=s	Minix ACK compiler uses .s object files
X  #O=o	All other compilers??
X  
X!  O=o
X  #	Decide what C compiler flags you need.
X  
X  # Optimize.  Put in options that work well for your compiler.
X***************
X*** 117,123 ****
X  # Options to try with GCC include -fdelayed-branch, -finline-functions,
X  # -fomit-frame-pointer, and -fstrength-reduce.
X  #CC_O = -O
X! CC_O = -F -D_MINIX -D_POSIX_SOURCE
X  
X  # Make all initialized data read-only (not just string literals).
X  # This option can improve performance by making initialized data shared.
X--- 117,123 ----
X  # Options to try with GCC include -fdelayed-branch, -finline-functions,
X  # -fomit-frame-pointer, and -fstrength-reduce.
X  #CC_O = -O
X! CC_O = -D_MINIX -D_POSIX_SOURCE
X  
X  # Make all initialized data read-only (not just string literals).
X  # This option can improve performance by making initialized data shared.
X***************
X*** 141,147 ****
X  #CC = cc
X  #CFLAGS = ${CC_O} ${CC_R}
X  
X!  CC = cc
X   CFLAGS = ${CC_O} ${CC_R}
X  
X  
X--- 141,147 ----
X  #CC = cc
X  #CFLAGS = ${CC_O} ${CC_R}
X  
X!  CC = cc -c68s
X   CFLAGS = ${CC_O} ${CC_R}
X  
X  
/
echo x - Makefile.uue
sed '/^X/s///' > Makefile.uue << '/'
Xtable
X !"#$%&'()*+,-./0123456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F4#W&Z8#-C,$SX70>::*1E]6$#3:UB09N>G.MX:S#.,L)QS"@$ZCKA!5Dt
XMWND4-\BS#/3T#E;G@,\LZM.+=.AGTP J4#<0]&#F(V=".<90AT+4::K1Z$4Ss
XM.H2*NNJC(1UIHSSZA9.F% LK;>E+8ZJ4F2*&-#9- T[?NJ:XBJ4,/PVJ98EJr
XM5+,DM7T;:ZHV%P-5J1Y(9E;5Y9ZT2C^NPL&K20LKH,AZ(QVA5:W)72[%FLO3q
XMG0G)B@%,I@)U$@,:C*>_*XFF4 X[IC&,(;:'R];?--J'1U&T4IU\2Q(+?."Vp
XMO"7!J^,4@QU<6PAC,990Z^]_:;"2/W:(P FK\( QK*L-:[C#?8@PB@U<GC'8o
X3  >1O+#J6ES;)S3XQ5_P<"SM!;"2n
X m
Xend
/
echo x - conf.sh.cdif
sed '/^X/s///' > conf.sh.cdif << '/'
X*** 5.6.1.1	1991/02/16 21:28:44
X--- 5.6.2.1	1991/04/07 17:01:48
X***************
X*** 1,6 ****
X  #!/bin/sh
X  # Output RCS compile-time configuration.
X! Id='$Id: conf.sh,v 5.6.1.1 1991/02/16 21:28:44 root Exp $'
X  #	Copyright 1990 by Paul Eggert
X  #	Distributed under license by the Free Software Foundation, Inc.
X  
X--- 1,6 ----
X  #!/bin/sh
X  # Output RCS compile-time configuration.
X! Id='$Id: conf.sh,v 5.6.2.1 1991/04/07 17:01:48 klamer Exp $'
X  #	Copyright 1990 by Paul Eggert
X  #	Distributed under license by the Free Software Foundation, Inc.
X  
X***************
X*** 166,172 ****
X  #else
X  #	define P(params) ()
X  #	if !MAKEDEPEND
X! #		include <varargs.h>
X  #	endif
X  #	define vararg_start(ap,p) va_start(ap)
X  #endif
X--- 166,172 ----
X  #else
X  #	define P(params) ()
X  #	if !MAKEDEPEND
X! #		include <stdarg.h>
X  #	endif
X  #	define vararg_start(ap,p) va_start(ap)
X  #endif
/
echo x - conf.uue
sed '/^X/s///' > conf.uue << '/'
Xtable
X !"#$%&'()*+,-./0123456789:;<=>?
X@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
Xbegin 644 conf.sh.cdif.Z
XM'YV-*@*"J.'"AHL8!Q/$R)$CQ@L8,E[$L %"1@P=,G#HH$%#08N/ PNZD)%Pz
XM8<.'-![> !'CA@X8%VG@4!"PILV;*F@*C,&"HDT%($","/%"3!HW+^:@ 2H4y
XMQ),Z=.! !2%ER!008]ZT@9.&39D6=-*T*8/UC1LS:<[4D1,FK%D7"D* 2$*Fx
XMQPD2='64/>M"*0L[(0TBC,&2H4.($BE:Q*B1(P@Y;][0 5$$#QP0)$XP'9%@w
XMR!LX>>2D13/9) P08O* @!*F#AO*9\Z4D4-G<P(B:>;0$2T&:ADR(.JX(3,;v
XM!)LT8\JXF4,V-0@Z:,@:D5.&[)0W9NC<"4,=A)$WPLFT36.6Q5PW8^ &]0B2u
XM)\6/'S<3-8I4Z6:G4*5.KGHUZ]:N7X4UUEYHJ<666V[ )1===N%%AEY9\>47t
XM8 091!)A)AV6$@PKM?123#B L 8;88PE!V668:994)QY!IIH9Y!66 ZG.<>:s
XM:[#)1IMMN.G&FV_ A5?<<<DMUYQJT$E'G778:<>==. --UYYYZ7'E$XX98DEr
XM2S;8P$)+,H#P$XMEL,&<;<2AY0994*  !W<ESI$"""BD8%L:9H 00A-!+%$$q
XM$45 48031,0E5 ()'#4&&W40!P(/=L IQQESN("&#[8I1P:>:):A)EF1LC7Ip
XM%[IQ1P<*8<#! AQS1DHJ'::BRNIFFG(*'Y=>@@D"?"W0:F89G7ZZFIMPMB$Go
XMG7:RF&B>>_;Y9Z"#%BH79XFBQZBC/.@FWJ268JILK68$>Q2HDI[Q:JRIKMIJn
X*&.?2)FNR0H&K *"#m
X l
Xend
/
-- 
Klamer Schutte
Faculty of electrical engineering -- University of Twente, The Netherlands
klamer@mi.eltn.utwente.nl	{backbone}!mcsun!mi.eltn.utwente.nl!klamer