* src/base/ftoutln.c (FT_Outline_Get_Orientation): Init `cbox'.
Taken from patch #9667, written by Steve Langasek <vorlon@debian.org>. This fixes a build failure (most probably a bug in gcc) on ppc64el when building with -O3.
This commit is contained in:
parent
b532d7ce70
commit
9f15370e56
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2018-07-12 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* src/base/ftoutln.c (FT_Outline_Get_Orientation): Init `cbox'.
|
||||||
|
|
||||||
|
Taken from patch #9667, written by Steve Langasek
|
||||||
|
<vorlon@debian.org>.
|
||||||
|
|
||||||
|
This fixes a build failure (most probably a bug in gcc) on ppc64el
|
||||||
|
when building with -O3.
|
||||||
|
|
||||||
2018-07-05 Werner Lemberg <wl@gnu.org>
|
2018-07-05 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
Fix typo (#54238).
|
Fix typo (#54238).
|
||||||
|
|
|
@ -1044,7 +1044,7 @@
|
||||||
FT_EXPORT_DEF( FT_Orientation )
|
FT_EXPORT_DEF( FT_Orientation )
|
||||||
FT_Outline_Get_Orientation( FT_Outline* outline )
|
FT_Outline_Get_Orientation( FT_Outline* outline )
|
||||||
{
|
{
|
||||||
FT_BBox cbox;
|
FT_BBox cbox = { 0, 0, 0, 0 };
|
||||||
FT_Int xshift, yshift;
|
FT_Int xshift, yshift;
|
||||||
FT_Vector* points;
|
FT_Vector* points;
|
||||||
FT_Vector v_prev, v_cur;
|
FT_Vector v_prev, v_cur;
|
||||||
|
|
Loading…
Reference in New Issue