pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
jj: apply some patches
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Sun Feb 9 19:02:09 2025 +0100
Changeset: 07f534d64ecdf95821e6ad455ca2289c7931baa2
Modified Files:
jj/distinfo
Added Files:
jj/patches/patch-.._vendor_mac_address-1.1.7_examples_lookup.rs
jj/patches/patch-.._vendor_mac_address-1.1.7_src_iter_mod.rs
jj/patches/patch-.._vendor_mac_address-1.1.7_src_lib.rs
Log Message:
jj: apply some patches
Still cannot patch Cargo.toml
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=07f534d64ecdf95821e6ad455ca2289c7931baa2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
jj/distinfo | 3 +++
...-.._vendor_mac_address-1.1.7_examples_lookup.rs | 17 ++++++++++++++++
...tch-.._vendor_mac_address-1.1.7_src_iter_mod.rs | 15 ++++++++++++++
.../patch-.._vendor_mac_address-1.1.7_src_lib.rs | 23 ++++++++++++++++++++++
4 files changed, 58 insertions(+)
diffs:
diff --git a/jj/distinfo b/jj/distinfo
index 58ce704735..1ffd3d0f6a 100644
--- a/jj/distinfo
+++ b/jj/distinfo
@@ -1407,3 +1407,6 @@ Size (zerovec-0.10.4.crate) = 126398 bytes
BLAKE2s (zerovec-derive-0.10.3.crate) = 39169b3f694a23e151216d25802a49f00889bfe0e5c6e744cc26792325703db2
SHA512 (zerovec-derive-0.10.3.crate) = caefbffeb35265db9f74933bf07109d57f0da48156cafd4f330af78a5c7eb9ab0831a80789ad4fb119875ebc6cfd7e3de68c9984b77dca5151f9be41f1ae6e09
Size (zerovec-derive-0.10.3.crate) = 19438 bytes
+SHA1 (patch-.._vendor_mac_address-1.1.7_examples_lookup.rs) = ec2b43ba896b7c8f2345e25995b573bdd8a30242
+SHA1 (patch-.._vendor_mac_address-1.1.7_src_iter_mod.rs) = e38104ebf2d668c29bf4db8ffb09913e0acbe74f
+SHA1 (patch-.._vendor_mac_address-1.1.7_src_lib.rs) = 0e460b3f603878e9c13fdf1506dc528acd9da249
diff --git a/jj/patches/patch-.._vendor_mac_address-1.1.7_examples_lookup.rs b/jj/patches/patch-.._vendor_mac_address-1.1.7_examples_lookup.rs
new file mode 100644
index 0000000000..587a7a4d37
--- /dev/null
+++ b/jj/patches/patch-.._vendor_mac_address-1.1.7_examples_lookup.rs
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Add NetBSD support
+https://github.com/repnop/mac_address/pull/50
+
+--- ../vendor/mac_address-1.1.7/examples/lookup.rs.orig 2025-02-09 17:44:57.536747637 +0000
++++ ../vendor/mac_address-1.1.7/examples/lookup.rs
+@@ -7,6 +7,9 @@ fn main() {
+ #[cfg(target_os = "freebsd")]
+ let name = "em0";
+
++ #[cfg(target_os = "netbsd")]
++ let name = "igc0";
++
+ #[cfg(target_os = "openbsd")]
+ let name = "fxp0";
+
diff --git a/jj/patches/patch-.._vendor_mac_address-1.1.7_src_iter_mod.rs b/jj/patches/patch-.._vendor_mac_address-1.1.7_src_iter_mod.rs
new file mode 100644
index 0000000000..c682da4b53
--- /dev/null
+++ b/jj/patches/patch-.._vendor_mac_address-1.1.7_src_iter_mod.rs
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Add NetBSD support.
+https://github.com/repnop/mac_address/pull/50
+
+--- ../vendor/mac_address-1.1.7/src/iter/mod.rs.orig 2025-02-09 17:39:36.940150956 +0000
++++ ../vendor/mac_address-1.1.7/src/iter/mod.rs
+@@ -6,6 +6,7 @@ mod internal;
+ target_os = "linux",
+ target_os = "macos",
+ target_os = "freebsd",
++ target_os = "netbsd",
+ target_os = "openbsd",
+ target_os = "android",
+ target_os = "illumos",
diff --git a/jj/patches/patch-.._vendor_mac_address-1.1.7_src_lib.rs b/jj/patches/patch-.._vendor_mac_address-1.1.7_src_lib.rs
new file mode 100644
index 0000000000..40167e5953
--- /dev/null
+++ b/jj/patches/patch-.._vendor_mac_address-1.1.7_src_lib.rs
@@ -0,0 +1,23 @@
+$NetBSD$
+
+Add NetBSD support.
+https://github.com/repnop/mac_address/pull/50
+
+--- ../vendor/mac_address-1.1.7/src/lib.rs.orig 2025-02-09 17:43:22.413932864 +0000
++++ ../vendor/mac_address-1.1.7/src/lib.rs
+@@ -14,6 +14,7 @@ mod os;
+ target_os = "linux",
+ target_os = "macos",
+ target_os = "freebsd",
++ target_os = "netbsd",
+ target_os = "openbsd",
+ target_os = "android",
+ target_os = "illumos",
+@@ -37,6 +38,7 @@ pub enum MacAddressError {
+ target_os = "linux",
+ target_os = "macos",
+ target_os = "freebsd",
++ target_os = "netbsd",
+ target_os = "openbsd",
+ target_os = "android",
+ target_os = "illumos",
Home |
Main Index |
Thread Index |
Old Index