[Bug 198009] Fix textproc/wordnet build with clang 3.6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 24 20:52:44 UTC 2015


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

            Bug ID: 198009
           Summary: Fix textproc/wordnet build with clang 3.6.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dim at FreeBSD.org
                CC: portmgr at FreeBSD.org

Created attachment 153469
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153469&action=edit
Use __DECONST to cast away const in getptrtype()

During the exp-run in bug 197395, it was found that textproc/wordnet gives
errors with clang 3.6.0:

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-11_23h04m51s/logs/errors/WordNet-3.0_2.log

I propose the following minimal fix, which changes the cast in getptrtype() in
lib/wnutil.c to use __DECONST().

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


More information about the freebsd-ports-bugs mailing list