This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygport 0.2.7 bug: .cygwin.patch applied with wrong patchlevel


cygport 0.2.7 applies the .cygwin.patch file with patchlevel 0 instead
of 2.

To reproduce try e.g:

$ cygport ./mktemp-1.5-4.cygport prep

This creates
  ./mktemp-1.5-4/src/mktemp-1.5/src/mktemp-1.5/CYGWIN-PATCHES/*

instead of

  ./mktemp-1.5-4/src/mktemp-1.5/CYGWIN-PATCHES/*

This patch should fix this:

--- cygport.orig	2006-12-26 06:43:10.001000000 +0100
+++ cygport	2007-01-03 16:21:49.984375000 +0100
@@ -517,7 +517,7 @@
 			continue;
 		fi
 
-		case ${patchfile} in
+		case ${patchfile##*/} in
 			${PF}.cygwin.patch)
 				if [ "${S}" = "${srcdir}" ]
 				then
---

Christian




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]