aboutsummaryrefslogtreecommitdiffstats
path: root/package/asterisk/patches/asterisk-1.0.7-Makefile-astdb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/asterisk/patches/asterisk-1.0.7-Makefile-astdb.patch')
-rw-r--r--package/asterisk/patches/asterisk-1.0.7-Makefile-astdb.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/asterisk/patches/asterisk-1.0.7-Makefile-astdb.patch b/package/asterisk/patches/asterisk-1.0.7-Makefile-astdb.patch
new file mode 100644
index 0000000000..bd2c4ab9a3
--- /dev/null
+++ b/package/asterisk/patches/asterisk-1.0.7-Makefile-astdb.patch
@@ -0,0 +1,14 @@
+diff -ruN asterisk-1.0.7-old/db1-ast/Makefile asterisk-1.0.7-new/db1-ast/Makefile
+--- asterisk-1.0.7-old/db1-ast/Makefile 2004-08-31 18:33:00.000000000 +0200
++++ asterisk-1.0.7-new/db1-ast/Makefile 2005-03-19 17:38:06.000000000 +0100
+@@ -32,8 +32,8 @@
+
+ $(LIBDB): $(OBJS)
+ rm -f $@
+- ar cq $@ $(OBJS)
+- ranlib $@
++ $(AR) cq $@ $(OBJS)
++ $(RANLIB) $@
+
+ $(LIBDBSO): $(SHOBJS)
+ $(CC) -Wl,-O1 -Wl,--version-script=libdb.map -Wl,-soname=$(LIBDBSO) -shared -o $@ $^