diff options
author | martin <martin> | 2016-12-05 11:54:45 +0000 |
---|---|---|
committer | martin <martin> | 2016-12-05 11:54:45 +0000 |
commit | e2e1d428eb8e06233e1e6c96bd8dc45f38395fdd (patch) | |
tree | d67f6eaec8c8c486a78a85df092481509895fb3e /www | |
parent | 14fef5d6e33dd612991e3f9c03510d3364aa2547 (diff) | |
download | pkgsrc-e2e1d428eb8e06233e1e6c96bd8dc45f38395fdd.tar.gz |
Make it work on sparc64 again
Diffstat (limited to 'www')
-rw-r--r-- | www/firefox/distinfo | 3 | ||||
-rw-r--r-- | www/firefox/patches/patch-image_decoders_nsIconDecoder.cpp | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 12539313573..4d3c300f2de 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.262 2016/12/03 09:58:25 ryoon Exp $ +$NetBSD: distinfo,v 1.263 2016/12/05 11:54:45 martin Exp $ SHA1 (firefox-50.0.2.source.tar.xz) = 083b9a803b25064b2d7d43e289797a9f2a2e9e5d RMD160 (firefox-50.0.2.source.tar.xz) = 67395703c955b3285237b66317df13229aeec479 @@ -43,6 +43,7 @@ SHA1 (patch-gfx_thebes_gfxFontUtils.cpp) = 639c610a3a1441d5c7e2e9fa0f42b8df1c8e4 SHA1 (patch-gfx_thebes_moz.build) = 7c0610d8e6595de2333162a46c9f4f94834e4dc5 SHA1 (patch-gfx_ycbcr_moz.build) = 705c36b972ef1533330e4a180002cef1c22755bf SHA1 (patch-gfx_ycbcr_yuv__row__arm.S) = 79587891c2a1716a27d4dca0e5b5880069a430eb +SHA1 (patch-image_decoders_nsIconDecoder.cpp) = 804e3bdade8b0c56979e811a0e44df5eaf158381 SHA1 (patch-image_decoders_nsJPEGDecoder.cpp) = ed86c3fbb3aef753eec6f6a97940594aac5f3f2f SHA1 (patch-intl_hyphenation_glue_hnjalloc.h) = abe01bea5872a57f3d00bbbf89f958621f08a655 SHA1 (patch-intl_lwbrk_nsJISx4051LineBreaker.cpp) = 7169c1f7eccea9ea3b14d46aa972d0d6b8159eec diff --git a/www/firefox/patches/patch-image_decoders_nsIconDecoder.cpp b/www/firefox/patches/patch-image_decoders_nsIconDecoder.cpp new file mode 100644 index 00000000000..a7550c393ff --- /dev/null +++ b/www/firefox/patches/patch-image_decoders_nsIconDecoder.cpp @@ -0,0 +1,16 @@ +$NetBSD: patch-image_decoders_nsIconDecoder.cpp,v 1.1 2016/12/05 11:54:45 martin Exp $ + +Bugzilla #1322112 + +--- image/decoders/nsIconDecoder.cpp.orig 2016-10-31 21:15:32.000000000 +0100 ++++ image/decoders/nsIconDecoder.cpp 2016-12-05 11:58:01.896240403 +0100 +@@ -97,7 +97,8 @@ nsIconDecoder::ReadRowOfPixels(const cha + return AsVariant(WriteState::NEED_MORE_DATA); // Done with this row. + } + +- uint32_t pixel = *reinterpret_cast<const uint32_t*>(aData); ++ uint32_t pixel; ++ memcpy(&pixel, aData, 4); + aData += 4; + aLength -= 4; + |