clang doesn't handle flexible arrays of non-POD types. So instead
of a flexible array, use a 0-length array.
Closes#14448.
Signed-off-by: Max Howell <mxcl@me.com>
Added comment for the Gentoo patch
Clang is unlikely to ever support this kind of thing, it's bad code!
In this case really we could use a way to provide a diff of the lines that break the compile and say that it fails with clang while this bad code is in the sources.
Closes#14573.
So many formula assume CFLAGS etc. are not nil. One fix would be to set them to "" but this would set them in the environment, and that could have consequences for build-scripts. This hack works but with a (hopefully) small caveat.
Fixes#14580.
This release adds ``spipe'', a client to spiped which encrypts a single
connection and as the unencrypted end of that connection uses the
standard input and output. In other words, spipe acts like 'netcat' or
'openssl s_client'.
A practical use of spipe as an OpenSSH ProxyCommand to create hidden in
plain sight SSH services is explained at its authors blog.
Closes#14576.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This started happening because I undefined CC. Now a lot of tools pick gcc. The problem here is that we add to cflags before configure, and during configure we are 'servile' so when configure uses gcc it *is* llvm-gcc and not clang, which we will be during make because then we are *not* servile.
So we have to assign these cflags during make only, which is easy enough. Code is neater now too.
I am now working on superenv so that it can determine if a tool cannot use certain flags and then pick another. The last stage of always-just-works.
Fixes#14554.
We justify doing this because pre 10.8 X11 came with GL for all Homebrew-capable systems and as such is a default that we'd prefer not to have to address.
Upgrade sam2p to version 0.49.1.
Add `--disable-debug`
Add `fails_with :clang`
Works well with superenv.
Fixes#14592Closes#14599.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Possibly this is not wise, but with -fopenmp -lgomp is automatically added by the toolchain, and I didn't have -lgomp.
Ideally we'd detect when this will work and then leave it in there.
/cc @sharpie @mikemcquaid @jacknagel
serf requires you to explicitly tell it where to find the supertool because otherwise it has a hardcoded /usr/bin/apr-1-config (:P), ctail however is sensible and searches the PATH so now it's as though we do nothing special in that formula. Nice.
gs-9.06 is designed to build with only `:libpng` these days, but it
fails to compile with superenv unless we specify that we don't
want to build with X11.
* Remove the `ENV['LIBS'] = some/X11/path`
* Add `--without-x` to fix a build error.
Fixes#14564Closes#14596.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This situation should be impossible now (in that, we should detect sdk_path provided we also detected nclt), so if it happens somehow raise in such a way that the user will be encouraged to report the bug.