aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/wine-devel
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2018-08-19 09:01:37 +0800
committergerald <gerald@FreeBSD.org>2018-08-19 09:01:37 +0800
commit553d6aab8afe79a82536c23e3b3ebed4bf835f19 (patch)
treed2fd82f7fdcc139f9d5009447b08a97956c713db /emulators/wine-devel
parent3dc08fd343a9a146f0b81c2510511fdfd5708e59 (diff)
downloadfreebsd-ports-gnome-553d6aab8afe79a82536c23e3b3ebed4bf835f19.tar.gz
freebsd-ports-gnome-553d6aab8afe79a82536c23e3b3ebed4bf835f19.tar.zst
freebsd-ports-gnome-553d6aab8afe79a82536c23e3b3ebed4bf835f19.zip
Add the temporary fix I created (but failed to commit) as part of the
update to Wine 3.14 in revision r477548 to work around a Linuxism when it comes to include files.
Diffstat (limited to 'emulators/wine-devel')
-rw-r--r--emulators/wine-devel/files/patch-wbemprox-builtin.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-wbemprox-builtin.c b/emulators/wine-devel/files/patch-wbemprox-builtin.c
new file mode 100644
index 000000000000..351fe9f31154
--- /dev/null
+++ b/emulators/wine-devel/files/patch-wbemprox-builtin.c
@@ -0,0 +1,21 @@
+commit 2d35c22a51fb7cfc611045537cea06e1118cabd9
+Author: Gerald Pfeifer <gerald@pfeifer.com>
+Date: Sat Aug 18 16:52:27 2018 +0000
+
+ Fix the build on FreeBSD by including sys/socket.h.
+
+--- UTC
+diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
+index 72c6b4e933..3b8b43e868 100644
+--- dlls/wbemprox/builtin.c
++++ dlls/wbemprox/builtin.c
+@@ -26,6 +26,9 @@
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif
++#ifdef HAVE_SYS_SOCKET_H
++# include <sys/socket.h>
++#endif
+ #ifdef HAVE_ARPA_INET_H
+ # include <arpa/inet.h>
+ #endif