Commit Graph

12 Commits

Author SHA1 Message Date
Thomas Bernard 41f5475080
update for libevent 2.2 handling of custom HTTP methods
see 8dcb94a4ca
2019-04-16 01:02:37 +02:00
yangfl 2b0a6dd163 Makefile: Use crosscompile target as OS 2018-02-03 11:29:58 +08:00
Thomas BERNARD c115f7ed88 use pkg-config 2015-10-02 18:57:53 +02:00
Thomas BERNARD a5fa14b9b6 dont define _POSIX_C_SOURCE under OS X and FreeBSD 2015-10-02 18:53:21 +02:00
Chocobo1 d78ccf931a Fix compilation on TravisCI 2015-07-19 21:36:09 +08:00
Chocobo1 216dd5e905 Remove libminiupnpc-ev.a when "make clean" 2015-06-10 18:15:00 +08:00
Thomas Bernard 7f47555c66 miniupnpc-libevent: subscribe and receive UPNP events !
enable with -DENABLE_UPNP_EVENTS
libevent need to support SUBSCRIBE and NOTIFY requests
see https://github.com/miniupnp/libevent/tree/upnp_ext
2014-12-12 19:08:00 +01:00
Thomas Bernard c9e71676a8 miniupnpc-libevent/Makefile: add /usr/local/include and /usr/local/lib 2014-11-28 14:26:21 +01:00
Mike Gelfand c490b42547 Fix _POSIX_C_SOURCE definition
Current code makes use of `snprintf` function defined in C99 standard
but _POSIX_C_SOURCE is set to "1" which is not correct. To access C99
definitions, this macro should be set to at least "200112L".

Also, `strncasecmp` function is being used but corresponding <strings.h>
header is not being included in miniwget.c.

Changes have been tested on FreeBSD 10.1 amd64 with default compiler
(Clang).
2014-11-19 17:06:14 +03:00
Thomas Bernard fa414c5bb6 allow to build miniupnpc-libevent with MacPorts 2014-11-17 17:29:52 +01:00
Thomas Bernard 7264fa53a9 miniupnpc-libevent: remove unecessary files 2014-11-17 17:29:24 +01:00
Thomas Bernard b33f4b343a Adding miniupnpc-libevent 2014-11-12 16:56:35 +01:00