Skip to content

Commit

Permalink
freetype 2.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lembacon authored and DomT4 committed Jul 12, 2016
1 parent 9b42445 commit 6152ac6
Showing 1 changed file with 3 additions and 26 deletions.
29 changes: 3 additions & 26 deletions Formula/freetype.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ class Freetype < Formula
# Note: when bumping freetype's version, you must also bump revisions of
# formula with "full path" references to freetype in their pkgconfig.
# See https://github.com/Homebrew/legacy-homebrew/pull/44587
url "https://downloads.sf.net/project/freetype/freetype2/2.6.4/freetype-2.6.4.tar.bz2"
mirror "https://download.savannah.gnu.org/releases/freetype/freetype-2.6.4.tar.bz2"
sha256 "5f83ce531c7035728e03f7f0421cb0533fca4e6d90d5e308674d6d313c23074d"
url "https://downloads.sf.net/project/freetype/freetype2/2.6.5/freetype-2.6.5.tar.bz2"
mirror "https://download.savannah.gnu.org/releases/freetype/freetype-2.6.5.tar.bz2"
sha256 "e20a6e1400798fd5e3d831dd821b61c35b1f9a6465d6b18a53a9df4cf441acf0"

bottle do
cellar :any
Expand All @@ -22,10 +22,6 @@ class Freetype < Formula

depends_on "libpng"

# http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=783cbcd67
# Should be in next stable release & safe to remove then.
patch :DATA

def install
if build.with? "subpixel"
inreplace "include/freetype/config/ftoption.h",
Expand All @@ -44,22 +40,3 @@ def install
"--exec-prefix", "--prefix"
end
end

__END__
diff --git a/builds/exports.mk b/builds/exports.mk
index 9685f1f..d5a5085 100644
--- a/builds/exports.mk
+++ b/builds/exports.mk
@@ -40,7 +40,11 @@ ifneq ($(EXPORTS_LIST),)
endif

# The list of public headers we're going to parse.
- PUBLIC_HEADERS := $(wildcard $(PUBLIC_DIR)/*.h)
+ PUBLIC_HEADERS := $(filter-out $(PUBLIC_DIR)/ftmac.h, \
+ $(wildcard $(PUBLIC_DIR)/*.h))
+ ifneq ($(ftmac_c),)
+ PUBLIC_HEADERS += $(PUBLIC_DIR)/ftmac.h
+ endif

# The `apinames' source and executable. We use $E_BUILD as the host
# executable suffix, which *includes* the final dot.

0 comments on commit 6152ac6

Please sign in to comment.