| Age | Commit message (Collapse) | Author |
|
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.
|
|
Mysterious link errors due to two missing symbols are too mysterious for me. For now, blacklist.
Fixes #14566.
|
|
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.
|
|
|
|
rbenv-bundler is an rbenv plugin that makes shims aware of bundle
installation paths
Closes #14496.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
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>
|
|
Closes #14062.
|
|
Closes #14330.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Closes #14606.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #14607.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
|
|
Fixes #14604.
|
|
Fixes #14584.
|
|
At your option: `brew --config -1`.
|
|
|
|
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.
|
|
This fixes a bug where 32 bit compilations create spurious 'invalid assignment
to cs-list outside multiple assignment' errors in Octave. See Fink's similar
clause and discussion at
http://www.mail-archive.com/fink-beginners@lists.sourceforge.net/msg26536.html.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
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.
|
|
Closes #14600.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Upgrade sam2p to version 0.49.1.
Add `--disable-debug`
Add `fails_with :clang`
Works well with superenv.
Fixes #14592
Closes #14599.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #14602.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Avoids a missing "_SuiteSparse_time" symbol. See
http://savannah.gnu.org/bugs/?37031
Closes #14572.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
It's only visible if you specify -v or builds fail, so let's help people to diagnose superenv issues.
|
|
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 #14564
Closes #14596.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
|
|
Closes #14595.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #14583.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #14588.
|
|
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.
|
|
You tend to get more useful build output this way, and (more importantly?), superenv itself only outputs certain things if VERBOSE is set.
|
|
|
|
|
|
Checking the license text is probably the most future proofed method. Though for future reference other possible methods are listed in the below ticket.
Closes #14558.
|
|
Now we should get an sdk_path, but tools like xcodebuild, xcode-select and xcrun will still error out. But at least more of Homebrew will work.
Also putting the Xcode 3 path finder last. We get bug reports because newer Xcodes are installed in parallel to older Xcodes. We want to find and use the newer Xcode's first. Xcode.prefix is pretty smart about that.
Refs #14558.
|
|
|
|
superenv defaults to servile mode. In servile mode:
* If 'gcc' is called, then 'gcc' is run (we ignore HOMEBREW_CC)
* CFLAGS (optimizations) are not applied
* ARGV is not mangled (TODO though we should apply fixes)
* -I and -L environment is still forcibly inserted.
This fixes, eg. jack which was still broken with stdenv. Jack was broken because we set CC in stdenv, and Jack has a stupid build-system. Unsetting CC allowed Jack to find and use the gcc tool it so demanded, but (previously) we would then substitute clang under its nose. The configure still failed. In servile mode (llvm-)gcc is used and Jack compiles.
In normal circumstances clang would then be inserted again during the make phase. But Jack uses the niche-wag build tool that we don't support for setting the O HOMEBREW_CCCFG flag that disables servile mode.
|
|
So the CC= in the Makefile is overridden by the $CC setting. I considered doing this generally, but as it stands we keep most of the user's environment in both superenv and stdenv so it's too risky. But I wanted to commit one example of it at least.
|
|
User paths might have anything in them, anything can break builds.
Instead special case these two formula with the view to having an eventual DSL to allow injection of user paths into superenv. Certainly defaulting to off.
|
|
|
|
|
|
Closes #14593.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #14578.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #14586.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|