Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:VortexOBS
mingw-2022-freetype
freetype-2.10.0-internal-outline.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File freetype-2.10.0-internal-outline.patch of Package mingw-2022-freetype
diff -rupN --no-dereference freetype-2.12.1/include/freetype/ftoutln.h freetype-2.12.1-new/include/freetype/ftoutln.h --- freetype-2.12.1/include/freetype/ftoutln.h 2022-01-27 21:51:06.000000000 +0100 +++ freetype-2.12.1-new/include/freetype/ftoutln.h 2023-04-13 14:33:49.374929728 +0200 @@ -166,6 +166,15 @@ FT_BEGIN_HEADER FT_Int numContours, FT_Outline *anoutline ); + /* + * Kept downstream for ABI compatibility only. + * It just throws error now. Remove once soname has been bumped. + */ + FT_EXPORT( FT_Error ) + FT_Outline_New_Internal( FT_Memory memory, + FT_UInt numPoints, + FT_Int numContours, + FT_Outline *anoutline ); /************************************************************************** * @@ -193,6 +202,13 @@ FT_BEGIN_HEADER FT_Outline_Done( FT_Library library, FT_Outline* outline ); + /* + * Kept downstream for ABI compatibility only. + * It just throws error now. Remove once soname has been bumped. + */ + FT_EXPORT( FT_Error ) + FT_Outline_Done_Internal( FT_Memory memory, + FT_Outline* outline ); /************************************************************************** * diff -rupN --no-dereference freetype-2.12.1/src/base/ftoutln.c freetype-2.12.1-new/src/base/ftoutln.c --- freetype-2.12.1/src/base/ftoutln.c 2022-01-27 08:43:19.000000000 +0100 +++ freetype-2.12.1-new/src/base/ftoutln.c 2023-04-13 14:33:49.375929728 +0200 @@ -289,6 +289,19 @@ /* documentation is in ftoutln.h */ + /* + * Kept downstream for ABI compatibility only. + * It just throws error now. Remove once soname has been bumped. + */ + FT_EXPORT_DEF( FT_Error ) + FT_Outline_New_Internal( FT_Memory memory, + FT_UInt numPoints, + FT_Int numContours, + FT_Outline *anoutline ) + { + return FT_THROW( Unimplemented_Feature ); + } + FT_EXPORT_DEF( FT_Error ) FT_Outline_New( FT_Library library, FT_UInt numPoints, @@ -421,6 +434,17 @@ /* documentation is in ftoutln.h */ + /* + * Kept downstream for ABI compatibility only. + * It just throws error now. Remove once soname has been bumped. + */ + FT_EXPORT_DEF( FT_Error ) + FT_Outline_Done_Internal( FT_Memory memory, + FT_Outline* outline ) + { + return FT_THROW( Unimplemented_Feature ); + } + FT_EXPORT_DEF( FT_Error ) FT_Outline_Done( FT_Library library, FT_Outline* outline )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor