Commit Graph
18 Commits
Author SHA1 Message Date
Jack Nagel 891622cc4b libagg: fix build with clang 2013-11-19 11:03:06 -06:00
Jack Nagel c356bf7740 Add more missing :autoconf deps 2013-11-13 11:02:20 -06:00
Jack Nagel e0868a4475 libagg: use autogen.sh instead of manual bootstrap 2013-11-09 22:42:18 -06:00
Jack Nagel 5ddd40b844 Switch compilers when no build is specified
Given the current state of OS X compilers, the original fails_with
behavior is becoming less useful, mostly resulting in build failures
each time the compiler is updated. So make the following changes:

When a build is specified, we retain the old behavior: switch compilers
if the available compiler is <= the build, don't switch if it is > the
build.

When no build is specified, unconditionally switch compilers, and don't
output the advice message. This allows us to mark formulae as
perpetually failing, avoiding the need to update formulae each time a
new compiler build is made available.

As a bonus, this makes the logic much easier to reason about.

Closes #18175.
2013-03-12 13:55:15 -05:00
Adam Vandenberg 5e2e437b1f libagg still fails with clang 425
Closes #17798.
2013-02-12 09:01:54 -08:00
Jack Nagel 7f787c3454 libagg: use optional dep 2013-02-02 19:21:27 -06:00
Jack Nagel 471d722d0c libagg: make libtool dep consistent
Should fix #16225.
2012-12-22 17:28:30 -06:00
Jack Nagel 48bdee343e Tagging symbol deps as optional is undefined
The current code does not support this behavior, and the X11Dependency
will choke if symbols are passed in the tag field.

Future work will enable this.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-13 23:16:51 -05:00
Jack Nagel 6b8d25f2d2 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Mike McQuaid 6bed15d20a libagg: fix SHA1 and X11 dependency. 2012-09-04 19:44:41 -07:00
Mike McQuaid 3c5ca25cad Batch convert MD5 formula to SHA1.
Closes #14653.
2012-09-03 11:36:42 -07:00
Max Howell c25abd748b libagg still fails with clang (prolly always will)
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.
2012-09-01 00:33:09 -04:00
Adam Vandenberg 1f32fa43a7 Use autotools symbols 2012-07-10 08:56:02 -07:00
Jack Nagel a2d4d9d832 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
Thomas Goyne 7182cd7ab0 libagg: Fix compilation errors
Remove AM_C_PROTOTYPES from configure.in, which was dropped in automake
1.12 as pre-ANSI C compilers are no longer worth caring about.

Add fails_with clang. AGG tries to return a const reference as a
non-const reference, which is allowed by gcc and llvm but not clang 3.1.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-07 20:58:49 -07:00
Jack Nagel e98d63ad26 Add more autoconf deps where appropriate
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 16:38:16 -05:00
Max Howell d4f0ba05c1 depends_on "automake" where necessary
Had to remove full paths, since we have two options for location now.
2012-02-27 04:05:43 +00:00
Charlie Sharpsteen 6005d3b5f7 Anti-Grain Geometry library
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-13 12:26:17 -07:00