1 |
Fabian Groffen wrote: |
2 |
> On 13-07-2007 22:50:31 +1000, Ben Peddell wrote: |
3 |
>> Fabian Groffen wrote: |
4 |
>>> On 12-07-2007 21:01:28 +0200, Elias Pipping wrote: |
5 |
>>>> Mail.app tends to integrate text attachments into the body of the mail, |
6 |
>>>> so you no longer know where the patch begins and where it ends. Might |
7 |
>>>> become ugly with tabs/spaces, too. |
8 |
>>> It horks the spaces/tabs. |
9 |
>>> |
10 |
>> If it weren't for the spaces/tabs issue, all would be fine. As long as: |
11 |
>> 1. The patch is in unified format, |
12 |
>> 2. The MUA doesn't gobble any spaces, and |
13 |
>> 3. You don't start any of your lines with +, - or @, |
14 |
>> the entire message body can be the patch. |
15 |
>> patch has no problem with stripping any leading / trailing lines from |
16 |
>> the patch. |
17 |
> |
18 |
> Of course I tried it, and the patch failed to apply because of spaces |
19 |
> mismatches. |
20 |
> |
21 |
Hmm. No problem with spaces here. |
22 |
==================================================================== |
23 |
~/src/doxygen-1.5.2 $ bzcat ~/Documents/doxygen-1.5.2-libiconv.patch.bz2 |
24 |
| patch --dry-run -p0 --verbose |
25 |
Hmm... Looks like a unified diff to me... |
26 |
The text leading up to this was: |
27 |
-------------------------- |
28 |
|--- src/portable.cpp~ 2007-07-12 20:41:27 +0200 |
29 |
|+++ src/portable.cpp 2007-05-06 14:30:18 +0200 |
30 |
-------------------------- |
31 |
Patching file src/portable.cpp using Plan A... |
32 |
Hunk #1 succeeded at 373. |
33 |
done |
34 |
==================================================================== |
35 |
Is there a patch that patches the same area of |
36 |
doxygen-1.5.2/src/portable.cpp? I'll find out when I've finished |
37 |
fetching the latest alt-prefix overlay. |
38 |
|
39 |
I don't know what the "Inappropriate ioctl for device" error would have |
40 |
been caused by. Perhaps bzcat expected to be able to seek in the stream. |
41 |
-- |
42 |
gentoo-alt@g.o mailing list |