[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Applying patches to MiNT source
> Okay, color me stupid :-}. I've been trying to apply the patches Eric
> just sent out to the 1.08 sources from a.a, and getting nowhere. All
> the chunks have a "before" filename of `1.8' -- presumably a directory
> name, but I haven't been able to convince patch to treat it as such.
> Presumably there's some cmd-line option I'm missing, or I haven't got my
> directories laid out right. Since previous patches have been similarly
> shaped, I assume that everyone else here already knows how to do this,
> and I look pretty silly. Can someone bring me up to speed?
>
> -sbigham
Here's basicly what I did. Just make sure you've got one of the newer
versions of patch (f.e. 12g8). You should have no trouble with the
latest at atari.archive (which is the one I use).
---
# Put both mint108s.zoo and the appropriate diffs (diff1819.txt ?) in
# a suitable directory (/home/sbigham/mint/ for example :-).
zoo xq// mint108s.zoo
patch -l < diff1819.txt
# Unless there's something really wrong with your setup you now should
# see a lot of "chunk #x succeeded". :-)
---
That should do it. The crucial(sp?) part for me is the '-l'-flag for
patch. It means patch should match line-endings loosely, which
seems necessary in my setup (a quite Unix-like setup with lots of
GNU-utilities compiled directly from the original sources (which
often makes them dislike CR+LF-endings and also makes them handle
long filenames very well :-)).
Good luck!
-Daniel Eriksson (den@hgs.se)