From fc220f59b5215f38ed49a572602705b656f884293384b4ca13005cda0b7745dd Mon Sep 17 00:00:00 2001 From: Philipp Thomas Date: Tue, 6 Aug 2013 12:09:02 +0000 Subject: [PATCH] - Remove the unneeded patch OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=206 --- coreutils-8.9-singlethreaded-sort.patch | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 coreutils-8.9-singlethreaded-sort.patch diff --git a/coreutils-8.9-singlethreaded-sort.patch b/coreutils-8.9-singlethreaded-sort.patch deleted file mode 100644 index 376457b..0000000 --- a/coreutils-8.9-singlethreaded-sort.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: src/sort.c -=================================================================== ---- src/sort.c.orig -+++ src/sort.c -@@ -5291,7 +5291,11 @@ main (int argc, char **argv) - { - if (!nthreads) - { -- unsigned long int np = num_processors (NPROC_CURRENT_OVERRIDABLE); -+ unsigned long int np; -+ if (getenv("OMP_NUM_THREADS")) -+ np = num_processors (NPROC_CURRENT_OVERRIDABLE); -+ else -+ np = 1; - nthreads = MIN (np, DEFAULT_MAX_THREADS); - } -