Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <005701c10f8e$b3415320$6464648a@ca.boeing.com> From: "Michael A. Chase" To: "Armin Theissen" , References: <200107180941 DOT KAA16581 AT ireserver DOT Ireland DOT Sun DOT COM> Subject: Re: does patch.exe work different than other unx patch tools? Date: Wed, 18 Jul 2001 06:32:47 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 ----- Original Message ----- From: "Armin Theissen" To: Sent: Wednesday, July 18, 2001 02:41 Subject: Re: does patch.exe work different than other unx patch tools? > 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 In UNIX, 'type' may be used to search for a command in the directories listed in $PATH. In MSDOS, 'type' copies its input file to STDOUT which is more like UNIX 'cat'. That leads me to believe you are already in a MSDOS (or 4nt) specific section of your makefile. What problems prevent you from compiling openoffice.org using the latest Cygwin? If you have problems in the future with the old version, you are going to have a hard time finding anyone to help. > > 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. -- 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/