public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Bug with Cygwin's 'quilt'
@ 2013-06-18  5:37 Matt D.
  2013-06-18  5:47 ` Matt D.
  0 siblings, 1 reply; 13+ messages in thread
From: Matt D. @ 2013-06-18  5:37 UTC (permalink / raw)
  To: cygwin

The last e-mail I supplied to the mailing list was missing the link to 
the example. See this one for the link.

---

There seems to be a problem with Cygwin's quilt. This simple example 
simply alters a #define from 'MESAGL' to 'NX_MESAGL'. That's it.

New quilt created, ok.
New patch, ok.
Edit file, ok.
Refresh (create patch), ok.
Rollback changes, ok.
Reapply patch.. error:

   >>> quilt push
   >>> Applying patch test.patch
   >>> patching file Imakefile
   >>> Hunk #1 FAILED at 2.
   >>> 1 out of 1 hunk FAILED -- rejects in file Imakefile
   >>> Patch test.patch does not apply (enforce with -f)

http://codespunk.com/files/upload/cygwin_quilt_00.zip

Extract to a directory, cd in, and run 'quilt push' to generate the error.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Bug with Cygwin's 'quilt' is actually in 'patch'
@ 2013-07-03  3:05 Peter B.
  2013-07-03 12:33 ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: Peter B. @ 2013-07-03  3:05 UTC (permalink / raw)
  To: cygwin

On Jun 20 09:46, Corinna Vinschen wrote:
> I'll build a new patch 2.7.1 for 32 bit today. I hope that fixes it
> for 32 bit as well.

The new 2.7.1 (32bit) brakes CRLF handling for me completely. The old
2.6.1 works properly. 2.7.1 with text files converted from CRLF to LF
works properly as well.

Can you take a look at the download link below? It includes an example
file (with CRLF), the corresponding patch (LF) and the two binaries
(patch v2.6.1 and v2.7.1).

http://www60.zippyshare.com/v/13352963/file.html

# Does work with CRLF
patch261 -Nls Activity.smali < framework.patch

# Does not work with CRLF
patch271 -Nls Activity.smali < framework.patch

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-07-03 15:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18  5:37 Bug with Cygwin's 'quilt' Matt D.
2013-06-18  5:47 ` Matt D.
2013-06-20  5:47   ` Bug with Cygwin's 'quilt' is actually in 'patch' Matt D.
2013-06-20  6:35     ` Christopher Faylor
2013-06-20  7:44       ` Matt D.
2013-06-20  8:22     ` Corinna Vinschen
2013-06-21 12:15       ` Corinna Vinschen
2013-06-21 17:06         ` Matt D.
2013-07-03  3:05 Peter B.
2013-07-03 12:33 ` Corinna Vinschen
2013-07-03 13:07   ` Peter B.
2013-07-03 13:30     ` Corinna Vinschen
2013-07-03 15:35       ` Peter B.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).