pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/the_silver_searcher



Module Name:    pkgsrc
Committed By:   charlotte
Date:           Tue May 24 06:08:35 UTC 2022

Modified Files:
        pkgsrc/textproc/the_silver_searcher: distinfo
Added Files:
        pkgsrc/textproc/the_silver_searcher/patches: patch-src_main.c

Log Message:
the_silver_searcher: Handle cpuset_t quirk with DragonFly


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/textproc/the_silver_searcher/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/the_silver_searcher/patches/patch-src_main.c

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

Modified files:

Index: pkgsrc/textproc/the_silver_searcher/distinfo
diff -u pkgsrc/textproc/the_silver_searcher/distinfo:1.20 pkgsrc/textproc/the_silver_searcher/distinfo:1.21
--- pkgsrc/textproc/the_silver_searcher/distinfo:1.20   Tue Oct 26 11:23:36 2021
+++ pkgsrc/textproc/the_silver_searcher/distinfo        Tue May 24 06:08:35 2022
@@ -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

Added files:

Index: pkgsrc/textproc/the_silver_searcher/patches/patch-src_main.c
diff -u /dev/null pkgsrc/textproc/the_silver_searcher/patches/patch-src_main.c:1.1
--- /dev/null   Tue May 24 06:08:35 2022
+++ pkgsrc/textproc/the_silver_searcher/patches/patch-src_main.c        Tue May 24 06:08:35 2022
@@ -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