[OpenAFS] patches for package and mpp
Dr A V Le Blanc
Dr A V Le Blanc <LeBlanc@mcc.ac.uk>
Thu, 9 Aug 2007 11:05:05 +0100
Some time ago there was some discussion about the package command
and its preprocessor mpp. I suppose there aren't many of us
still using it, but it is possible to compile it and run it
with appropriate patches. The enclosed diffs remove the pre-ANSI
prototypes and replace varargs using stdarg. They work on 32 and
on 64 bit architecture machines.
These are against openafs-1.4.4, the Debian 'orig' version, but
they should work with others.
-- Owen
begin 600 Diffs.gz
M'XL("-??ND8"`T1I9F9S`-5:6W/:R!)^AE\QZ]TDV"`L<3/@DU2(C1UJ'=L%
M>+.IG)1+2"-064@J2=CA;.6_G^ZY2$((#/'NP^)$H)Z>GIFO+]/3DFE;%E&"
M1>V:>#YU=2N\UZH-^#.M<*I5O<">'H>!<3SW??Q?-22;\NGL;+6EJ"C*CD(*
M-55M*&I+J=6)UNS63KKU9E65'U)6-54MELOES8.AA!-%;2OJ"9/0[&J=-0GO
MWQ.E46F1<J-R0MZ_+Y)?;==P%B8E_PDCT_:JLW=IVL*U@8Q$I:C0[Q$-7&+,
M](`<S77'\8S2X6FQO"+"L2?(OD(,;'>Z1C3U@!$)C&=2RW9I8:Y_MUU_$9G4
MCV8%K<5GVZIH)S#?DTJ-SSB,],@VX"M8&!&9ZT;@X73@:Z:'LTB?./1K?!O:
M_Z/?3F$0172SW0A6$@1>4.(+T=6*6)*N'1;+@NW1L\UB.<M7K58/B^2OHD+@
M8_FPKL@JP5*`KT*0`42<\E98AE%Z\U_W385P!ME`O]M1"=G*A#SJ]PX`3'1?
MWL+P0532?13'>7*'\>/^U#5+_!8)>:.64V.2'UDH+-NA&^$XS>"1Q[P5DX-7
MX2EQ0+?DE=DE!Q6"$GSEG:O/:7R#[:X7X\/DQV#^)$K[#?R/P&SN&$=\W7C0
MI_38F%'C(2>:9-J?CRF9#CF1I;-39,F1DXXOG6ZCG1M?:O5*@Y3AVLQ&F&4(
M0@-]GHDRIAU0-]H8-A+.@ZGC370GK,X.T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