shithub: freetype+ttf2subf

Download patch

ref: d51ac9c7c6aa5773c806495052a7a862fce6a7e2
parent: ea2b4756e44664d8b716e8761fd1f49e7ffa98f5
author: Werner Lemberg <[email protected]>
date: Sun May 12 02:00:27 EDT 2013

Fix Savannah bug #38968.

* include/freetype/ftmodapi.h: Add `FT_EXPORT' to
FT_Property_{Set,Get}.
* src/base/ftobjs.c: Add `FT_EXPORT_DEF' to
FT_Property_{Set,Get}.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2013-05-12  Werner Lemberg  <[email protected]>
+
+	Fix Savannah bug #38968.
+
+	* include/freetype/ftmodapi.h: Add `FT_EXPORT' to
+	FT_Property_{Set,Get}.
+	* src/base/ftobjs.c: Add `FT_EXPORT_DEF' to
+	FT_Property_{Set,Get}.
+
 2013-05-10  Werner Lemberg  <[email protected]>
 
 	[sfnt] Clean up bitmap code.
--- a/include/freetype/ftmodapi.h
+++ b/include/freetype/ftmodapi.h
@@ -329,7 +329,7 @@
    *    2.4.11
    *
    */
-  FT_Error
+  FT_EXPORT( FT_Error )
   FT_Property_Set( FT_Library        library,
                    const FT_String*  module_name,
                    const FT_String*  property_name,
@@ -393,7 +393,7 @@
    *    2.4.11
    *
    */
-  FT_Error
+  FT_EXPORT( FT_Error )
   FT_Property_Get( FT_Library        library,
                    const FT_String*  module_name,
                    const FT_String*  property_name,
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -4516,7 +4516,7 @@
 
   /* documentation is in ftmodapi.h */
 
-  FT_Error
+  FT_EXPORT_DEF( FT_Error )
   FT_Property_Set( FT_Library        library,
                    const FT_String*  module_name,
                    const FT_String*  property_name,
@@ -4532,7 +4532,7 @@
 
   /* documentation is in ftmodapi.h */
 
-  FT_Error
+  FT_EXPORT_DEF( FT_Error )
   FT_Property_Get( FT_Library        library,
                    const FT_String*  module_name,
                    const FT_String*  property_name,