-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jean-François Mertens wrote: >> Johannes Behr wrote: >>> Hi, >>> >>> I try to install wine from fink on my leopard machine and the >>> portaudio install/build always fails (see attachment) >>> >>> It seams that there is broken patch >>> >>> /sw/fink/dists/unstable/main/finkinfo/sound/portaudio.patch >>> >>> which leads to: >>> >>> patch unexpectedly ends in middle of line Hunk #1 succeeded at >>> 6 with fuzz 1. >>> >>> My question: >>> >>> - Is the wrecked patch only on my machine ? > > No : I see: >> jfm-book:/sw/fink/dists/unstable/main/finkinfo/sound root# tail >> -n2 portaudio.patch TESTS = \ bin/patest_buffer >> \jfm-book:/sw/fink/dists/unstable/main/ finkinfo/sound root# > showing there is no EOF, and the last line has no \n .. Obviously > the patch was badly edited, or edited with a bad editor ... > > Thus: use _______________ cd > /sw/fink/dists/unstable/main/finkinfo/sound sed -i.bak -e > '$s,$,\r\n,' portaudio.patch rm portaudio.patch.bak cd - > _______________ > > and the pkg will build correctly > > [ Further >> # sed -e 's,\r,X,' <portaudio.patch > > shows that all lines _ except for the the first 3 and for the fifth > from the end, and of course the last one _ have DOS line endings ! > So in the patched Makefile.in, there will be a mixture of such > lines .. but all this dirt doesn't seem to matter... ] > > JF Mertens > I've committed the fix from the tracker. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHQ5EnB8UpO3rKjQ8RAnipAKCc4dLT+QFxnm16sXjTWPX6icUfHACcCRPX vAxtdlgAX9xfmvMlYdNAKlM= =bY+n -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
