Robert T Wyatt wrote:
[]
> I've copied all the xmms files into my local tree; how would I apply 
> that patch? I tried just adding it to the existing xmms.patch file and 
> of course upon rebuilding I get a dialog asking which file to patch.
> 
> fwiw, I didn't try using xmms before Martin applied the patch you 
> suggested, but it does crash for me also (when I tried to play my iTunes 
> folder).
> 
> Happy to test the patch, unfortunately I need spoon-feeding to do so 
> (but hopefully I won't next time). :-(

The PatchScript runs "patch -p1", meaning that the file names are 
determined by removing 1 path component from the given paths. For this 
to work, you have to edit the patch file and add some path component. 
For sanity reasons, this should be something like xmms_osx_plugin-1.0/, 
but it can be anything. Meaning: Replace the lines

--- src/audio.c.orig    2004-06-13 15:43:04.000000000 -0700
+++ src/audio.c

by

--- foo/src/audio.c.orig        2004-06-13 15:43:04.000000000 -0700
+++ bar/src/audio.c

Then: cross your fingers, because patch is very fussy with spaces that 
may get added when you copy and paste for example the content of a web 
page. Download the file rather with wget or curl and hope that is hasn't 
been mistreated before. And edit it with vi or some other editor that 
doesn't add spurious spaces.

In the case at hand, the patches are so small that this procedure is 
actually working (just tried; I can't test run the binary, because I am 
not in front of the build machine).

Most of the time, a better idea would be to stop the build after the 
sources are unpacked and the old patch applied, then go to the source 
directory and apply the new patch by hand, and then create a new patch 
file by running diff between an unpatched source directory and the 
patched one.

-- 
Martin



-- 
Martin




-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to