Index: Makefile =================================================================== --- Makefile (revision 506925) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= freetype2 PORTVERSION= 2.10.1 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://savannah.nongnu.org/download/freetype/ \ SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ \ Index: files/patch-2.10.1.diff =================================================================== --- files/patch-2.10.1.diff (revision 506925) +++ files/patch-2.10.1.diff (working copy) @@ -6,7 +6,39 @@ # http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=12e4307dc7b48c9a4a4fc3ac6c32220874ab18ec # [sfnt, winfonts] Avoid memory leaks in case of error (#56587). # http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b110acba9e6f7e40314f0da5d249cb3cb3beeab8 +# * src/cid/cidload.c (cid_hex_to_binary): Fix typo (#56653). +# http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=d5522ac0603a15bd87f795d36dc218681befe022 +# * src/base/ftbbox.c (cubic_peak): Sanitize left shift (#56586). +# http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=12af46b649fdb946bacf150428e5cdfc3470a7ca +--- src/base/ftbbox.c.orig 2019-05-12 19:07:18 UTC ++++ src/base/ftbbox.c +@@ -294,10 +294,10 @@ + if ( shift > 2 ) + shift = 2; + +- q1 <<= shift; +- q2 <<= shift; +- q3 <<= shift; +- q4 <<= shift; ++ q1 *= 1 << shift; ++ q2 *= 1 << shift; ++ q3 *= 1 << shift; ++ q4 *= 1 << shift; + } + else + { +--- src/cid/cidload.c.orig 2019-03-07 08:40:25 UTC ++++ src/cid/cidload.c +@@ -715,7 +715,7 @@ + if ( ft_isdigit( *p ) ) + val = (FT_Byte)( *p - '0' ); + else if ( *p >= 'a' && *p <= 'f' ) +- val = (FT_Byte)( *p - 'a' ); ++ val = (FT_Byte)( *p - 'a' + 10 ); + else if ( *p >= 'A' && *p <= 'F' ) + val = (FT_Byte)( *p - 'A' + 10 ); + else if ( *p == ' ' || --- src/psaux/psintrp.c.orig 2019-03-05 10:28:19 UTC +++ src/psaux/psintrp.c @@ -1433,6 +1433,13 @@