From: Arkadiusz Miƛkiewicz Date: Sat, 10 Jun 2006 22:13:58 +0000 (+0000) Subject: - fixed X-Git-Tag: auto/th/asterisk-1_2_9_1-1~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=80a1e033fa0890a0fd0653a3aa1d3662033b7b4b;p=packages%2Fasterisk.git - fixed Changed files: asterisk-txfax-Makefile.patch -> 1.1 --- diff --git a/asterisk-txfax-Makefile.patch b/asterisk-txfax-Makefile.patch new file mode 100644 index 0000000..d2b5d77 --- /dev/null +++ b/asterisk-txfax-Makefile.patch @@ -0,0 +1,26 @@ +--- Makefile.org 2006-06-10 22:05:42.747469000 +0000 ++++ Makefile 2006-06-10 22:06:57.080114500 +0000 +@@ -54,6 +54,10 @@ + APPS+=app_osplookup.so + endif + ++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/spandsp.h $(CROSS_COMPILE_TARGET)/usr/include/spandsp.h),) ++APPS+=app_rxfax.so app_txfax.so ++endif ++ + ifeq ($(findstring BSD,${OSARCH}),BSD) + CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib + endif +@@ -102,6 +106,12 @@ + app_curl.so: app_curl.o + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS) + ++app_rxfax.so : app_rxfax.o ++ $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff ++ ++app_txfax.so : app_txfax.o ++ $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff ++ + app_sql_postgres.o: app_sql_postgres.c + $(CC) -pipe -I$(CROSS_COMPILE_TARGET)/usr/local/pgsql/include -I$(CROSS_COMPILE_TARGET)/usr/include/postgresql $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c +