shithub: freetype+ttf2subf

Download patch

ref: dbe330bca9d80efba8fa43fd2c08e44ca7071df8
parent: f4ec60fdb8271aade40c3d0faf0a65bda8bae8ac
author: suzuki toshiya <[email protected]>
date: Sun Oct 30 08:31:03 EDT 2011

[raccess] Hide raccess_rule_by_darwin_vfs() on native Mac OS X.

* src/base/ftrfork.c (raccess_rule_by_darwin_vfs): Do not
compile on native Mac OS X because it is not used.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-30  suzuki toshiya  <[email protected]>
+
+	[raccess] Hide raccess_rule_by_darwin_vfs() on native Mac OS X.
+
+	* src/base/ftrfork.c (raccess_rule_by_darwin_vfs): Do not
+	compile on native Mac OS X because it is not used.
+
 2011-10-25  Werner Lemberg  <[email protected]>
 
 	[truetype] Fix MD instruction for twilight zone.
--- a/src/base/ftrfork.c
+++ b/src/base/ftrfork.c
@@ -427,6 +427,7 @@
   }
 
 
+#if !defined( FT_MACINTOSH ) || defined( DARWIN_NO_CARBON )
   FT_LOCAL_DEF( FT_Bool )
   raccess_rule_by_darwin_vfs( FT_UInt  rule_index )
   {
@@ -440,6 +441,7 @@
         return FALSE;
     }
   }
+#endif
 
 
   static FT_Error