delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/18/05:53:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <200107180942.KAA17106@ireserver.Ireland.Sun.COM>
Date: Wed, 18 Jul 2001 10:42:20 +0100 (BST)
From: Armin Theissen <Armin DOT Theissen AT Sun DOT COM>
Reply-To: Armin Theissen <Armin DOT Theissen AT Sun DOT COM>
Subject: Re: does patch.exe work different than other unx patch tools?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc


Hi, 

thanks for all your help on that issue. We got the patch working 
now. 

First, Corrina's suggestion of forgetting the 'type' works, but 
the patch is part of a makefile which should work for unix platforms 
as well (openoffice.org) and the type command is needed there for 
reasons I don't know right now ( = I don't build the unix stuff). 
Then, it makes no difference whether I use the newest latest cygwin 
or the old one (which we need to compile openoffice.org properly 
from the 4nt shell using cygwin tools). 
Last but not least, the line-ends. The solution to make the patch 
working is
 
type patch-file-name | tr -d "\015"| patch -b -p2

armin

> 
> You appear to be using a rather old version of the Cygwin environment
> (C:\cygnus\CYGWIN~1\H-I586~1\bin\).  A newer version of Cygwin with the
> patch.exe built for it might work better.
> 
> --
> Mac :})
> ** I normally forward private questions to the appropriate mail list. **
> Give a hobbit a fish and he eats fish for a day.
> Give a hobbit a ring and he eats fish for an age.
> ----- Original Message -----
> From: "Armin Theissen" <Armin DOT Theissen AT Sun DOT COM>
> To: <cygwin AT cygwin DOT com>
> Sent: Tuesday, July 17, 2001 05:49
> Subject: Re: does patch.exe work different than other unx patch tools?
> 
> 
> > the patch plainly fails:
> >
> > cd build\wntmsci7.pro && (type ..\..\db-3.2.9.patch | patch -b -p2) &&
> > C:\cygnus\CYGWIN~1\H-I586~1\bin\touch.exe so_patched
> > patching file `db-3.2.9/cxx/cxx_app.cpp'
> > Hunk #1 FAILED at 7.
> > 1 out of 1 hunk FAILED -- saving rejects to db-3.2.9/cxx/cxx_app.cpp.rej
> > patching file `db-3.2.9/cxx/cxx_table.cpp'
> > Hunk #1 FAILED at 7.
> > 1 out of 1 hunk FAILED -- saving rejects to db-3.2.9/cxx/cxx_table.cpp.rej
> > patching file `db-3.2.9/dist/Makefile.in'
> > Hunk #1 FAILED at 8.
> > 1 out of 1 hunk FAILED -- saving rejects to db-3.2.9/dist/Makefile.in.rej
> > dmake: Error code 129, while making 'build\wntmsci7.pro\so_patched'
> > ---*TG_SLO.MK*---
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


-----------------------------------------------------------------
Armin dot Theissen at sun dot com           phone +353 1 819 9080
SUN Microsystems Ireland                       (SUN intern 19080)
East Point Business Park, Boole House   Dublin 3, Rep. of Ireland 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019