delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/18/15:15:02

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: <BF35D9C143BCCC4EB63181B67C9320C804DE16@serv-075.icon-germany.local>
From: Heribert Dahms <heribert_dahms AT icon-scm DOT com>
To: "'Armin Theissen'" <Armin DOT Theissen AT Sun DOT COM>, cygwin AT cygwin DOT com
Subject: RE: does patch.exe work different than other unx patch tools?
Date: Wed, 18 Jul 2001 21:14:33 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Hi Armin,

if you edit your makefile anyway you can as well use Corinna's original
suggestion:

	patch -b -p2 -i ../../db-3.2.9.patch

or I'd use the unixy way:

	patch -b -p2 < ../../db-3.2.9.patch

or for best portability conditionally set a variable to cat or type:

	$CAT patch-file-name | patch -b -p2


Bye, Heribert (heribert_dahms AT icon-gmbh DOT de)

> -----Original Message-----
> From:	Armin Theissen [SMTP:Armin DOT Theissen AT Sun DOT COM]
> Sent:	Wednesday, July 18, 2001 11:42
> To:	cygwin AT cygwin DOT com
> Subject:	Re: does patch.exe work different than other unx patch
> tools?
> 
> 
> 
> 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
> 
> 
	[Heribert]  [snip]


--
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