RE: install sar2.patch sar-cumulative.patch

2002-10-15 Thread Igor Ivoilov
Title: RE: install sar2.patch sar-cumulative.patch





These both 2 patches are from me. 
You have to install only the last one, sar-cumulative.patch
Do it as following
Having gateway-1.2.0 as cwd do
    cd wap
    patch < SAR-cumulative.patch
That's it



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 16, 2002 9:13 AM
> To: [EMAIL PROTECTED]
> Subject: install sar2.patch sar-cumulative.patch
> 
> 
> 
> 
>  Here is the content of the directory where my 
>  gateway is: 
>  
>  [root@tick gateway-1.2.0]# ls 
>  aclocal.m4  config.cache  config.status  COPYING  
>  INSTALL libwmlscript.a  NEWS  
>  STATUS   wmlscript 
>  AUTHORS config.guess  config.sub debian   
>  install-sh  Makefile    README    
>  test 
>  benchmarks  config.h  configure  doc  
>  libgw.a Makefile.in sar2.patch    
>  utils 
>  ChangeLog   config.h.in   configure.in   gw   
>  libgwlib.a  missing SAR-cumulative.patch  
>  VERSION 
>  checks  config.log    contrib    gwlib    
>  libwap.a    mkinstalldirs   solaris   
>  wap 
>  
>  I launch this: 
>  
>  [root@tick gateway-1.2.0]# patch -p 0 < 
>  SAR-cumulative.patch 
>  (Stripping trailing CRs from patch.) 
>  patching file wap/wap_events.def 
>  patch:  malformed patch at line 25: 
>  WAPEVENT(RcvAbort, "RcvAbort",=0A= 
>  
>  [root@tick gateway-1.2.0]# 
>  
>  Or this : 
>  
>  [root@tick gateway-1.2.0]# patch -p 0 < sar2.patch 
>  (Stripping trailing CRs from patch.) 
>  can't find file to patch at input line 11 
>  Perhaps you used the wrong -p or --strip option? 
>  The text leading up to this was: 
>  -- 
>  |Content-Type: application/octet-stream; 
>  |   name="sar2.patch" 
>  |Content-Transfer-Encoding: quoted-printable 
>  |Content-Disposition: attachment; 
>  |   filename="sar2.patch" 
>  | 
>  |diff -ub wap-slava/wap_events.def = 
>  |../kannel-snapshot/wap/wap_events.def=0A= 
>  |--- wap-slava/wap_events.def   Fri Sep 13 
>  03:43:32 2002=0A= 
>  |+++ ../kannel-snapshot/wap/wap_events.def  
>  Fri Sep 13 05:55:02 2002=0A= 
>  -- 
>  File to patch: 
>  
>  
>  I don`t know which file I have to patch for the 
>  sar facilities... 
>  Am I in the right directory? 
>  What`s my fault? 
>  Thanks for your help and have a nice day 
>  
>  Cedric 
>  
> 
> 





install sar2.patch sar-cumulative.patch

2002-10-15 Thread e99ccosa



 Here is the content of the directory where my 
 gateway is: 
 
 [root@tick gateway-1.2.0]# ls 
 aclocal.m4  config.cache  config.status  COPYING  
 INSTALL libwmlscript.a  NEWS  
 STATUS   wmlscript 
 AUTHORS config.guess  config.sub debian   
 install-sh  MakefileREADME
 test 
 benchmarks  config.h  configure  doc  
 libgw.a Makefile.in sar2.patch
 utils 
 ChangeLog   config.h.in   configure.in   gw   
 libgwlib.a  missing SAR-cumulative.patch  
 VERSION 
 checks  config.logcontribgwlib
 libwap.amkinstalldirs   solaris   
 wap 
 
 I launch this: 
 
 [root@tick gateway-1.2.0]# patch -p 0 < 
 SAR-cumulative.patch 
 (Stripping trailing CRs from patch.) 
 patching file wap/wap_events.def 
 patch:  malformed patch at line 25: 
 WAPEVENT(RcvAbort, "RcvAbort",=0A= 
 
 [root@tick gateway-1.2.0]# 
 
 Or this : 
 
 [root@tick gateway-1.2.0]# patch -p 0 < sar2.patch 
 (Stripping trailing CRs from patch.) 
 can't find file to patch at input line 11 
 Perhaps you used the wrong -p or --strip option? 
 The text leading up to this was: 
 -- 
 |Content-Type: application/octet-stream; 
 |   name="sar2.patch" 
 |Content-Transfer-Encoding: quoted-printable 
 |Content-Disposition: attachment; 
 |   filename="sar2.patch" 
 | 
 |diff -ub wap-slava/wap_events.def = 
 |../kannel-snapshot/wap/wap_events.def=0A= 
 |--- wap-slava/wap_events.def   Fri Sep 13 
 03:43:32 2002=0A= 
 |+++ ../kannel-snapshot/wap/wap_events.def  
 Fri Sep 13 05:55:02 2002=0A= 
 -- 
 File to patch: 
 
 
 I don`t know which file I have to patch for the 
 sar facilities... 
 Am I in the right directory? 
 What`s my fault? 
 Thanks for your help and have a nice day 
 
 Cedric