Build sunbird from thunderbird 3.1.19.

Remove patch-mozilla_gfx_qcms_iccread_c, was commited upstream.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	Makefile distinfo
CVS: Removed Files:
CVS: 	patches/patch-mozilla_gfx_qcms_iccread_c
CVS: ----------------------------------------------------------------------
This commit is contained in:
landry 2012-02-20 20:28:25 +00:00
parent 3f0acf244e
commit 33ae11a517
3 changed files with 9 additions and 37 deletions

View File

@ -1,16 +1,16 @@
# $OpenBSD: Makefile,v 1.38 2011/10/03 21:13:02 landry Exp $
# $OpenBSD: Makefile,v 1.39 2012/02/20 20:28:25 landry Exp $
COMMENT = Mozilla calendar
MOZILLA_PROJECT = sunbird
MOZILLA_VERSION = 1.0beta2
MOZILLA_VERSION = 1.0b2
MOZILLA_DIST = thunderbird
MOZILLA_DIST_VERSION = 3.1.11
MOZILLA_DIST_VERSION = 3.1.19
MOZILLA_BRANCH = 1.9.2
MOZILLA_CODENAME = calendar
EPOCH = 0
REVISION = 13
REVISION = 14
HOMEPAGE = http://www.mozilla.org/projects/calendar/sunbird/

View File

@ -1,5 +1,5 @@
MD5 (mozilla/thunderbird-3.1.11.source.tar.bz2) = JYM7P5CSXZYoVjDSLIXNXA==
RMD160 (mozilla/thunderbird-3.1.11.source.tar.bz2) = 039LTAFd9+0krcJSq5nRAZbheZ4=
SHA1 (mozilla/thunderbird-3.1.11.source.tar.bz2) = nWf6tz/umrgV1p1BnonUEMsVWLg=
SHA256 (mozilla/thunderbird-3.1.11.source.tar.bz2) = PngoRmGxvh01dTVQt6GD1YPX7mjIusaDKD05MfkP3Ro=
SIZE (mozilla/thunderbird-3.1.11.source.tar.bz2) = 68716700
MD5 (mozilla/thunderbird-3.1.19.source.tar.bz2) = wJeIxODAzZXrqJ/bXXr+jQ==
RMD160 (mozilla/thunderbird-3.1.19.source.tar.bz2) = /VmLeEmYj0ihg7FnIoUA0HnEGo0=
SHA1 (mozilla/thunderbird-3.1.19.source.tar.bz2) = 5fvePrtof7oHdpWvvmq4Y2u6wp8=
SHA256 (mozilla/thunderbird-3.1.19.source.tar.bz2) = SdiXfJtFnUwepuK1LoVYmk7OWxFGAkPvgDMaIoB9ORQ=
SIZE (mozilla/thunderbird-3.1.19.source.tar.bz2) = 68691184

View File

@ -1,28 +0,0 @@
$OpenBSD: patch-mozilla_gfx_qcms_iccread_c,v 1.3 2011/07/22 05:25:27 landry Exp $
Fix crash on sparc64
https://bugzilla.mozilla.org/show_bug.cgi?id=629057
http://hg.mozilla.org/mozilla-central/rev/e8207773d54d
--- mozilla/gfx/qcms/iccread.c.orig Tue Dec 7 17:35:40 2010
+++ mozilla/gfx/qcms/iccread.c Thu Jan 27 23:37:33 2011
@@ -87,7 +87,9 @@ static uint32_t read_u32(struct mem_source *mem, size_
invalid_source(mem, "Invalid offset");
return 0;
} else {
- return be32_to_cpu(*(__be32*)(mem->buf + offset));
+ __be32 k;
+ memcpy(&k, mem->buf + offset, sizeof(__be32));
+ return be32_to_cpu(k);
}
}
@@ -97,7 +99,9 @@ static uint16_t read_u16(struct mem_source *mem, size_
invalid_source(mem, "Invalid offset");
return 0;
} else {
- return be16_to_cpu(*(__be16*)(mem->buf + offset));
+ __be16 k;
+ memcpy(&k, mem->buf + offset, sizeof(__be16));
+ return be16_to_cpu(k);
}
}