1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: 'Patch' tool for windows |
From: | "Mark Rivers" <[email protected]> |
To: | "Josh Stein" <[email protected]>, <[email protected]> |
Date: | Fri, 11 Nov 2011 09:34:16 -0600 |
Hi Josh, I know you said “unbundled”, but how about the Cygwin
version? I just downloaded base-3.14.12.1 and then applied the cygwin-path.patch
using the latest Cygwin version of patch and it worked fine. rivers@Rivers-Mobile /cygdrive/c/EPICS/base-3.14.12.1 # patch -p0 < cygwin-path.patch patching file src/tools/EPICS/Path.pm Mark ________________________________________ From: [email protected]
[mailto:[email protected]] On Behalf Of Josh Stein Sent: Friday, November 11, 2011 8:50 AM Subject: 'Patch' tool for windows Has anyone found an unbundled Patch tool which works properly for
Windows? I've tried the gwin32 version of patch (which shows as "patch
2.5.9" when 'patch -v' is executed), invoking it as: patch -p0 < file.patch this fails with this rather cryptic message: "Hunk #1 FAILED at 266" and then dies Searching on the internet lead me down the path of unix vs. windows
line termination woes, but attempts at conversion did not yield a patch file
that worked. Any ideas? It would be wonderful to be able to apply the patches as
shown in the "known problems" section of base. --J |