Keith LeClaire Jr
2005-Jan-13 12:20 UTC
[Asterisk-Users] Problem patching asterisk CVS with SpanDSP
I'm trying to patch the current asterisk CVS with spandsp-0.0.1k.tar.gz. Everything compiles fine but when I go to patch the asterisk/apps/Makefile it fails: asterisk:/usr/src/spandsp2# patch < Makefile.patch can't find file to patch at input line 3 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.orig 2004-03-16 22:36:31.000000000 +0800 |+++ Makefile 2004-03-16 22:14:09.000000000 +0800 -------------------------- File to patch: /usr/src/asterisk/apps/Makefile patching file /usr/src/asterisk/apps/Makefile Hunk #1 FAILED at 35. Hunk #2 FAILED at 68. 2 out of 2 hunks FAILED -- saving rejects to file /usr/src/asterisk/apps/Makefile.rej asterisk:/usr/src/spandsp2#akefile in asterisk/apps I get: Am I using the wrong versions together? I've also patched this asterisk source for ast_data mysql support. -Keith
Howard Lowndes
2005-Jan-13 15:23 UTC
[Asterisk-Users] Problem patching asterisk CVS with SpanDSP
On Fri, 2005-01-14 at 06:20, Keith LeClaire Jr wrote:> I'm trying to patch the current asterisk CVS with spandsp-0.0.1k.tar.gz. > Everything compiles fine but when I go to patch the asterisk/apps/Makefile > it fails: > > > asterisk:/usr/src/spandsp2# patch < Makefile.patch > can't find file to patch at input line 3 > Perhaps you should have used the -p or --strip option? > The text leading up to this was: > -------------------------- > |--- Makefile.orig 2004-03-16 22:36:31.000000000 +0800 > |+++ Makefile 2004-03-16 22:14:09.000000000 +0800 > -------------------------- > File to patch: /usr/src/asterisk/apps/Makefile > patching file /usr/src/asterisk/apps/Makefile > Hunk #1 FAILED at 35. > Hunk #2 FAILED at 68. > 2 out of 2 hunks FAILED -- saving rejects to file > /usr/src/asterisk/apps/Makefile.rejHave a look in this file and you will see the lines that didn't make it to Makefile - there are ususally only a couple.> asterisk:/usr/src/spandsp2#akefile in asterisk/apps I get: > > Am I using the wrong versions together? I've also patched this asterisk > source for ast_data mysql support. > > -Keith > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Howard. LANNet Computing Associates; Your Linux people <http://www.lannetlinux.com> ------------------------------------------ "When you just want a system that works, you choose Linux; when you want a system that just works, you choose Microsoft." ------------------------------------------ "Flatter government, not fatter government; Get rid of the Australian states."
Matt Riddell
2005-Jan-13 23:00 UTC
[Asterisk-Users] Problem patching asterisk CVS with SpanDSP
Keith LeClaire Jr wrote:> I'm trying to patch the current asterisk CVS with spandsp-0.0.1k.tar.gz. > Everything compiles fine but when I go to patch the asterisk/apps/Makefile > it fails::-)))))))))))))))))))))) Sorry, that's my excuse for the biggest smile ever. I just posted the solution yesterday/day before for this exact thing. Have you just subscribed or were you here yesterday too? :-) Drop me a line off list if you would like me to talk you though this (free of course). The reason I say off-list is because the solution will already end up in the mailing list... This is one of the simplest patches in the world to apply. I can talk you through it, or you could have a look (hint +xxx means add xxx, don't forget that the spaces are actually tabs in the Makefile). -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)