summaryrefslogtreecommitdiffhomepage
path: root/patches/the_silver_searcher-2.2.0.local.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-08-11 13:19:50 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-08-11 13:00:39 +0100
commit2780a023dd05759a1be68237dc51da77d2152904 (patch)
tree9d6e4cf6df22de64325022002c22abb513b3d9e3 /patches/the_silver_searcher-2.2.0.local.patch
parent746b7d8a506de047a8bd30394cae5362f5d935e4 (diff)
downloadmidipix_build-2780a023dd05759a1be68237dc51da77d2152904.tar.bz2
midipix_build-2780a023dd05759a1be68237dc51da77d2152904.tar.xz
groups/211.native_packages_cmdline.group: the_silver_searcher: bump to v2.2.0
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches/the_silver_searcher-2.2.0.local.patch')
-rw-r--r--patches/the_silver_searcher-2.2.0.local.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/the_silver_searcher-2.2.0.local.patch b/patches/the_silver_searcher-2.2.0.local.patch
new file mode 100644
index 00000000..d1f5b389
--- /dev/null
+++ b/patches/the_silver_searcher-2.2.0.local.patch
@@ -0,0 +1,12 @@
+diff -ru the_silver_searcher-2.1.0.orig/src/main.c the_silver_searcher-2.1.0/src/main.c
+--- the_silver_searcher-2.1.0.orig/src/main.c 2017-06-27 05:33:25.000000000 +0200
++++ the_silver_searcher-2.1.0/src/main.c 2017-11-18 21:00:58.908603541 +0100
+@@ -154,7 +154,7 @@
+ }
+ #if defined(HAVE_PTHREAD_SETAFFINITY_NP) && (defined(USE_CPU_SET) || defined(HAVE_SYS_CPUSET_H))
+ if (opts.use_thread_affinity) {
+-#ifdef __linux__
++#if defined(__linux__) || defined(__midipix__)
+ cpu_set_t cpu_set;
+ #elif __FreeBSD__
+ cpuset_t cpu_set;