Dirk Mueller
5248edd6e6
* Drop tls patch seems to build fine * Remove code for other distros we build against 13.1+ anywhere within obs and it just clutters the spec. * Explicitely name switches in configure to make sure things go the desired way. * Fix install of libmicrohttpspdy pc file. + Added support for TCP FASTOPEN. + Removed dependency on plibc for simpler compilation for W32. + Added configure option "--disable-pipes" to use socketpairs instead of pipes for signalling to child threads. Pipes are always disabled on W32. + Corrected some uses of 'int' vs. 'size_t'. + MHD_USE_DUAL_STACK in libmicrohttpd currently just *inhibits setting* the IPV6_V6ONLY socket option, but per Microsoft's documentation the default on Windows is that this is enabled, thus MHD_USE_DUAL_STACK will not work (since it leaves the default). libmicrohttpd should probably just unconditionally set IPV6_V6ONLY to the desired value when the option is available. + Allow Keep-Alive with HTTP 1.0 (if explicitly requested), and automatically set "Connection: Keep-Alive" in response in this case as well. + Adding explicit annotations to hide symbols that are not for export in the C code (gcc 4.0 or higher only). + Adding a few lines to avoid warnings from picky compilers. - Added patches: * libmicrohttpd-0.9.34-spdy-pc.patch - Dropped patches: * libmicrohttpd-drop-test_tls_options.patch OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=32
22 lines
806 B
Diff
22 lines
806 B
Diff
diff -urN libmicrohttpd-0.9.34/configure.ac libmicrohttpd-0.9.34-spdy-pc/configure.ac
|
|
--- libmicrohttpd-0.9.34/configure.ac 2014-02-24 23:13:03.000000000 +0100
|
|
+++ libmicrohttpd-0.9.34-spdy-pc/configure.ac 2014-03-13 16:47:58.733989222 +0100
|
|
@@ -640,6 +640,7 @@
|
|
|
|
AC_CONFIG_FILES([
|
|
libmicrohttpd.pc
|
|
+libmicrospdy.pc
|
|
Makefile
|
|
contrib/Makefile
|
|
doc/Makefile
|
|
diff -urN libmicrohttpd-0.9.34/Makefile.am libmicrohttpd-0.9.34-spdy-pc/Makefile.am
|
|
--- libmicrohttpd-0.9.34/Makefile.am 2013-05-05 20:48:18.000000000 +0200
|
|
+++ libmicrohttpd-0.9.34-spdy-pc/Makefile.am 2014-03-13 16:35:04.883473986 +0100
|
|
@@ -3,5 +3,5 @@
|
|
EXTRA_DIST = acinclude.m4 libmicrohttpd.pc.in libmicrospdy.pc.in
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
-pkgconfig_DATA = libmicrohttpd.pc
|
|
+pkgconfig_DATA = libmicrohttpd.pc libmicrospdy.pc
|
|
|