freebsd-ports/net/nxserver/files/patch-nx-X11-config-cf-FreeBSD.cf
Pav Lucistnik 8f7a45c9a5 - Turn off HasPoll, prevents server crash on connect
PR:		ports/128490
Submitted by:	Shelby Cain <scain@exgenesis.com>
Approved by:	maintainer timeout
2009-05-04 18:52:54 +00:00

24 lines
712 B
CFEngine3

--- nx-X11/config/cf/FreeBSD.cf.orig 2006-06-19 16:18:55.000000000 +0200
+++ nx-X11/config/cf/FreeBSD.cf 2008-04-11 21:21:29.000000000 +0200
@@ -65,7 +65,7 @@
#if (OSMajorVersion >= 3)
#define HasIssetugid YES
-#define HasPoll YES
+#define HasPoll NO
#endif
#if OSMajorVersion >= 4
@@ -105,11 +105,7 @@
# define BuildThreadStubLibrary YES
# define NeedUIThrStubs YES
# endif
-# if (OSRelVersion >= 500016)
-# define ThreadsLibraries -lc_r
-# else
-# define ThreadsLibraries -pthread
-# endif
+# define ThreadsLibraries -pthread
# define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB)
# define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB)
# endif