summaryrefslogtreecommitdiffstats
path: root/package/asterisk/patches/asterisk-1.0.7-Makefile-res.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/asterisk/patches/asterisk-1.0.7-Makefile-res.patch')
-rw-r--r--package/asterisk/patches/asterisk-1.0.7-Makefile-res.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/asterisk/patches/asterisk-1.0.7-Makefile-res.patch b/package/asterisk/patches/asterisk-1.0.7-Makefile-res.patch
new file mode 100644
index 000000000..0cd45801b
--- /dev/null
+++ b/package/asterisk/patches/asterisk-1.0.7-Makefile-res.patch
@@ -0,0 +1,16 @@
+diff -ruN asterisk-1.0.7-old/res/Makefile asterisk-1.0.7-new/res/Makefile
+--- asterisk-1.0.7-old/res/Makefile 2004-07-17 22:58:01.000000000 +0200
++++ asterisk-1.0.7-new/res/Makefile 2005-03-19 17:58:17.000000000 +0100
+@@ -13,9 +13,9 @@
+
+ MODS=res_adsi.so res_features.so res_crypto.so res_musiconhold.so res_indications.so res_monitor.so \
+ res_agi.so
+-MODS+=$(shell if [ -f "/usr/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi)
+-MODS+=$(shell if [ -f "/usr/local/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi)
+-MODS+=$(shell if [ -f "/usr/include/osp/osp.h" ]; then echo "res_osp.so"; fi)
++#MODS+=$(shell if [ -f "/usr/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi)
++#MODS+=$(shell if [ -f "/usr/local/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi)
++#MODS+=$(shell if [ -f "/usr/include/osp/osp.h" ]; then echo "res_osp.so"; fi)
+
+ CRYPTO_LIBS=-lssl -lcrypto
+