Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2007 22:50:02 GMT
From:      "Jonathan Noack" <noackjr@alumni.rice.edu>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/116142: devel/cvsweb3 coloured side-by-side stopped  working when moved to amd64?
Message-ID:  <200710122250.l9CMo25S037753@freefall.freebsd.org>

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

From: "Jonathan Noack" <noackjr@alumni.rice.edu>
To: bug-followup@FreeBSD.org,
 andrew-freebsd@areilly.bpc-users.org
Cc:  
Subject: Re: ports/116142: devel/cvsweb3 coloured side-by-side stopped 
     working when moved to amd64?
Date: Fri, 12 Oct 2007 18:16:50 -0400 (EDT)

 On Thu, September 6, 2007 01:50, Edwin Groothuis wrote:
 > Maintainer of devel/cvsweb3,
 >
 > Please note that PR ports/116142 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116142
 
 Do the non-enscript diff versions work?  Set "$allow_enscript = 0;" in
 cvsweb.conf to completely disable enscript support.
 
 Try to uncomment the "$DEBUG = 1;" option in cvsweb.conf and check your
 web server error log.  Perhaps that will illuminate the cause of the
 problem.
 
 Unfortunately I don't have access to an amd64 machine so I have no way to
 try to reproduce.  The patch below coupled with "$DEBUG = 1;" will allow
 you to see what parameters are being passed to enscript by printing them
 to the web server error log.
 
 Final thought:
 We use devel/p5-IPC-Run to kick off the background enscript process.  I
 know devel/p5-IPC-Run in turn depends on devel/p5-IO-Tty.  Perhaps all the
 TTY changes in 7.x are causing problems?
 
 $ cvs -R diff -u cvsweb.cgi
 Index: cvsweb.cgi
 ===================================================================
 RCS file: /home/ncvs/projects/cvsweb/cvsweb.cgi,v
 retrieving revision 1.297
 diff -u -r1.297 cvsweb.cgi
 --- cvsweb.cgi  3 Dec 2005 18:39:45 -0000       1.297
 +++ cvsweb.cgi  12 Oct 2007 21:59:51 -0000
 @@ -3813,6 +3813,7 @@
    my @cmd = ($CMD{enscript},
               @enscript_options,
               '-q', "--language=$lang", '-o', '-', "--highlight=$highlight");
 +  print STDERR join(' ', @cmd), "\n";
 
    local *ENSCRIPT_OUT;
    my ($h, $err) =
 ************************************************************
 
 -Jonathan
 



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