Date: Mon, 6 Sep 2021 19:01:13 GMT From: Gerald Pfeifer <gerald@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 210a5da8ef9c - main - emulators/wine-devel: Fix build on newer versions Message-ID: <202109061901.186J1DQf016994@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by gerald: URL: https://cgit.FreeBSD.org/ports/commit/?id=210a5da8ef9c632adaf5d33b3839e3806295fa89 commit 210a5da8ef9c632adaf5d33b3839e3806295fa89 Author: Gerald Pfeifer <gerald@FreeBSD.org> AuthorDate: 2021-09-06 18:58:24 +0000 Commit: Gerald Pfeifer <gerald@FreeBSD.org> CommitDate: 2021-09-06 18:58:24 +0000 emulators/wine-devel: Fix build on newer versions Yet another recent breakage in dlls/nsiproxy.sys, this time only on newer versions of FreeBSD, yet another patch submitted upstream (and included locally temporarily). --- emulators/wine-devel/files/patch-dlls-nsiproxy.sys | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/emulators/wine-devel/files/patch-dlls-nsiproxy.sys b/emulators/wine-devel/files/patch-dlls-nsiproxy.sys new file mode 100644 index 000000000000..73c77e1aee35 --- /dev/null +++ b/emulators/wine-devel/files/patch-dlls-nsiproxy.sys @@ -0,0 +1,31 @@ +Yet another recent breakage in dlls/nsiproxy.sys, yet another patch +submitted upstream. + +Plus I've adjusted my autobuilders to focus on newer versions of FreeBSD. + + +commit cd10f9b73cdae715e4a1ef32ade50c65a097ebf1 +Author: Gerald Pfeifer <gerald@FreeBSD.org> +Date: Mon Sep 6 17:54:53 2021 +0000 + + nsiproxy: Include sys/param.h from udp.c. + + udp.c features specific code to handle versions of FreeBSD past early + 12.0 snapshots. This is guarded by a check on __FreeBSD_version which + is defined in sys/param.h. Actually including that, like tcp.c already + does, activates that check and adjusted code and unbreaks the build. + +--- UTC +--- dlls/nsiproxy.sys/udp.c ++++ dlls/nsiproxy.sys/udp.c +@@ -22,6 +22,10 @@ + #include <stdarg.h> + #include <stddef.h> + ++#ifdef HAVE_SYS_PARAM_H ++#include <sys/param.h> ++#endif ++ + #ifdef HAVE_SYS_TYPES_H + #include <sys/types.h> + #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109061901.186J1DQf016994>