[Bug 214638] devel/kore: fails to build on 12.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 18 20:17:56 UTC 2016


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

            Bug ID: 214638
           Summary: devel/kore: fails to build on 12.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch, regression
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: ed at FreeBSD.org, t at tobik.me
             Flags: maintainer-feedback?(t at tobik.me)
                CC: t at tobik.me

FreeBSD dropped `const` in base r303451 and made the argument mutable in base
r308264. Vendor makefile contains -std=c99 which leads to the following error

src/cli.c:385:9: error: generic selections are a C11-specific feature
[-Werror,-Wc11-extensions]
        appl = basename(pwd);
               ^
/usr/include/libgen.h:60:21: note: expanded from macro 'basename'
#define basename(x)     __generic(x, const char *, __old_basename, basename)(x)
                        ^
/usr/include/sys/cdefs.h:337:2: note: expanded from macro '__generic'
        _Generic(expr, t: yes, default: no)
        ^

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


More information about the freebsd-ports-bugs mailing list