Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2009 20:30:03 GMT
From:      Shelby Cain <scain@exgenesis.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/128490: net/freenx port does not work properly on freebsd-7 stable
Message-ID:  <200901222030.n0MKU36i092591@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/128490; it has been noted by GNATS.

From: Shelby Cain <scain@exgenesis.com>
To: bug-followup@FreeBSD.org, fyoory@gmail.com
Cc:  
Subject: Re: ports/128490: net/freenx port does not work properly on
 freebsd-7 stable
Date: Thu, 22 Jan 2009 14:09:59 -0600

 --=-EjS1II4qXTMH5HJ1t3S4
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 I was working with the original maintainer of this port to get it
 working under FreeBSD 7.0.
 
 After much searching and trial and error, I found that I had to modify
 one of the patches the net/nxserver port (setting HasPoll to NO) in
 order to produce a version of nxagent that doesn't die unexpectedly when
 you are attempting to create a new session.  I submitted my patch tot he
 original maintainer but I guess it was never tested and/or acted upon.
 
 I've gone ahead and attached the patch.  The correct thing to do would
 be to figure out why nxagent dies and fix the root cause - but my
 workaround is sufficient for my own purposes.
 
 I'm currently typing this email from a FreeBSD 7.1 that I'm connecting
 to using the Win32 nxclient.  Until I reapplied this patch and rebuilt
 the nxserver port I was unable to connect.
 
 I hope this helps.
 
 Regards,
 
 Shelby Cain
 
 --=-EjS1II4qXTMH5HJ1t3S4
 Content-Disposition: attachment; filename="patch-nx-X11-config-cf-FreeBSD.cf"
 Content-Type: text/x-patch; name="patch-nx-X11-config-cf-FreeBSD.cf"; charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 
 --- 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
 
 --=-EjS1II4qXTMH5HJ1t3S4--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901222030.n0MKU36i092591>