aboutsummaryrefslogtreecommitdiff
path: root/mail/lightning
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-12-15 22:14:33 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-12-15 22:14:33 +0000
commitea5fec4f4f6a558ca87048c93abfe94e61f560c9 (patch)
treebeef8c07eeb7c54c73d77d0b97140f7c6e95f737 /mail/lightning
parenta8b5554cece6b4c61815ad58104b633f39e2dc26 (diff)
downloadports-ea5fec4f4f6a558ca87048c93abfe94e61f560c9.tar.gz
ports-ea5fec4f4f6a558ca87048c93abfe94e61f560c9.zip
Notes
Diffstat (limited to 'mail/lightning')
-rw-r--r--mail/lightning/Makefile2
-rw-r--r--mail/lightning/files/patch-gfx_src_ps_nsFontMetricsPS.cpp26
2 files changed, 27 insertions, 1 deletions
diff --git a/mail/lightning/Makefile b/mail/lightning/Makefile
index dfb276c43f44..d52e10c93ab3 100644
--- a/mail/lightning/Makefile
+++ b/mail/lightning/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lightning
PORTVERSION= 0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail deskutils
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= calendar/${PORTNAME}/releases/${DISTVERSION}/source
diff --git a/mail/lightning/files/patch-gfx_src_ps_nsFontMetricsPS.cpp b/mail/lightning/files/patch-gfx_src_ps_nsFontMetricsPS.cpp
new file mode 100644
index 000000000000..07014d87fa82
--- /dev/null
+++ b/mail/lightning/files/patch-gfx_src_ps_nsFontMetricsPS.cpp
@@ -0,0 +1,26 @@
+--- gfx/src/ps/nsFontMetricsPS.cpp.orig Fri Dec 15 01:42:25 2006
++++ gfx/src/ps/nsFontMetricsPS.cpp Fri Dec 15 01:41:20 2006
+@@ -1037,8 +1037,10 @@ nsFontPSXft::Init(nsXftEntry* aEntry,
+
+ nsFontPSXft::~nsFontPSXft()
+ {
+- if (mEntry->mFace)
++ if (mEntry->mFace) {
+ FT_Done_Face(mEntry->mFace);
++ mEntry->mFace = nsnull;
++ }
+
+ if (FT_Done_FreeType(mFreeTypeLibrary))
+ return;
+@@ -2327,8 +2329,10 @@ nsXftType1Generator::Init(nsXftEntry* aE
+
+ nsXftType1Generator::~nsXftType1Generator()
+ {
+- if (mEntry->mFace)
++ if (mEntry->mFace) {
+ FT_Done_Face(mEntry->mFace);
++ mEntry->mFace = nsnull;
++ }
+
+ if (FT_Done_FreeType(mFreeTypeLibrary))
+ return;