This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygport 0.2.7 bug: .cygwin.patch applied with wrong patchlevel
- From: "Christian Franke" <Christian dot Franke at t-online dot de>
- To: cygwin at cygwin dot com
- Date: Wed, 03 Jan 2007 16:46:55 +0100
- Subject: 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/