ports/77408: xterm port & package do not handle scrollbar properly
Gil Kloepfer
gil at arlut.utexas.edu
Sat Feb 12 02:00:38 UTC 2005
>Number: 77408
>Category: ports
>Synopsis: xterm port & package do not handle scrollbar properly
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 12 02:00:37 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Gil Kloepfer
>Release: FreeBSD 4.11-RELEASE i386
>Organization:
UT Applied Research Laboratories
>Environment:
System: FreeBSD leela.arlut.utexas.edu 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Thu Feb 10 15:30:30 CST 2005 gil at ns5-new.arlut.utexas.edu:/usr/src/sys/compile/ARLOPX2GIL i386
X11/XFree86 packages as installed from
4.11-RELEASE CD (XFree86-4.4.0_1,1)
>Description:
Scrollbar on xterm does not function properly at any time.
The scrollbar flashes and acts erratically when turned on.
Built port x11/xterm (xterm-200) and this functioned the same way.
This only appears to be relevant to XFree86 (not Xorg)
>How-To-Repeat:
Turn on scrollbar on xterm.
>Fix:
The problem is defined in detail in:
http://lists.complete.org/freeciv-dev@freeciv.org/1999/08/msg00461.html.gz
In essence, some function prototypes get improperly defined
unless NARROWPROTO is defined.
The NARROWPROTO define needs to be set during compilation. This
was fixed in the autoconf script in the xterm port, but it
requires imake to be installed in order to xmkmf a new Makefile.
See line 1660 (and surrounding lines) of aclocal.m4 from
the xterm-200 source distribution.
1) Fix: The port for x11/xterm needs to require imake to be
installed as a build prerequisite in order for configure to
build the correct Makefile that sets NARROWPROTO, or a patch
needs to be put into the port to set the appropriate make options
for FreeBSD (I would think the former would be preferable).
2) Workaround: 4.11-RELEASE needs an errata note indicating
that xterm in the XFree86 package has been built incorrectly
and that the scrollbar will malfunction. The workaround is
to be sure that the imake port/package is installed, then rebuild
xterm from the ports collection.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list