This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygport patch - apply_patch
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 17 Jan 2007 21:45:06 +0000 (UTC)
- Subject: Re: cygport patch - apply_patch
- References: <loom.20070117T222417-149@post.gmane.org>
apply_patch has a typo in 0.2.8 that breaks operation when trying to prep a
package:
--- /bin/cygport.orig 2007-01-17 14:23:36.211079400 -0700
+++ /bin/cygport 2007-01-17 14:39:54.305198900 -0700
@@ -532,10 +532,10 @@
while (( patchlevel <= 3 ))
do
- if patch -N -s --dry-run -p${patchlevel} -i
${patchfile} &> /dev/null
+ if patch -N -s --dry-run -p${patchlevel} -i
${patchfile_name} &> /dev/null
then
inform "applying patch ${patchfile_name}:";
- patch -N -p${patchlevel} -i ${patchfile} ||
error "patch ${patchfile_name} failed"
+ patch -N -p${patchlevel} -i ${patchfile_name}
|| error "patch ${patchfile_name} failed"
break;
else
if (( patchlevel == 3 ))
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/