From d70de2ba01b1b791d7303944cba4e2b6853ba29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sat, 18 Nov 2017 20:32:22 +0000 Subject: 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.) --- patches/the_silver_searcher-2.1.0.local.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/the_silver_searcher-2.1.0.local.patch (limited to 'patches') 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; -- cgit v1.2.3