shithub: freetype+ttf2subf

Download patch

ref: 783cbcd67dee48e431cea376e16d350dcbfcb317
parent: 474682ff8777923dde4d0a64aed49c3b4c1bdef9
author: suzuki toshiya <[email protected]>
date: Thu Jul 7 14:55:37 EDT 2016

[mac] Fix Savannah bug #48417.

Mac OS X linker throws errors when `-exported_symbol_list' input
file includes non-existing symbols.  Reported by Ryan Schmidt.

* builds/exports.mk: Exclude ftmac.h from the headers for apinames
by default.  Include it when ftmac.c would be compiled.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2016-07-07  suzuki toshiya  <[email protected]>
+
+	[mac] Fix Savannah bug #48417.
+
+	Mac OS X linker throws errors when `-exported_symbol_list' input
+	file includes non-existing symbols.  Reported by Ryan Schmidt.
+
+	* builds/exports.mk: Exclude ftmac.h from the headers for apinames
+	by default.  Include it when ftmac.c would be compiled.
+
 2016-07-06  Werner Lemberg  <[email protected]>
 
 	* src/truetype/ttinterp.c (TInstruction_Function): Removed, unused.
--- a/builds/exports.mk
+++ b/builds/exports.mk
@@ -40,7 +40,11 @@
   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.