Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2020 09:23:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243481] net-p2p/c-lightning: fix build on GCC architectures
Message-ID:  <bug-243481-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243481

            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@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
             Flags: maintainer-feedback?(vd@FreeBSD.org)
          Assignee: vd@FreeBSD.org

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

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

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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243481-7788>