Commit Graph

8 Commits

Author SHA1 Message Date
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