[Bug 196268] New: [patch] sysutils/lsof build fix for arch != i386 (incl. amd64, etc)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 25 14:59:22 UTC 2014


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

            Bug ID: 196268
           Summary: [patch] sysutils/lsof build fix for arch != i386
                    (incl. amd64, etc)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: matthew at reztek.cz

Created attachment 150955
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150955&action=edit
sysutils/lsof build fix

sysutils/lsof needs bool type defined. The last revision to the port tries to
set CFLAGS to define NEED_BOOL_TYPEDEF, but that doesn't work; the build fails
and the compiler is clearly invoked without that passed as a flag.

The configure script already has a check for FreeBSD 10 which defines
NEED_BOOL_TYPEDEF, but for some reason it also checks for arch i386. The bool
type is needed regardless, so I patched out the arch check in the configure
script and it builds correctly on amd64.

This may also help arm but I have not checked that to see if there was another
issue or just silly arch checks.

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


More information about the freebsd-ports-bugs mailing list