kumquat-buildroot/package/asterisk
Bernd Kuhls 81e5615052 package/asterisk: enable for uclibc toolchains
This patch extends the configure checks for re-entrant resolver
functions to fix uclibc builds.

Quoting Yann:
http://lists.busybox.net/pipermail/buildroot/2017-September/203004.html

"As a final stroke of genius, asterisk checks for the re-entrant variant
of res_ninit(), and concludes that all such functions are available,
including res_nsearch(). Uclibc-ng has the former but not the latter, so
the build fails. Since there is no cache variable for that check, we
can't pre-feed that result to configure, and fixing it is a bigger
endeavour. So we make asterisk depend on glibc for now, until someone
is brave enough to fix it."

Musl builds are still broken:

output/build/asterisk-16.0.0/include/asterisk/astmm.h:165:35:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token
  Do_not_use_calloc__use_ast_calloc->fail(a, b)

output/build/asterisk-16.0.0/include/asterisk/astmm.h:169:77:
 error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token
  Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-12-09 22:23:08 +01:00
..
0001-sounds-do-not-download-and-check-sha1s.patch package/asterisk: bump version to 16.0.0 2018-12-09 22:23:08 +01:00
0002-configure-fix-detection-of-libcrypt.patch package/asterisk: bump version to 16.0.0 2018-12-09 22:23:08 +01:00
0003-build-ensure-target-directory-for-modules-exists.patch package/asterisk: bump version to 16.0.0 2018-12-09 22:23:08 +01:00
0004-install-samples-need-the-data-files.patch package/asterisk: bump version to 16.0.0 2018-12-09 22:23:08 +01:00
0005-configure-fix-detection-of-re-entrant-resolver-funct.patch package/asterisk: enable for uclibc toolchains 2018-12-09 22:23:08 +01:00
asterisk.hash package/asterisk: bump version to 16.0.0 2018-12-09 22:23:08 +01:00
asterisk.mk package/asterisk: enable for uclibc toolchains 2018-12-09 22:23:08 +01:00
Config.in package/asterisk: enable for uclibc toolchains 2018-12-09 22:23:08 +01:00