File Xvnc-pthread.diff of Package xorg-x11-server

--- xorg-server-1.10.4/hw/vnc/Makefile.am.orig	2011-09-06 15:25:27.000000000 +0000
+++ xorg-server-1.10.4/hw/vnc/Makefile.am	2011-09-06 15:26:40.000000000 +0000
@@ -37,6 +37,7 @@
 JPEG_LIBS = -ljpeg
 CRYPT_LIBS = -lcrypt
 Z_LIBS = -lz
+PTHREAD_LIBS = -lpthread
 
 AM_CFLAGS = $(DIX_CFLAGS) $(XVNC_CFLAGS) -I$(top_srcdir)/hw/dmx/vnc -DCHROMIUM=1
 
@@ -48,7 +49,8 @@
              $(CRYPT_LIBS) \
 	     $(XSERVER_SYS_LIBS) \
              $(VNCMODULES_LIBS) \
-	     $(Z_LIBS)
+	     $(Z_LIBS) \
+	     $(PTHREAD_LIBS)     
 
 
 relink: