[Libwebsockets] version number problem (Fedora)
andy at warmcat.com
Fri May 4 07:42:00 CEST 2018
On 05/04/2018 05:04 AM, Per Bothner wrote:
> I just upgraded to the recently-released Fedora 28, and it has in
> /usr/include/lws_config.h the following:
> #define LWS_LIBRARY_VERSION_MAJOR 2
> #define LWS_LIBRARY_VERSION_MINOR 4
> #define LWS_LIBRARY_VERSION_PATCH 2
> Unless I've done something wrong, this is a version number
> higher then in git master, which is a problem.
> Most immediately for me, the Fedora version doesn't
> include lws_get_vhost_port, which means my test doesn't work:
> #if LWS_LIBRARY_VERSION_NUMBER > 2004002
> http_port = lws_get_vhost_port(vhost);
> http_port = info.port;
> I haven't investigated who made the Fedora package, but if you
> don't mind I would suggest bumping the LWS_LIBRARY_VERSION_PATCH in git
> master to 3 or more - or bump LWS_LIBRARY_VERSION_MINOR to 5.
Yeah... I think this is my fault for not increasing the master version
to something higher after release. I'll make sure to do that when the
next release happens.
I just bumped the release to the next release values a little early,
that should solve it for you.
More information about the Libwebsockets