delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/17/16:50:35

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Blake <ebb9 AT byu DOT net>
Subject: Re: cygport patch - =?utf-8?b?YXBwbHlfcGF0Y2g=?=
Date: Wed, 17 Jan 2007 21:48:31 +0000 (UTC)
Lines: 34
Message-ID: <loom.20070117T224713-758@post.gmane.org>
References: <loom DOT 20070117T222417-149 AT post DOT gmane DOT org> <loom DOT 20070117T223908-126 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Eric Blake <ebb9 <at> byu.net> writes:

> 
> apply_patch has a typo in 0.2.8 that breaks operation when trying to prep a 
> package:

Nevermind that my suggestion had a typo as well.

-- 
Eric Blake


--- /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_path} &> /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_path} 
|| 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/

- Raw text -


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