aboutsummaryrefslogtreecommitdiffstats
path: root/extra/asterisk/asterisk-05-1.6.1-glob-uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/asterisk/asterisk-05-1.6.1-glob-uclibc.patch')
-rw-r--r--extra/asterisk/asterisk-05-1.6.1-glob-uclibc.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/asterisk/asterisk-05-1.6.1-glob-uclibc.patch b/extra/asterisk/asterisk-05-1.6.1-glob-uclibc.patch
new file mode 100644
index 0000000000..477513a234
--- /dev/null
+++ b/extra/asterisk/asterisk-05-1.6.1-glob-uclibc.patch
@@ -0,0 +1,15 @@
+Index: asterisk-team-group-issue8824/main/xmldoc.c
+===================================================================
+--- asterisk-team-group-issue8824.orig/main/xmldoc.c 2008-12-11 14:44:01.000000000 +0200
++++ asterisk-team-group-issue8824/main/xmldoc.c 2008-12-11 14:44:35.000000000 +0200
+@@ -1786,8 +1786,8 @@
+ ast_register_atexit(xmldoc_unload_documentation);
+
+ /* Get every *-LANG.xml file inside $(ASTDATADIR)/documentation */
+- ast_asprintf(&xmlpattern, "%s/documentation{/thirdparty/,/}*-{%s,%.2s_??,%s}.xml", ast_config_AST_DATA_DIR,
+- documentation_language, documentation_language, default_documentation_language);
++ ast_asprintf(&xmlpattern, "%s/documentation/*-%s.xml", ast_config_AST_DATA_DIR,
++ documentation_language);
+ globbuf.gl_offs = 0; /* initialize it to silence gcc */
+ globret = glob(xmlpattern, MY_GLOB_FLAGS, NULL, &globbuf);
+ if (globret == GLOB_NOSPACE) {