Date: Thu, 25 Dec 2014 14:59:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196268] New: [patch] sysutils/lsof build fix for arch != i386 (incl. amd64, etc) Message-ID: <bug-196268-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: matthew@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196268-13>