[Bug 225733] [PATCH] x11/xterm: option LUIT relies on option WCHAR

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 7 17:32:55 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225733

            Bug ID: 225733
           Summary: [PATCH] x11/xterm: option LUIT relies on option WCHAR
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt at FreeBSD.org
          Reporter: 180126-bugzilla_freebsd_org at k-worx.org
          Assignee: ehaupt at FreeBSD.org
          Keywords: patch
             Flags: maintainer-feedback?(ehaupt at FreeBSD.org)

Created attachment 190389
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190389&action=edit
Patch to make option WCHAR implicit

This bug occurs only when the port is configured and built individually.

How to reproduce:
~~~~~~~~~~~~~~~~~
Compile the port with options LUIT enabled and WCHAR disabled.

What happens:
~~~~~~~~~~~~~
The port compiles without problems but the enabled option LUIT is silently
ignored because it relies on the WCHAR option which was disabled.

This can be verified if the configure command will be used with the following
parameters:

./configure --with-luit --disable-wide-chars

The option '--with-luit' is silently ignored and xterm will have no luit filter
and unicode support. 

If the configure command as listed below will be used instead, xterm is
compiled with luit filter and unicode support:

./configure --with-luit --enable-wide-chars 

Resolution:
~~~~~~~~~~~
The option WCHAR should be enabled implicitly when option LUIT is enabled.
Attached with this PR is the patch.

QA:
~~
- portlint: ok
- poudriere (11.1-RELEASE amd64): ok

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list