| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| Date: | Wed, 03 Jan 2007 16:46:55 +0100 |
| To: | cygwin AT cygwin DOT com |
| X-UMS: | |
| X-Mailer: | TOI Kommunikationscenter V7-7-2 |
| Subject: | cygport 0.2.7 bug: .cygwin.patch applied with wrong patchlevel |
| From: | "Christian Franke" <Christian DOT Franke AT t-online DOT de> |
| Message-ID: | <1H28KN-0pOUjo0@fwd33.aul.t-online.de> |
| X-ID: | XjIr1UZ1ge6YgJ3lsOAdjinqdeOhBwdU19c0hcTVMCFiOFR8x6yVE3 AT t-dialin DOT net |
| X-TOI-MSGID: | f2e8373b-8292-4b0b-9c01-5776fb38dd08 |
| 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 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |