pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/the_silver_searcher the_silver_searcher: Hand...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0feba1f6e6d5
branches: trunk
changeset: 379832:0feba1f6e6d5
user: charlotte <charlotte%pkgsrc.org@localhost>
date: Tue May 24 06:08:35 2022 +0000
description:
the_silver_searcher: Handle cpuset_t quirk with DragonFly
diffstat:
textproc/the_silver_searcher/distinfo | 3 ++-
textproc/the_silver_searcher/patches/patch-src_main.c | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 01c180d33b5e -r 0feba1f6e6d5 textproc/the_silver_searcher/distinfo
--- a/textproc/the_silver_searcher/distinfo Tue May 24 05:54:01 2022 +0000
+++ b/textproc/the_silver_searcher/distinfo Tue May 24 06:08:35 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 11:23:36 nia Exp $
+$NetBSD: distinfo,v 1.21 2022/05/24 06:08:35 charlotte Exp $
BLAKE2s (the_silver_searcher-2.2.0.tar.gz) = cefd4d8ca1dd8c0223208e97c2681555586ac3c449e808a6a0fd09f9e70f9b02
SHA512 (the_silver_searcher-2.2.0.tar.gz) = 89d4e4f7f34c0d57aa880e7c3466f0373b961744a89ad30541e89e2d614322ab46c8044ec458406a117f74b0fea14cd3063fa4e0624a96526aa23eaccd6f1141
Size (the_silver_searcher-2.2.0.tar.gz) = 190585 bytes
+SHA1 (patch-src_main.c) = 04d37772936a9cfefdeb73d583e0de1cb2442346
SHA1 (patch-src_scandir.c) = 41c0af602ef478db39bd48315b0fb1a644a9db91
diff -r 01c180d33b5e -r 0feba1f6e6d5 textproc/the_silver_searcher/patches/patch-src_main.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/the_silver_searcher/patches/patch-src_main.c Tue May 24 06:08:35 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_main.c,v 1.1 2022/05/24 06:08:35 charlotte Exp $
+
+DragonFly also has a particular 'cpuset' type.
+--- src/main.c.orig 2022-05-23 22:57:49.749747000 -0700
++++ src/main.c 2022-05-23 22:58:26.439723000 -0700
+@@ -156,7 +156,7 @@
+ if (opts.use_thread_affinity) {
+ #ifdef __linux__
+ cpu_set_t cpu_set;
+-#elif __FreeBSD__
++#elif __FreeBSD__ || __DragonFly__
+ cpuset_t cpu_set;
+ #endif
+ CPU_ZERO(&cpu_set);
Home |
Main Index |
Thread Index |
Old Index