13 Star 0 Fork 18

src-openEuler/freetype

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
As.I.Lay.Dying.ttf
backport-0001-CVE-2022-27405.patch
backport-0002-CVE-2022-27405.patch
backport-CVE-2022-27404.patch
backport-CVE-2022-27406.patch
backport-CVE-2023-2004.patch
backport-freetype-2.10.0-internal-outline.patch
backport-freetype-2.10.1-debughook.patch
backport-freetype-2.2.1-enable-valid.patch
backport-freetype-2.3.0-enable-spr.patch
backport-freetype-2.5.2-more-demos.patch
backport-freetype-2.6.5-libtool.patch
backport-freetype-2.8-multilib.patch
freetype-2.11.0.tar.xz
freetype-doc-2.11.0.tar.xz
freetype.spec
freetype.yaml
ft2demos-2.11.0.tar.xz
ftconfig.h
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-freetype-2.10.0-internal-outline.patch 2.72 KB
一键复制 编辑 原始数据 按行查看 历史
shirely 提交于 4年前 . add community patches
From 2e6bf149908d61c2b2121dad36f2caef260a2053 Mon Sep 17 00:00:00 2001
From: Marek Kasik <mkasik@redhat.com>
Date: May 28 2019 12:56:55 +0000
Subject: Keep FT_Outline_New_Internal() and FT_Outline_Done_Internal()
for ABI compatibility but make them just throw
Unimplemented_Feature error.
Remove them once soname has been bumped!
Resolves: #1689117
Conflict:NA
Reference:https://src.fedoraproject.org/rpms/freetype/c/2e6bf149908d61c2b2121dad36f2caef260a2053
--- freetype-2.10.0/include/freetype/ftoutln.h
+++ freetype-2.10.0/include/freetype/ftoutln.h
@@ -165,6 +165,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 );
/**************************************************************************
*
@@ -192,6 +201,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 );
/**************************************************************************
*
--- freetype-2.10.0/src/base/ftoutln.c
+++ freetype-2.10.0/src/base/ftoutln.c
@@ -291,6 +291,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,
@@ -423,6 +436,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 )
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/freetype.git
git@gitee.com:src-openeuler/freetype.git
src-openeuler
freetype
freetype
openEuler-22.03-LTS

搜索帮助