View | Details | Raw Unified | Return to bug 239165 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	freetype2
4
PORTNAME=	freetype2
5
PORTVERSION=	2.10.1
5
PORTVERSION=	2.10.1
6
PORTREVISION=	1
6
CATEGORIES=	print
7
CATEGORIES=	print
7
MASTER_SITES=	http://savannah.nongnu.org/download/freetype/ \
8
MASTER_SITES=	http://savannah.nongnu.org/download/freetype/ \
8
		SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ \
9
		SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ \
(-)files/patch-2.10.1.diff (+32 lines)
Lines 6-12 Link Here
6
# http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=12e4307dc7b48c9a4a4fc3ac6c32220874ab18ec
6
# http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=12e4307dc7b48c9a4a4fc3ac6c32220874ab18ec
7
# [sfnt, winfonts] Avoid memory leaks in case of error (#56587).
7
# [sfnt, winfonts] Avoid memory leaks in case of error (#56587).
8
# http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b110acba9e6f7e40314f0da5d249cb3cb3beeab8
8
# http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=b110acba9e6f7e40314f0da5d249cb3cb3beeab8
9
# * src/cid/cidload.c (cid_hex_to_binary): Fix typo (#56653).
10
# http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=d5522ac0603a15bd87f795d36dc218681befe022
11
# * src/base/ftbbox.c (cubic_peak): Sanitize left shift (#56586).
12
# http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=12af46b649fdb946bacf150428e5cdfc3470a7ca
9
13
14
--- src/base/ftbbox.c.orig	2019-05-12 19:07:18 UTC
15
+++ src/base/ftbbox.c
16
@@ -294,10 +294,10 @@
17
       if ( shift > 2 )
18
         shift = 2;
19
 
20
-      q1 <<=  shift;
21
-      q2 <<=  shift;
22
-      q3 <<=  shift;
23
-      q4 <<=  shift;
24
+      q1 *= 1 << shift;
25
+      q2 *= 1 << shift;
26
+      q3 *= 1 << shift;
27
+      q4 *= 1 << shift;
28
     }
29
     else
30
     {
31
--- src/cid/cidload.c.orig	2019-03-07 08:40:25 UTC
32
+++ src/cid/cidload.c
33
@@ -715,7 +715,7 @@
34
       if ( ft_isdigit( *p ) )
35
         val = (FT_Byte)( *p - '0' );
36
       else if ( *p >= 'a' && *p <= 'f' )
37
-        val = (FT_Byte)( *p - 'a' );
38
+        val = (FT_Byte)( *p - 'a' + 10 );
39
       else if ( *p >= 'A' && *p <= 'F' )
40
         val = (FT_Byte)( *p - 'A' + 10 );
41
       else if ( *p == ' '  ||
10
--- src/psaux/psintrp.c.orig	2019-03-05 10:28:19 UTC
42
--- src/psaux/psintrp.c.orig	2019-03-05 10:28:19 UTC
11
+++ src/psaux/psintrp.c
43
+++ src/psaux/psintrp.c
12
@@ -1433,6 +1433,13 @@
44
@@ -1433,6 +1433,13 @@

Return to bug 239165