diff options
| author | Jack Nagel | 2013-09-01 13:49:46 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-01 13:49:46 -0500 |
| commit | c82e5a2c2391188222e3a91bf1ef3d272e54aed4 (patch) | |
| tree | 043138b55330a43ceb149e4cbc587cbcbda5c8c6 /Library/Formula | |
| parent | 1e69e28835a9bd2ae754dc5c2b0d09bd2df8b9bb (diff) | |
| download | homebrew-c82e5a2c2391188222e3a91bf1ef3d272e54aed4.tar.bz2 | |
fontconfig: remove patch that was upstreamed ages ago
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fontconfig.rb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Library/Formula/fontconfig.rb b/Library/Formula/fontconfig.rb index 9896e72c9..0d583ae8a 100644 --- a/Library/Formula/fontconfig.rb +++ b/Library/Formula/fontconfig.rb @@ -12,11 +12,6 @@ class Fontconfig < Formula depends_on :freetype depends_on 'pkg-config' => :build - # Patch adapted from Macports patch for 2.9.0 defines sizeof based on __LP64__ - # Fixes universal builds but seems groovy enough to apply in all cases. - # https://trac.macports.org/browser/trunk/dports/graphics/fontconfig/files/patch-check-arch-at-runtime.diff - def patches; DATA; end - def install ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", @@ -25,27 +20,3 @@ class Fontconfig < Formula system "make install" end end - -__END__ ---- a/src/fcarch.h 2012-07-23 19:01:32.000000000 -0700 -+++ b/src/fcarch.h 2012-10-20 10:29:15.000000000 -0700 -@@ -46,6 +46,19 @@ - * be64 1234 8 8 - */ - -+#ifdef __APPLE__ -+# include <machine/endian.h> -+# undef SIZEOF_VOID_P -+# undef ALIGNOF_DOUBLE -+# ifdef __LP64__ -+# define SIZEOF_VOID_P 8 -+# define ALIGNOF_DOUBLE 8 -+# else -+# define SIZEOF_VOID_P 4 -+# define ALIGNOF_DOUBLE 4 -+# endif -+#endif -+ - #if defined(__DARWIN_BYTE_ORDER) && __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN - # define FC_ARCH_ENDIAN "le" - #elif defined(__DARWIN_BYTE_ORDER) && __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN |
