summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-18 20:32:22 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-18 20:32:22 +0000
commitd70de2ba01b1b791d7303944cba4e2b6853ba29f (patch)
tree0aeec4f28a0a4a8087ffc95edcf4b03f921bfd30 /patches
parentcf111bc2a140338cf29ebec128d72d452006ea85 (diff)
downloadmidipix_build-d70de2ba01b1b791d7303944cba4e2b6853ba29f.tar.bz2
midipix_build-d70de2ba01b1b791d7303944cba4e2b6853ba29f.tar.xz
vars/build.vars: updates {gawk,nano,the_silver_searcher,util_linux,wget} to v{4.2.0,2.9.0,2.1.0,2.31,1.19.2} (via Redfoxmoon.)
patches/the_silver_searcher-2.1.0.local.patch: prefer cpu_set_t on Linux and Midipix (via Redfoxmoon.)
Diffstat (limited to 'patches')
-rw-r--r--patches/the_silver_searcher-2.1.0.local.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/the_silver_searcher-2.1.0.local.patch b/patches/the_silver_searcher-2.1.0.local.patch
new file mode 100644
index 00000000..d1f5b389
--- /dev/null
+++ b/patches/the_silver_searcher-2.1.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;