diff options
author | marcus <marcus@FreeBSD.org> | 2005-08-04 06:53:12 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-08-04 06:53:12 +0800 |
commit | 3f10f7c24d263ef33c8c4041ce16c2f229d13a0e (patch) | |
tree | b53e0cc24aa752fdbeaf69aa17a5a7d7d4fbf681 /print | |
parent | 2796e0719ca16d37e07e1b1a9b40b8f8cd48dbc4 (diff) | |
download | freebsd-ports-gnome-3f10f7c24d263ef33c8c4041ce16c2f229d13a0e.tar.gz freebsd-ports-gnome-3f10f7c24d263ef33c8c4041ce16c2f229d13a0e.tar.zst freebsd-ports-gnome-3f10f7c24d263ef33c8c4041ce16c2f229d13a0e.zip |
Add a patch from FreeType CVS that fixes X11 crashes with certain
(usually multi-byte character set) fonts.
Reported by: many
Obtained from: FreeType CVS
Approved by: portmgr (implicit)
Diffstat (limited to 'print')
-rw-r--r-- | print/freetype2/Makefile | 1 | ||||
-rw-r--r-- | print/freetype2/files/patch-src_sfnt_sfdriver.c | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile index 4e7fbf3fcb99..d80ad32a9944 100644 --- a/print/freetype2/Makefile +++ b/print/freetype2/Makefile @@ -7,6 +7,7 @@ PORTNAME= freetype2 PORTVERSION= 2.1.10 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \ diff --git a/print/freetype2/files/patch-src_sfnt_sfdriver.c b/print/freetype2/files/patch-src_sfnt_sfdriver.c new file mode 100644 index 000000000000..0d877ff7b8e3 --- /dev/null +++ b/print/freetype2/files/patch-src_sfnt_sfdriver.c @@ -0,0 +1,18 @@ +--- src/sfnt/sfdriver.c.orig Wed Aug 3 18:46:34 2005 ++++ src/sfnt/sfdriver.c Wed Aug 3 18:47:24 2005 +@@ -367,8 +367,13 @@ + /* see `ttsbit.h' and `sfnt.h' */ + tt_face_set_sbit_strike, + tt_face_load_sbit_strikes, +- 0 /* tt_find_sbit_image */, +- 0 /* tt_load_sbit_metrics */, ++#ifdef FT_OPTIMIZE_MEMORY ++ 0, ++ 0, ++#else ++ tt_find_sbit_image, ++ tt_load_sbit_metrics, ++#endif + tt_face_load_sbit_image, + tt_face_free_sbit_strikes, + |