Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jun 2018 15:09:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228830] textproc/gucharmap: fails with latest UCD
Message-ID:  <bug-228830-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228830

            Bug ID: 228830
           Summary: textproc/gucharmap: fails with latest UCD
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: easy, patch, patch-ready
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: cmt@freebsd.org
                CC: thierry@FreeBSD.org

Created attachment 194082
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194082&action=
=3Dedit
patch to limit the generated unicode-versions.h to the version given on the
command line

After the update of textproc/UCD to 11.0 in ports r471937 , deskutils/gucha=
rmap
fails to build, with error messages like

./unicode-versions.h:111:21: error: use of undeclared identifier
'GUCHARMAP_UNICODE_VERSION_11_0'
  { 0x0560, 0x0560, GUCHARMAP_UNICODE_VERSION_11_0 },

Short digging shows that unicode-versions.h is autogenerated from
textproc/UCD's DerivedAge.txt file by gucharmap/gen-guch-unicode-tables.pl.
Unfortunately, this script builds unicode-versions.h with everything found =
in
DerivedAge.txt, not capping it's output at the version given on it's command
line.

The fix is rather simple - a one-line addition to gen-guch-unicode-tables.p=
l.
The attached file should be dropped into deskutils/gucharmap/files/ . It fi=
xes
the build of gucharmap in my poudriere.

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



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