Use the standard `ENV.m32` to force a 32-bit build now that Homebrew's
environment tools can work with Objective C flags.
Only specify `-arch` flags when building Python modules---this prevents Python
from trying to build for more architectures than it should.
FixesHomebrew/homebrew#10348.
This version includes a workaround to not trigger an LLVM optimizer bug
which was causing a LLVM to hang.
ClosesHomebrew/homebrew#10406.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade libmagic to version 5.10.
Throw the --enable-fsect-man5 flag to configure because OSX uses
magic(5) not magic(4) when it comes to man page sections.
ClosesHomebrew/homebrew#10198.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Add the flag --disable-visibility to configure, fixes compile errors
with Clang and llvm from CLT-4.3. That flag means don't use ELF
visibility attributes.
FixesHomebrew/homebrew#10283.
ClosesHomebrew/homebrew#10287.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The tests try to link with dbus-glib, but dbus-glib depends on dbus.
SMH.
FixesHomebrew/homebrew#10367.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Includes a patch by Lincoln Myers <lincoln_myers@yahoo.com>,
fixing a recently introduced compilation bug on OSX.
Patch is already included upstream, and will be in libvirt 0.9.11.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This has had ENV.j1 since the beginning, but it seems to build fine
these days. If it still fails for someone it needs a comment with
justification.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Better tests are certainly welcome, but keep in mind that the source is
not available to `brew test`. If `make check` is necessary it should be
done as part of the build.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This adds a very small patch to fix an issue with building nmap with
clang. The crux of the issue is that clang no longer compiles files with
void main() instead requiring int main(). This causes the configure to
fail when attempting to identify if a certain feature exists which
causes nmap to include its own version which off course causes a compile
failure because now you have two structs with the same name and two
functions with the same name in the same compilation unit.
This patch should probably be sent upstream as well.
ClosesHomebrew/homebrew#10302.
ClosesHomebrew/homebrew#10300.
Signed-off-by: Max Howell <max@methylblue.com>