pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/yaydl/patches net/yaydl: remove patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f6131e2d068
branches:  trunk
changeset: 446008:0f6131e2d068
user:      pin <pin%pkgsrc.org@localhost>
date:      Wed Feb 03 13:55:12 2021 +0000

description:
net/yaydl: remove patch

patch merged upstream
https://github.com/mmastrac/rust-ctor/commit/1d741d265eef0d9b8454caf38ede7388cf2c6b9e

diffstat:

 net/yaydl/patches/patch-vendor_ctor-0.1.17_src_lib.rs |  65 -------------------
 1 files changed, 0 insertions(+), 65 deletions(-)

diffs (69 lines):

diff -r d5299e339346 -r 0f6131e2d068 net/yaydl/patches/patch-vendor_ctor-0.1.17_src_lib.rs
--- a/net/yaydl/patches/patch-vendor_ctor-0.1.17_src_lib.rs     Wed Feb 03 13:51:31 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-$NetBSD: patch-vendor_ctor-0.1.17_src_lib.rs,v 1.1 2021/01/09 21:33:04 pin Exp $
-
-Add NetBSD support
-
---- ../vendor/ctor-0.1.17/src/lib.rs.orig      2021-01-09 21:09:02.640198200 +0100
-+++ ../vendor/ctor-0.1.17/src/lib.rs
-@@ -99,6 +99,7 @@
- /// #[used]
- /// #[cfg_attr(any(target_os = "linux", target_os = "android"), link_section = ".init_array")]
- /// #[cfg_attr(target_os = "freebsd", link_section = ".init_array")]
-+/// #[cfg_attr(target_os = "netbsd", link_section = ".init_array")]
- /// #[cfg_attr(any(target_os = "macos", target_os = "ios"), link_section = "__DATA,__mod_init_func")]
- /// #[cfg_attr(target_os = "windows", link_section = ".CRT$XCU")]
- /// static FOO: extern fn() = {
-@@ -140,7 +141,7 @@
-                 .expect("Unable to create identifier");
- 
-         let output = quote!(
--            #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "macos", target_os = "ios", windows)))]
-+            #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "netbsd", target_os = "macos", target_os = "ios", windows)))]
-             compile_error!("#[ctor] is not supported on the current target");
- 
-             #(#attrs)*
-@@ -150,6 +151,7 @@
-             #[allow(non_upper_case_globals)]
-             #[cfg_attr(any(target_os = "linux", target_os = "android"), link_section = ".init_array")]
-             #[cfg_attr(target_os = "freebsd", link_section = ".init_array")]
-+            #[cfg_attr(target_os = "netbsd", link_section = ".init_array")]
-             #[cfg_attr(any(target_os = "macos", target_os = "ios"), link_section = "__DATA,__mod_init_func")]
-             #[cfg_attr(windows, link_section = ".CRT$XCU")]
-             static #ctor_ident
-@@ -198,7 +200,7 @@
-                 .expect("Unable to create identifier");
- 
-         let output = quote!(
--            #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "macos", target_os = "ios", windows)))]
-+            #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "netbsd", target_os = "macos", target_os = "ios", windows)))]
-             compile_error!("#[ctor] is not supported on the current target");
- 
-             // This is mutable, but only by this macro code!
-@@ -228,6 +230,7 @@
-             #[allow(non_upper_case_globals)]
-             #[cfg_attr(any(target_os = "linux", target_os = "android"), link_section = ".init_array")]
-             #[cfg_attr(target_os = "freebsd", link_section = ".init_array")]
-+            #[cfg_attr(target_os = "netbsd", link_section = ".init_array")]
-             #[cfg_attr(any(target_os = "macos", target_os = "ios"), link_section = "__DATA,__mod_init_func")]
-             #[cfg_attr(windows, link_section = ".CRT$XCU")]
-             static #ctor_ident
-@@ -296,7 +299,7 @@
-             .expect("Unable to create identifier");
- 
-     let output = quote!(
--        #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "macos", target_os = "ios", windows)))]
-+        #[cfg(not(any(target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "netbsd", target_os = "macos", target_os = "ios", windows)))]
-         compile_error!("#[dtor] is not supported on the current target");
- 
-         #(#attrs)*
-@@ -319,6 +322,7 @@
-             #[allow(non_upper_case_globals)]
-             #[cfg_attr(any(target_os = "linux", target_os = "android"), link_section = ".init_array")]
-             #[cfg_attr(target_os = "freebsd", link_section = ".init_array")]
-+            #[cfg_attr(target_os = "netbsd", link_section = ".init_array")]
-             #[cfg_attr(windows, link_section = ".CRT$XCU")]
-             static __dtor_export
-             :



Home | Main Index | Thread Index | Old Index