components/screen/patches/socket.patch
branchs11u3-sru
changeset 7961 58f46f117aca
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/screen/patches/socket.patch	Thu Apr 27 11:41:45 2017 -0700
@@ -0,0 +1,16 @@
+Home brewed.
+Created for the FOSS evaluation project to get screen built also on S11.3 FCS.
+Will not be sent upstream.
+
+--- screen-4.3.1/socket.c.~1~	2015-09-28 13:59:32.049275138 -0700
++++ screen-4.3.1/socket.c	2015-09-28 13:59:47.162984046 -0700
+@@ -30,6 +30,9 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++
++#define _XPG4_2
++
+ #if !defined(NAMEDPIPE)
+ # include <sys/socket.h>
+ # ifdef _OpenBSD_