diff options
author | drochner <drochner@pkgsrc.org> | 2011-07-07 17:02:12 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-07-07 17:02:12 +0000 |
commit | 17f24b7af13dc6aefb5ac9e8c4a5007231186ca7 (patch) | |
tree | dfd416fd1d74964aad2b0fa6df746bc2aba3361d /graphics/freetype2 | |
parent | c042af2443c57209c0c7037c853fd901a83056de (diff) | |
download | pkgsrc-17f24b7af13dc6aefb5ac9e8c4a5007231186ca7.tar.gz |
avoid sign extension on right shift
(there are more occurences, but they are followed by checks for result<0)
bump PKGREV
Diffstat (limited to 'graphics/freetype2')
-rw-r--r-- | graphics/freetype2/Makefile | 3 | ||||
-rw-r--r-- | graphics/freetype2/distinfo | 3 | ||||
-rw-r--r-- | graphics/freetype2/patches/patch-ac | 26 |
3 files changed, 30 insertions, 2 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile index 9badaff6d21..3d7951207f8 100644 --- a/graphics/freetype2/Makefile +++ b/graphics/freetype2/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.79 2011/03/11 12:28:03 zafer Exp $ +# $NetBSD: Makefile,v 1.80 2011/07/07 17:02:12 drochner Exp $ DISTNAME= freetype-2.4.4 PKGNAME= ${DISTNAME:S/-/2-/} +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freetype/} EXTRACT_SUFX= .tar.bz2 diff --git a/graphics/freetype2/distinfo b/graphics/freetype2/distinfo index 8dcd914966f..a50115b6500 100644 --- a/graphics/freetype2/distinfo +++ b/graphics/freetype2/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.40 2010/12/26 19:16:16 adam Exp $ +$NetBSD: distinfo,v 1.41 2011/07/07 17:02:12 drochner Exp $ SHA1 (freetype-2.4.4.tar.bz2) = 1d136cbc51c67b212c91ba04dc5db797f35e64e6 RMD160 (freetype-2.4.4.tar.bz2) = 6b9b37ccdc8d1bfe0883f0e25df6de49ab30379e Size (freetype-2.4.4.tar.bz2) = 1442053 bytes SHA1 (patch-aa) = 85bf9979802e04345a9f5ac3ada2cac9520dabcb SHA1 (patch-ab) = c5b63fd9ffa9efbe846d67e657a30a5d2543acf8 +SHA1 (patch-ac) = 5d42610de8c177407a717157d84322a5b06045ee diff --git a/graphics/freetype2/patches/patch-ac b/graphics/freetype2/patches/patch-ac new file mode 100644 index 00000000000..49b8ed6907b --- /dev/null +++ b/graphics/freetype2/patches/patch-ac @@ -0,0 +1,26 @@ +$NetBSD: patch-ac,v 1.8 2011/07/07 17:02:12 drochner Exp $ + +avoid sign extension + +--- src/psaux/t1decode.c.orig 2010-11-23 18:28:53.000000000 +0000 ++++ src/psaux/t1decode.c +@@ -662,7 +662,7 @@ + if ( large_int ) + FT_TRACE4(( " %ld", value )); + else +- FT_TRACE4(( " %ld", (FT_Int32)( value >> 16 ) )); ++ FT_TRACE4(( " %ld", (FT_Int32)( (FT_UInt32)value >> 16 ) )); + #endif + + *top++ = value; +@@ -684,8 +684,8 @@ + + top -= 2; + +- subr_no = (FT_Int)( top[1] >> 16 ); +- arg_cnt = (FT_Int)( top[0] >> 16 ); ++ subr_no = (FT_Int)( (FT_ULong)top[1] >> 16 ); ++ arg_cnt = (FT_Int)( (FT_ULong)top[0] >> 16 ); + + /***********************************************************/ + /* */ |