Re: [PR] BUILD: solaris: fix compilation errors

2024-03-09 Thread Willy Tarreau
On Tue, Feb 27, 2024 at 10:23:02AM +, PR Bot wrote:
> Dear list!
> 
> Author: matthias sweertvaegher <178714+mx...@users.noreply.github.com>
> Number of patches: 1
> 
> This is an automated relay of the Github pull request:
>BUILD: solaris: fix compilation errors

Now merged, thank you Matthias!

Willy



[PR] BUILD: solaris: fix compilation errors

2024-02-27 Thread PR Bot
Dear list!

Author: matthias sweertvaegher <178714+mx...@users.noreply.github.com>
Number of patches: 1

This is an automated relay of the Github pull request:
   BUILD: solaris: fix compilation errors

Patch title(s): 
   BUILD: solaris: fix compilation errors

Link:
   https://github.com/haproxy/haproxy/pull/2465

Edit locally:
   wget https://github.com/haproxy/haproxy/pull/2465.patch && vi 2465.patch

Apply locally:
   curl https://github.com/haproxy/haproxy/pull/2465.patch | git am -

Description:
   Compilation on solaris fails because of usage of names reserved on
   that platform, i.e. 'queue' and 's_addr'.
   
   This patch
   redefines 'queue' as '_queue' and renames 's_addr' to 'srv_addr' which
   fixes compilation for now.
   
   Future plan: rename 'queue' in
   code base so define can be removed again.
   
   Backporting: 2.9,
   2.8

Instructions:
   This github pull request will be closed automatically; patch should be
   reviewed on the haproxy mailing list (haproxy@formilux.org). Everyone is
   invited to comment, even the patch's author. Please keep the author and
   list CCed in replies. Please note that in absence of any response this
   pull request will be lost.