summaryrefslogtreecommitdiff
path: root/dev-haskell/hashtables
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-03 00:07:26 +0100
commita3bb28551df94028000fb72308a9e9baa01458b0 (patch)
tree33b14c7bf0dffbd5bb04dbd5b395514ebdda4896 /dev-haskell/hashtables
parent6657c680376cedf378fcf328e5fa03ed3b41d580 (diff)
gentoo auto-resync : 03:06:2024 - 00:07:25
Diffstat (limited to 'dev-haskell/hashtables')
-rw-r--r--dev-haskell/hashtables/Manifest3
-rw-r--r--dev-haskell/hashtables/files/hashtables-1.3.1-clang-argument-must-be-a-constant-integer.patch12
-rw-r--r--dev-haskell/hashtables/hashtables-1.3.1.ebuild6
3 files changed, 19 insertions, 2 deletions
diff --git a/dev-haskell/hashtables/Manifest b/dev-haskell/hashtables/Manifest
index a3e12c6ade4f..bf9f5c7a9ec0 100644
--- a/dev-haskell/hashtables/Manifest
+++ b/dev-haskell/hashtables/Manifest
@@ -1,3 +1,4 @@
+AUX hashtables-1.3.1-clang-argument-must-be-a-constant-integer.patch 544 BLAKE2B 89a667563eda6c3d865ae76ae3cc4284fc990652a5f98924537d00cb48f1b878420e917b78f46201fd857bdcdca1a6bc2f0cde121f9bde7fe458e9bda0325b5f SHA512 7bf1871e909e0b947f7e7bc9877e0b44e3cae70de9b59db60eddb3a324d5cba011de36d021fdb75136a0c1cdf0e5688a61ed3eba76ecb60e351a05cdbf62fc07
DIST hashtables-1.3.1.tar.gz 58697 BLAKE2B d543987f667553b0739b414600190127840cb656d1509cb2541274bed00c298d176ff8ae059f79cc1dbf9201f1e76697103c9620a6208e9a9bf744cafea379d5 SHA512 b6430e092cfa9cde3dbea34cd9e2a10869c41e40e88f79e28aa6aabfdcd359dd74fb87020f8b9e004b817a6e9a8825335fcc91c2b88f7eb93b25758c71c77833
-EBUILD hashtables-1.3.1.ebuild 1464 BLAKE2B 58a695449e158c0519925e3109f8e75753320c0c5ae72531fbbd1547d3e93b5b019912ee0a5336ca8151d9b54d3786ec833ad09df1f98094abf819c5da4cee2b SHA512 81072c6de4c24449cc5bb5d683a6f0782330869a09ce8959cea03d68b873736caaaf7067b153f61cbae15de11e5dc2a611cfe4de3b7305ccb801a25cabe88297
+EBUILD hashtables-1.3.1.ebuild 1552 BLAKE2B 9a2810ffd4c47efe4576e70b5e05419d5da262014b1dc311d5f6bcab0e57fc61f315c498d2f49d00899b0210d2dcd69da8fabd875fc5130941cfbd34376de510 SHA512 82c74b7486c1df95c3df2dee3eb33ca230b15aadc1a92dc179b5b572ed23e85792dde94471d39c717e227af192d2b8ebae5ecf367364e552229ef63ec187eb6e
MISC metadata.xml 588 BLAKE2B eb31d4540f9b46e9b8650f0e9b5013870cc0f6f37928fe5e51b11c4a6d22493c631f7eaf8d1cd91627e86e70159675948675a0b0af59ec414107f6d34911ba1d SHA512 908db425a90142de96cf9d722b3935f6f73d82d798e8efb7bc24d6479eccbee9a66ff898c6f2663cdfa6c6f91baae392b1cb2ec35b2358dcb0d1fe2c4e832b15
diff --git a/dev-haskell/hashtables/files/hashtables-1.3.1-clang-argument-must-be-a-constant-integer.patch b/dev-haskell/hashtables/files/hashtables-1.3.1-clang-argument-must-be-a-constant-integer.patch
new file mode 100644
index 000000000000..a8dd7bcd9a87
--- /dev/null
+++ b/dev-haskell/hashtables/files/hashtables-1.3.1-clang-argument-must-be-a-constant-integer.patch
@@ -0,0 +1,12 @@
+--- hashtables-1.3.1-orig/cbits/sse-42.c 2001-09-09 11:46:40.000000000 +1000
++++ hashtables-1.3.1/cbits/sse-42.c 2024-06-01 12:50:27.039285052 +1000
+@@ -49,8 +49,7 @@
+ #define _MODE (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_EACH)
+
+ static inline __m128i cmp_mask(__m128i a, __m128i b) {
+- const int mode = SIDD_UWORD_OPS | SIDD_CMP_EQUAL_EACH | SIDD_BIT_MASK;
+- return _mm_cmpistrm(a, b, mode);
++ return _mm_cmpistrm(a, b, SIDD_UWORD_OPS | SIDD_CMP_EQUAL_EACH | SIDD_BIT_MASK);
+ }
+
+ static inline int32_t line_result(uint32_t m, int start) {
diff --git a/dev-haskell/hashtables/hashtables-1.3.1.ebuild b/dev-haskell/hashtables/hashtables-1.3.1.ebuild
index 13d8df830c14..34972a4fa001 100644
--- a/dev-haskell/hashtables/hashtables-1.3.1.ebuild
+++ b/dev-haskell/hashtables/hashtables-1.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -36,6 +36,10 @@ DEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3.1-clang-argument-must-be-a-constant-integer.patch
+)
+
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag bounds-checking bounds-checking) \