[Spice-devel] [PATCH 0/3] Assorted FreeBSD fixes

2021-04-17 Thread Roman Bogorodskiy
Roman Bogorodskiy (3): build-sys: more version related fixups red-stream: add missing include Fix setsockopt on FreeBSD server/meson.build| 9 +++-- server/net-utils.c| 2 +- server/red-stream.cpp | 1 + 3 files changed, 9 insertions(+), 3 deletions(-) -- 2.30.1 _

[Spice-devel] [PATCH 3/3] Fix setsockopt on FreeBSD

2021-04-17 Thread Roman Bogorodskiy
FreeBSD's setsockopt() behaves just like Dawrin, i.e. sets errno to EINVAL instead of ENOTSUP, so extend the Darwin workaround to work for FreeBSD as well. Signed-off-by: Roman Bogorodskiy --- server/net-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/net-utils

[Spice-devel] [PATCH 2/3] red-stream: add missing include

2021-04-17 Thread Roman Bogorodskiy
On FreeBSD, netinet/in.h needs to be included to use IPPROTO_TCP. Signed-off-by: Roman Bogorodskiy --- server/red-stream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/red-stream.cpp b/server/red-stream.cpp index fee45f30..090883f3 100644 --- a/server/red-stream.cpp +++ b/server/

[Spice-devel] [PATCH 1/3] build-sys: more version related fixups

2021-04-17 Thread Roman Bogorodskiy
- Drop "-dirty" suffix before processing version info - Don't fail on versions without 'minor' specified (e.g. v0.15) Signed-off-by: Roman Bogorodskiy --- server/meson.build | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/server/meson.build b/server/meson.build index

Re: [Spice-devel] [PATCH 1/3] build-sys: more version related fixups

2021-04-17 Thread Frediano Ziglio
Il giorno sab 17 apr 2021 alle ore 09:52 Roman Bogorodskiy ha scritto: > > - Drop "-dirty" suffix before processing version info > - Don't fail on versions without 'minor' specified (e.g. v0.15) This is due to my fault, I didn't realize that version tags must contain the micro version, even if 0.

Re: [Spice-devel] [PATCH 2/3] red-stream: add missing include

2021-04-17 Thread Frediano Ziglio
Il giorno sab 17 apr 2021 alle ore 09:52 Roman Bogorodskiy ha scritto: > > On FreeBSD, netinet/in.h needs to be included to use IPPROTO_TCP. > > Signed-off-by: Roman Bogorodskiy > --- > server/red-stream.cpp | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/server/red-stream.cpp b/server/

Re: [Spice-devel] [PATCH 1/3] build-sys: more version related fixups

2021-04-17 Thread Roman Bogorodskiy
Frediano Ziglio wrote: > Il giorno sab 17 apr 2021 alle ore 09:52 Roman Bogorodskiy > ha scritto: > > > > - Drop "-dirty" suffix before processing version info > > - Don't fail on versions without 'minor' specified (e.g. v0.15) > > This is due to my fault, I didn't realize that version tags mu