[Bug 244797] textproc/jtc: Unbreak build with clang 10.0.0, use correct PORTVERSION

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 13 21:28:43 UTC 2020


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

            Bug ID: 244797
           Summary: textproc/jtc: Unbreak build with clang 10.0.0, use
                    correct PORTVERSION
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: vulcan at wired.sh
 Attachment #212389 maintainer-approval+
             Flags:

Created attachment 212389
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212389&action=edit
jtc-1.75d.diff

Changes:
        * Replace 'DISTVERSION' with 'PORTVERSION', as the version
          contains letters and would output '1.75.d' — which is
          incorrect. In this instance there's no need to bump the
          'PORTREVISION' as '1.75d' > '1.75.d';
        * Add 'files/patch-lib_Json.hpp' which removes an incorrect
          function (we try modify a non-static member within a const
          function) and therefore unbreaking builds with clang 10.0.0.
          This has no behavioral change on the application itself. [1]

Testing:
        * No errors reported with portlint, built in Poudriere and
          application works as expected (logs attached).

Notes:
        * [1] Reported by pkg-fallout @
http://beefy17.nyi.freebsd.org/data/head-i386-default/p528258_s358902/logs/jtc-1.75.d.log

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


More information about the freebsd-ports-bugs mailing list