pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/tor-browser



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Dec  1 13:11:03 UTC 2021

Modified Files:
        pkgsrc/security/tor-browser: Makefile distinfo
Added Files:
        pkgsrc/security/tor-browser/patches:
            patch-third__party_rust_packed__simd_src_lib.rs

Log Message:
tor-browser: fix build with rust-1.56.1

Based on firefox codebase.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 pkgsrc/security/tor-browser/Makefile
cvs rdiff -u -r1.48 -r1.49 pkgsrc/security/tor-browser/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/tor-browser/patches/patch-third__party_rust_packed__simd_src_lib.rs

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

Modified files:

Index: pkgsrc/security/tor-browser/Makefile
diff -u pkgsrc/security/tor-browser/Makefile:1.99 pkgsrc/security/tor-browser/Makefile:1.100
--- pkgsrc/security/tor-browser/Makefile:1.99   Mon Nov  1 21:41:59 2021
+++ pkgsrc/security/tor-browser/Makefile        Wed Dec  1 13:11:03 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2021/11/01 21:41:59 wiz Exp $
+# $NetBSD: Makefile,v 1.100 2021/12/01 13:11:03 wiz Exp $
 #
 # How to update this package:
 #
@@ -106,6 +106,12 @@ CKSUM_CRATES+=     third_party/rust/getrando
 CKSUMS+=       0e52f6bde42d7bb05c297ce1c25b9879d61b28caba98f6226a152bff538db6c2
 CKSUMS+=       394425b4ba03c21c494e64d993678f7014575b1e3d590b9ee452b5c2d83ec4ac
 
+CKSUM_CRATES+= third_party/rust/packed_simd
+
+# patch-third__party_rust_packed__simd_src_lib.rs
+CKSUMS+=       2924d414fe7d32bb5f0bb92596a5af654f934d92f81dc1fd9b1a6c580388e5bd
+CKSUMS+=       99e70e436baa1d2080a46b38a146522fa6a8f2c60e1fa0a4d3aa125dc425734b
+
 SUBST_CLASSES+=                cksum
 SUBST_STAGE.cksum=     pre-configure
 .for crate in ${CKSUM_CRATES}

Index: pkgsrc/security/tor-browser/distinfo
diff -u pkgsrc/security/tor-browser/distinfo:1.48 pkgsrc/security/tor-browser/distinfo:1.49
--- pkgsrc/security/tor-browser/distinfo:1.48   Mon Nov  1 21:41:59 2021
+++ pkgsrc/security/tor-browser/distinfo        Wed Dec  1 13:11:03 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.48 2021/11/01 21:41:59 wiz Exp $
+$NetBSD: distinfo,v 1.49 2021/12/01 13:11:03 wiz Exp $
 
 BLAKE2s (src-firefox-tor-browser-78.15.0esr-10.5-1-build3.tar.xz) = f35856823bffda23781c137230690dc4be8afea35f6cd0a10c130634c2bf88ef
 SHA512 (src-firefox-tor-browser-78.15.0esr-10.5-1-build3.tar.xz) = 16d60827c46244047d0e4f1a78414cecda7c9b1352d379659503bba53483d1d2cfcd0c2905128a2aff8707d61f8623ae54b749422715c87b8b409e53a13a2465
@@ -47,6 +47,7 @@ SHA1 (patch-third__party_rust_authentica
 SHA1 (patch-third__party_rust_authenticator_src_netbsd_uhid.rs) = e0856c37eb1d73bca431da6048132233eace44bb
 SHA1 (patch-third__party_rust_getrandom_src_lib.rs) = 2ad80d10ebfeef0dc27435fc2c16be7b5e5d444a
 SHA1 (patch-third__party_rust_libc_src_unix_bsd_netbsdlike_netbsd_mod.rs) = 3755f32fea84900cc0f00af3d9f53ed5fcfb0b4b
+SHA1 (patch-third__party_rust_packed__simd_src_lib.rs) = e382f07c37862e25a2e43dcb1bdc733a115a13c2
 SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 5a516d377d491e0504aaf2d7aed04bb9ebeccc56
 SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 22a39e54e042ab2270a3cb54e4e307c8900cad12
 SHA1 (patch-toolkit_moz.configure) = 00bf26bfa813db8e8c9a1d99629ae948874caf30

Added files:

Index: pkgsrc/security/tor-browser/patches/patch-third__party_rust_packed__simd_src_lib.rs
diff -u /dev/null pkgsrc/security/tor-browser/patches/patch-third__party_rust_packed__simd_src_lib.rs:1.1
--- /dev/null   Wed Dec  1 13:11:03 2021
+++ pkgsrc/security/tor-browser/patches/patch-third__party_rust_packed__simd_src_lib.rs Wed Dec  1 13:11:03 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-third__party_rust_packed__simd_src_lib.rs,v 1.1 2021/12/01 13:11:03 wiz Exp $
+
+Fix build with rust-1.56.1, based on firefox-95.
+
+--- third_party/rust/packed_simd/src/lib.rs.orig       2021-10-22 11:38:34.000000000 +0000
++++ third_party/rust/packed_simd/src/lib.rs
+@@ -199,7 +199,7 @@
+ //!   Numeric casts are not very "precise": sometimes lossy, sometimes value
+ //!   preserving, etc.
+ 
+-#![cfg_attr(use_const_generics, feature(const_generics))]
++#![cfg_attr(use_const_generics, feature(adt_const_params))]
+ #![cfg_attr(use_const_generics, allow(incomplete_features, clippy::from_over_into))]
+ #![feature(
+     repr_simd,



Home | Main Index | Thread Index | Old Index