[Bug 244507] devel/dee: Fix build with clang 10.0.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 28 19:30:07 UTC 2020


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

            Bug ID: 244507
           Summary: devel/dee: Fix build with clang 10.0.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: dim at FreeBSD.org
            Blocks: 244251

Created attachment 212031
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212031&action=edit
Fix devel/dee build with clang 10.0.0

As reported in bug 244251, with clang 10.0.0 the devel/dee port fails to build
with:

dee-serializable-model.c:1331:5: error: misleading indentation; statement is
not part of the previous 'while' [-Werror,-Wmisleading-indentation]
    pos++;
    ^
dee-serializable-model.c:1329:3: note: previous statement is here
  while (!dee_model_is_last (self, iter) && iter != _iter)
  ^

This is a known upstream bug (https://bugs.launchpad.net/dee/+bug/1579529), but
as it has been reported 4 years ago and still not fixed, here is a patch.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244251
[Bug 244251] [exp-run] Against projects/clang1000-import branch
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list