[Bug 243481] net-p2p/c-lightning: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 21 09:23:10 UTC 2020


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

            Bug ID: 243481
           Summary: net-p2p/c-lightning: fix build on GCC architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vd at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
             Flags: maintainer-feedback?(vd at FreeBSD.org)
          Assignee: vd at FreeBSD.org

Created attachment 210911
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210911&action=edit
patch

Needs C11 compiler:
cc1: error: unrecognized command line option "-std=gnu11"

Needs include sys/types.h in fdpass.c:
ccan/ccan/fdpass/fdpass.c: In function 'fdpass_send':
ccan/ccan/fdpass/fdpass.c:16:12: error: 'register_t' undeclared (first use in
this function)
   16 |   char buf[CMSG_SPACE(sizeof(fd))];
      |            ^~~~~~~~~~

This fixes build with GCC.

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


More information about the freebsd-ports-bugs mailing list