Basically the changes in the apps/Makefile have progressed while the patch 
makefile have not. Here is a current patch that works as of 
CVS-HEAD-01/06/05-14:47:06

Regards,
Jim


On Fri, 7 Jan 2005, Altus Snyman wrote:
> I'm trying to install spandsp
> But when I try to patch the Makefile it gives this error
> [EMAIL PROTECTED] apps]# patch < apps_makefile.patch
> patching file Makefile
> Reversed (or previously applied) patch detected!  Assume -R? [n] y
> Hunk #1 succeeded at 41 (offset -6 lines).
> Hunk #2 FAILED at 67.
> 
> is it ok to go on
> 
> _______________________________________________
> Asterisk-Users mailing list
> [email protected]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 
==========================================================================
Jim Radford <[EMAIL PROTECTED]>
http://www.jimradford.com/
==========================================================================
--- Makefile.orig       2005-01-05 17:00:52.000000000 -0800
+++ Makefile    2005-01-05 17:02:09.000000000 -0800
@@ -49,6 +49,8 @@
 APPS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "app_zapras.so 
app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi)
 APPS+=$(shell if [ -f /usr/local/include/zaptel.h ]; then echo "app_zapras.so 
app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi)
 APPS+=$(shell if [ -f /usr/include/osp/osp.h ]; then echo "app_osplookup.so" ; 
fi)
+APPS+=$(shell if [ -f /usr/include/spandsp.h ]; then echo "app_rxfax.so 
app_txfax.so" ; fi)
+APPS+=$(shell if [ -f /usr/local/include/spandsp.h ]; then echo "app_rxfax.so 
app_txfax.so" ; fi)
 
 CURLLIBS=$(shell curl-config --libs)
 ifneq (${CURLLIBS},)
@@ -78,6 +80,12 @@
        rm -f $(DESTDIR)$(MODULES_DIR)/app_datetime.so
        rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
 
+app_rxfax.so : app_rxfax.o
+       $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
+
+app_txfax.so : app_txfax.o
+       $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
+
 app_curl.so: app_curl.o
        $(CC) $(SOLINK) -o $@ $< $(CURLLIBS)
 
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to