simphone library patches

You do not need to apply any of these patches manually. Patches to the
Qt toolkit are applied automatically by the build scripts, while the
rest are already applied to the simphone source tree. They are available
here for information purposes only. Here's an overview of the patches:

001_build_rlink         use ribosome with Qt GUI application (Windows only):
                        - removed BUILD_ROOT support from launcher.py
                        - added _main, __main and WinMain to anchors
                        - run2: no quote of comma or plus (fix for g++)
                        - juggle_args: support -l and -L as emitted by qmake
                        - do not remove debug info from exe (.debug)
                        - do not remove icon resource from exe (.rsrc).

010_makedepend_x11      add X11 includes to makedepend 1.0.5.

011_makedepend_config   do not require xproto to configure makedepend.

021_efence_mingw        compile electric-fence 2.1 with mingw/msys on Windows.

100_dht_makefile        convert dht Makefile to .in for use with autoconf.

101_dht                 use of dht 0.27 with Simphone.
                        see the patched dht/CHANGES for details.

110_npth_w32            compile npth 1.6 on Windows:
                        - increased the maximal number of threads
                        - do not use thread name (saves a lot of memory)
                        - added new function npth_gethandle_np
                        - non-recursive lock if SIM_NONRECURSIVE #defined;
                          used only with the debug build
                        - allow to compile with Microsoft Visual Studio.

111_npth_src            compile npth 1.6 on unix:
                        - compile npth_usleep with (old) android NDK
                        - make sure HAVE_LIB_DISPATCH is #defined on Mac OS.

120_miniupnpc_printf    use of miniupnpc 2.2.4 with Simphone:
                        - redirect printf to simcore logger (#ifdef SIM_MODULE).

121_miniupnpc_bugfix    avoid regression, which appeared between 1.9 and 2.0:
                        was preferring a non-connected router with an invalid IP
                        to a connected router with an unknown IP.

122_miniupnpc_connect   non-blocking connect to avoid hanging (also on Windows).

123_miniupnpc_useragent do not give away library or OS version to router.

124_miniupnpc_bsd       compile on NetBSD and dragonfly BSD.

210_cares_compile       compile c-ares 1.18.1 on very old systems.

211_cares_random        use simcore public RNG instead of RtlGenRandom.

220_expat_features      exclude unnecessary features from expat 2.2.0 configure.

300_cryptopp_compile    compile crypto++ 5.6.5 on dragonfly BSD and Linux;
                        allow compiling with newer (c++17) compilers.
                        on Windows, never use memcpy_s from the system as
                        it is not known at compile time whether it's available
                        at run time (in msvcrt.dll).

301_cryptopp_align      crash fix for an alignment bug when library is compiled
                        with gcc but application compiled with Microsoft VC.

306_cryptopp_rc6        allow using RC6 with a larger number of rounds.

307_cryptopp_idea       allow using IDEA with a large number of rounds.

310_openssl_configure   compile openssl 1.1.1s without perl Getopt::Long

311_openssl_noasm       remove rarely used assembler code from configurations.

312_openssl_compile     remove const qualifier, DTLS and the Bernstein curves.

313_openssl_pseudorand  use simcore public RNG for random data sent unencrypted.

314_openssl_fatal       redirect openssl fatal errors to simcore logger.

400_portaudio_configure use portaudio 19.7.0 with Simphone:
                        - fix to find soundcard.h in /usr/include (OpenBSD)
                        - add architecture flags from upper-level configure
                        - must use xcodebuild to compile on Mac OS 10.6
                        - allow compiling when libpthread is not available.

401_portaudio_alsa      bug fixes for the (blocking) ALSA host API.
                        see comments inside the patch for details.

410_speex_override      add os_support_custom_h to speex 1.2.1.
                        - redirect speex log messages to simcore logger.

420_speexdsp_override   add os_support_custom_h to speexdsp 1.2.1.
                        - redirect speexdsp log messages to simcore logger.

501_qt_bugfixes         fix Qt bugs that affect Simphone.
                        see comments inside the patch for details.

530_qt_static           size-optimized static compilation of Qt 5.3.2.

531_qt_bugfix           fix Qt 5.3.2 for new window managers.

532_qt_alert            workarounds to enable blinking for Qt 5.3.2.
                        see comments inside the patch for details.

560_qt_static           size-optimized static compilation of Qt 5.6.3.

561_qt_bugfix           fix Qt 5.6.3 for new window managers.

562_qt_alert            workarounds to enable blinking for Qt 5.6.3.
                        see comments inside the patch for details.

591_qtsingleapplication use qtsingleapplication 2.6 with Simphone:
                        - do not destroy QLocalSocket on Windows to avoid a
                          30-second wait when server is not responding
                        - make all members public (so they can be accessed).
