pkgsrc-WIP-changes archive

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

py-cramjam: Disable custom allocator requiring TLS on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Thu May 5 05:10:15 2022 -0700
Changeset:	6824f7171b6e4972683051956e0dd7b0dca92cbb

Modified Files:
	py-cramjam/distinfo
Added Files:
	py-cramjam/patches/patch-Cargo.toml

Log Message:
py-cramjam: Disable custom allocator requiring TLS on NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6824f7171b6e4972683051956e0dd7b0dca92cbb

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

diffstat:
 py-cramjam/distinfo                 |  1 +
 py-cramjam/patches/patch-Cargo.toml | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diffs:
diff --git a/py-cramjam/distinfo b/py-cramjam/distinfo
index 42f5aaf359..d3829f0e0f 100644
--- a/py-cramjam/distinfo
+++ b/py-cramjam/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
 BLAKE2s (cramjam-2.5.0.tar.gz) = a649034d949ee90afff97c8ca46fd87ead29722869b5a83a1e07c5b54e181427
 SHA512 (cramjam-2.5.0.tar.gz) = 2d630d9284888a48df303467d266ac11791a46dc74fd7f967be3100b352d3ade38d4fae416d0aa7b9beae8bc2deff9c242e720f9138aa94bf0c8c4aca262cb6a
 Size (cramjam-2.5.0.tar.gz) = 1051074 bytes
+SHA1 (patch-Cargo.toml) = c936775179a0f7e258e4426a9eb8a1153cc192ab
diff --git a/py-cramjam/patches/patch-Cargo.toml b/py-cramjam/patches/patch-Cargo.toml
new file mode 100644
index 0000000000..cd4877468c
--- /dev/null
+++ b/py-cramjam/patches/patch-Cargo.toml
@@ -0,0 +1,24 @@
+$NetBSD$
+Remove mimallocator - On NetBSD we get the following error:
+Use of initialized Thread Local Storage with model initial-exec and dlopen is not supported
+--- Cargo.toml.orig	1970-01-01 00:00:00.000000000 +0000
++++ Cargo.toml
+@@ -13,8 +13,7 @@ readme = "README.md"
+ crate-type = ["cdylib"]
+ 
+ [features]
+-default = ["mimallocator", "extension-module"]
+-mimallocator = ["mimalloc"]
++default = ["extension-module"]
+ extension-module = ["pyo3/extension-module"]
+ 
+ [profile.release]
+@@ -31,8 +30,3 @@ lz4 = "^1"
+ flate2 = "^1"
+ zstd = "0.9.0+zstd.1.5.0"
+ numpy = "0.15"
+-
+-[dependencies.mimalloc]
+-version = "0.1.24"
+-default-features = false
+-optional = true


Home | Main Index | Thread Index | Old Index