Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > c6e36564cf9fba5ffd6a28e0fb962a78 > files > 2

asterisk-app_fastsms-1.02-4mdv2009.0.src.rpm

diff -Naur asterisk-fastsmsapp-1.02/Makefile asterisk-fastsmsapp-1.02.oden/Makefile
--- asterisk-fastsmsapp-1.02/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ asterisk-fastsmsapp-1.02.oden/Makefile	2005-10-30 10:33:33.000000000 +0100
@@ -0,0 +1,15 @@
+CFLAGS= $(RPM_OPT_FLAGS) -D_REENTRANT -D_GNU_SOURCE
+CC=gcc
+
+all: app_fastsms.so
+
+clean:
+	rm -f *.so *.o
+
+%.so : %.o
+	$(CC) $(CFLAGS) -shared -Xlinker -x -o $@ $<
+
+app_fastsms.so: app_fastsms.o
+	$(CC) $(CFLAGS) -shared -Xlinker -x -o $@ app_fastsms.o -lcurl
+
+
diff -Naur asterisk-fastsmsapp-1.02/app_fastsms.c asterisk-fastsmsapp-1.02.oden/app_fastsms.c
--- asterisk-fastsmsapp-1.02/app_fastsms.c	2005-05-28 09:59:53.000000000 +0200
+++ asterisk-fastsmsapp-1.02.oden/app_fastsms.c	2005-10-30 10:42:48.000000000 +0100
@@ -27,7 +27,6 @@
 #include <sys/types.h>
 #include <dirent.h>
 #include <ctype.h>
-#include "../astconf.h"
 #include <curl/curl.h>