summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2006-04-17 18:59:21 +0000
committerStefan Knoblich <stkn@gentoo.org>2006-04-17 18:59:21 +0000
commitc155b83a4de282337a525369f302e0ef403e5d17 (patch)
treefada3e16d89956c3c277bd3375097f167b3cdd5d /net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-include.diff
parentVersion bump. (diff)
downloadgentoo-2-c155b83a4de282337a525369f302e0ef403e5d17.tar.gz
gentoo-2-c155b83a4de282337a525369f302e0ef403e5d17.tar.bz2
gentoo-2-c155b83a4de282337a525369f302e0ef403e5d17.zip
Compiles with asterisk-1.2.x only, add include order patch and fix DEPEND.
(Portage version: 2.0.54)
Diffstat (limited to 'net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-include.diff')
-rw-r--r--net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-include.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-include.diff b/net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-include.diff
new file mode 100644
index 000000000000..f174dacea6ee
--- /dev/null
+++ b/net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-include.diff
@@ -0,0 +1,29 @@
+--- apps/app_authenticate_ldap.c.orig 2006-04-15 18:51:59.000000000 +0000
++++ apps/app_authenticate_ldap.c 2006-04-15 18:52:08.000000000 +0000
+@@ -11,6 +11,13 @@
+ * the GNU General Public License
+ */
+
++#include <stdlib.h>
++#include <unistd.h>
++#include <string.h>
++#include <errno.h>
++#include <stdlib.h>
++#include <stdio.h>
++
+ #include <asterisk/lock.h>
+ #include <asterisk/file.h>
+ #include <asterisk/logger.h>
+@@ -21,12 +28,6 @@
+ #include <asterisk/astdb.h>
+ #include <asterisk/utils.h>
+ #include <asterisk/options.h>
+-#include <stdlib.h>
+-#include <unistd.h>
+-#include <string.h>
+-#include <errno.h>
+-#include <stdlib.h>
+-#include <stdio.h>
+
+ static char *tdesc = "Authentication Application";
+