Blame SOURCES/freetype-2.10.0-internal-outline.patch

20e524
--- freetype-2.10.0/include/freetype/ftoutln.h
20e524
+++ freetype-2.10.0/include/freetype/ftoutln.h
20e524
@@ -165,6 +165,15 @@ FT_BEGIN_HEADER
20e524
                   FT_Int       numContours,
20e524
                   FT_Outline  *anoutline );
20e524
 
20e524
+  /*
20e524
+   * Kept downstream for ABI compatibility only.
20e524
+   * It just throws error now. Remove once soname has been bumped.
20e524
+   */
20e524
+  FT_EXPORT( FT_Error )
20e524
+  FT_Outline_New_Internal( FT_Memory    memory,
20e524
+                           FT_UInt      numPoints,
20e524
+                           FT_Int       numContours,
20e524
+                           FT_Outline  *anoutline );
20e524
 
20e524
   /**************************************************************************
20e524
    *
20e524
@@ -192,6 +201,13 @@ FT_BEGIN_HEADER
20e524
   FT_Outline_Done( FT_Library   library,
20e524
                    FT_Outline*  outline );
20e524
 
20e524
+  /*
20e524
+   * Kept downstream for ABI compatibility only.
20e524
+   * It just throws error now. Remove once soname has been bumped.
20e524
+   */
20e524
+  FT_EXPORT( FT_Error )
20e524
+  FT_Outline_Done_Internal( FT_Memory    memory,
20e524
+                            FT_Outline*  outline );
20e524
 
20e524
   /**************************************************************************
20e524
    *
20e524
--- freetype-2.10.0/src/base/ftoutln.c
20e524
+++ freetype-2.10.0/src/base/ftoutln.c
20e524
@@ -291,6 +291,19 @@
20e524
 
20e524
   /* documentation is in ftoutln.h */
20e524
 
20e524
+  /*
20e524
+   * Kept downstream for ABI compatibility only.
20e524
+   * It just throws error now. Remove once soname has been bumped.
20e524
+   */
20e524
+  FT_EXPORT_DEF( FT_Error )
20e524
+  FT_Outline_New_Internal( FT_Memory    memory,
20e524
+                           FT_UInt      numPoints,
20e524
+                           FT_Int       numContours,
20e524
+                           FT_Outline  *anoutline )
20e524
+  {
20e524
+    return FT_THROW( Unimplemented_Feature );
20e524
+  }
20e524
+
20e524
   FT_EXPORT_DEF( FT_Error )
20e524
   FT_Outline_New( FT_Library   library,
20e524
                   FT_UInt      numPoints,
20e524
@@ -423,6 +436,17 @@
20e524
 
20e524
   /* documentation is in ftoutln.h */
20e524
 
20e524
+  /*
20e524
+   * Kept downstream for ABI compatibility only.
20e524
+   * It just throws error now. Remove once soname has been bumped.
20e524
+   */
20e524
+  FT_EXPORT_DEF( FT_Error )
20e524
+  FT_Outline_Done_Internal( FT_Memory    memory,
20e524
+                            FT_Outline*  outline )
20e524
+  {
20e524
+    return FT_THROW( Unimplemented_Feature );
20e524
+  }
20e524
+
20e524
   FT_EXPORT_DEF( FT_Error )
20e524
   FT_Outline_Done( FT_Library   library,
20e524
                    FT_Outline*  outline )