pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   martin
Date:           Mon Dec  5 11:54:45 UTC 2016

Modified Files:
        pkgsrc/www/firefox: distinfo
Added Files:
        pkgsrc/www/firefox/patches: patch-image_decoders_nsIconDecoder.cpp

Log Message:
Make it work on sparc64 again


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/firefox/patches/patch-image_decoders_nsIconDecoder.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.262 pkgsrc/www/firefox/distinfo:1.263
--- pkgsrc/www/firefox/distinfo:1.262   Sat Dec  3 09:58:25 2016
+++ pkgsrc/www/firefox/distinfo Mon Dec  5 11:54:45 2016
@@ -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)
 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

Added files:

Index: pkgsrc/www/firefox/patches/patch-image_decoders_nsIconDecoder.cpp
diff -u /dev/null pkgsrc/www/firefox/patches/patch-image_decoders_nsIconDecoder.cpp:1.1
--- /dev/null   Mon Dec  5 11:54:45 2016
+++ pkgsrc/www/firefox/patches/patch-image_decoders_nsIconDecoder.cpp   Mon Dec  5 11:54:45 2016
@@ -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;
+ 



Home | Main Index | Thread Index | Old Index