diff options
Diffstat (limited to 'www/webkit-gtk')
-rw-r--r-- | www/webkit-gtk/distinfo | 4 | ||||
-rw-r--r-- | www/webkit-gtk/patches/patch-ag | 16 | ||||
-rw-r--r-- | www/webkit-gtk/patches/patch-ah | 13 |
3 files changed, 32 insertions, 1 deletions
diff --git a/www/webkit-gtk/distinfo b/www/webkit-gtk/distinfo index cfc8caf9488..53cde2f2597 100644 --- a/www/webkit-gtk/distinfo +++ b/www/webkit-gtk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.29 2011/02/27 23:42:09 wiz Exp $ +$NetBSD: distinfo,v 1.30 2011/03/12 12:15:58 martin Exp $ SHA1 (webkit-1.2.7.tar.gz) = e9afc573d2459794c3749ba404f2187f9dcc9ed3 RMD160 (webkit-1.2.7.tar.gz) = f36b3ae05693e0eeb4d1936ceee52b6fe1517e57 @@ -6,3 +6,5 @@ Size (webkit-1.2.7.tar.gz) = 6615990 bytes SHA1 (patch-ab) = 92a6d6e0def4c3fd77a692a199359255319f7f21 SHA1 (patch-ad) = ef727a30bf78b747402a23fea7bddcc37d70e77d SHA1 (patch-af) = 7971cf7d873703e17c002fa660a949f6f6d1c684 +SHA1 (patch-ag) = cfc37a4476b3e0ee2d74bdf416ac5e6028536df1 +SHA1 (patch-ah) = 4711ba7d5faae0629470fe4a681739971dec9d13 diff --git a/www/webkit-gtk/patches/patch-ag b/www/webkit-gtk/patches/patch-ag new file mode 100644 index 00000000000..e9cb4db5347 --- /dev/null +++ b/www/webkit-gtk/patches/patch-ag @@ -0,0 +1,16 @@ +$NetBSD: patch-ag,v 1.1 2011/03/12 12:15:58 martin Exp $ + +It would be easier to list the CPUs where unaligned access is both allowed +and actually faster! + +--- WebCore/platform/text/AtomicString.cpp.orig 2010-09-10 15:20:33.000000000 +0200 ++++ WebCore/platform/text/AtomicString.cpp 2011-03-12 12:54:41.000000000 +0100 +@@ -105,7 +105,7 @@ static inline bool equal(StringImpl* str + + // FIXME: perhaps we should have a more abstract macro that indicates when + // going 4 bytes at a time is unsafe +-#if CPU(ARM) || CPU(SH4) ++#if CPU(ARM) || CPU(SH4) || CPU(PPC) || CPU(PPC64) || CPU(SPARC) || CPU(SPARC64) || CPU(MIPS) + const UChar* stringCharacters = string->characters(); + for (unsigned i = 0; i != length; ++i) { + if (*stringCharacters++ != *characters++) diff --git a/www/webkit-gtk/patches/patch-ah b/www/webkit-gtk/patches/patch-ah new file mode 100644 index 00000000000..0f471ae45a9 --- /dev/null +++ b/www/webkit-gtk/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2011/03/12 12:15:58 martin Exp $ + +--- WebCore/platform/text/StringHash.h.orig 2010-09-10 15:20:33.000000000 +0200 ++++ WebCore/platform/text/StringHash.h 2011-03-12 13:04:40.000000000 +0100 +@@ -54,7 +54,7 @@ namespace WebCore { + + // FIXME: perhaps we should have a more abstract macro that indicates when + // going 4 bytes at a time is unsafe +-#if CPU(ARM) || CPU(SH4) ++#if CPU(ARM) || CPU(SH4) || CPU(PPC) || CPU(PPC64) || CPU(SPARC) || CPU(SPARC64) || CPU(MIPS) + const UChar* aChars = a->characters(); + const UChar* bChars = b->characters(); + for (unsigned i = 0; i != aLength; ++i) { |