[haiku-development] Re: [PATCH 3/4] Remove special handling of vesa driver from screen preflet.


Am 28.05.2008 um 20:30 schrieb Stephan Assmus:

Andreas Färber wrote:
Am 28.05.2008 um 14:24 schrieb Stephan Assmus:
Axel Dörfler wrote:
Stephan Assmus <superstippi@xxxxxx> wrote:
Cool, thanks! Another question: Can you create the patches using "svn
diff"
or "diff -ur"? I have trouble applying these otherwise.

How so? Just do a "patch -p1 < JansMail" and it should work.

Hm. Maybe the problem is when you do this in ZETA. Old "patch" command
perhaps?

To be exact, the -p parameter depends on from where you apply the patch.
If you're outside the SVN directory, you just need to get rid of the
"a/", if you're inside, you need to strip "a/haiku/".

How do I do that? Last time I did exactly that using Pe + Find&Replace. Is
there a better way?

Yes, that's what the -p parameter is for. :) You specify the number of path components to strip. Don't know how it counts from the top of my head though, if there's a leading slash that counts as one component I believe, not sure about those in between. patch -p0 means to leave it as is, which happens to work for SVN.

Andreas

Other related posts: