pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/librsvg librsvg: fix build on NetBSD/i386



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c7af6758448
branches:  trunk
changeset: 375776:8c7af6758448
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Mar 26 15:24:29 2022 +0000

description:
librsvg: fix build on NetBSD/i386

diffstat:

 graphics/librsvg/distinfo                                                        |   3 +-
 graphics/librsvg/patches/patch-.._vendor_cfg-expr-0.10.2_src_targets_builtins.rs |  26 ++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r e34b034d986c -r 8c7af6758448 graphics/librsvg/distinfo
--- a/graphics/librsvg/distinfo Sat Mar 26 13:07:07 2022 +0000
+++ b/graphics/librsvg/distinfo Sat Mar 26 15:24:29 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.56 2022/03/19 00:37:44 gutteridge Exp $
+$NetBSD: distinfo,v 1.57 2022/03/26 15:24:29 tnn Exp $
 
 BLAKE2s (adler-1.0.2.crate) = f263779d752af886455fc0f42c997893fb1a09edcf1bd2980605251c2e3602aa
 SHA512 (adler-1.0.2.crate) = 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
@@ -792,4 +792,5 @@
 BLAKE2s (yeslogic-fontconfig-sys-2.11.2.crate) = a431400dd6e7e2cae85dde14dc21435b5ec634db0c76c1fedc1ce910f183e710
 SHA512 (yeslogic-fontconfig-sys-2.11.2.crate) = cc43091ac04bbd4bd34ee413d93f46f9b7c4188425b38dbb6cf332926ca471f0567cdc3d33c78f441b3dcaf831124a1b1b59375b7c2a8b55198ed9b6dc444b2e
 Size (yeslogic-fontconfig-sys-2.11.2.crate) = 5763 bytes
+SHA1 (patch-.._vendor_cfg-expr-0.10.2_src_targets_builtins.rs) = bd2966b2668880739f684c6ffc6a41c28d9f2f62
 SHA1 (patch-Makefile.in) = 1aa0042de20a30daafae84510e2f76877ff38a99
diff -r e34b034d986c -r 8c7af6758448 graphics/librsvg/patches/patch-.._vendor_cfg-expr-0.10.2_src_targets_builtins.rs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/librsvg/patches/patch-.._vendor_cfg-expr-0.10.2_src_targets_builtins.rs  Sat Mar 26 15:24:29 2022 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-.._vendor_cfg-expr-0.10.2_src_targets_builtins.rs,v 1.1 2022/03/26 15:24:29 tnn Exp $
+
+Add i586-unknown-netbsd.
+Needed because of lang/rust/patches/patch-compiler_rustc__target_src_spec_mod.rs
+Note that the implementation does a binary search of the target list.
+It must be sorted lexically!
+
+--- ../vendor/cfg-expr-0.10.2/src/targets/builtins.rs.orig     1973-11-29 21:33:09.000000000 +0000
++++ ../vendor/cfg-expr-0.10.2/src/targets/builtins.rs
+@@ -654,6 +654,16 @@ pub const ALL_BUILTINS: &[TargetInfo] = 
+         endian: Endian::little,
+     },
+     TargetInfo {
++        triple: Triple::new_const("i586-unknown-netbsd"),
++        os: Some(Os::netbsd),
++        arch: Arch::x86,
++        env: None,
++        vendor: Some(Vendor::unknown),
++        families: Families::unix,
++        pointer_width: 32,
++        endian: Endian::little,
++    },
++    TargetInfo {
+         triple: Triple::new_const("i686-apple-darwin"),
+         os: Some(Os::macos),
+         arch: Arch::x86,



Home | Main Index | Thread Index | Old Index