diff options
Diffstat (limited to 'archivers/xz/patches/patch-aa')
-rw-r--r-- | archivers/xz/patches/patch-aa | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/archivers/xz/patches/patch-aa b/archivers/xz/patches/patch-aa deleted file mode 100644 index bb6c5971409..00000000000 --- a/archivers/xz/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2010/03/20 19:46:14 wiz Exp $ - ---- src/common/cpucores.h.orig 2009-08-27 15:37:12.000000000 +0000 -+++ src/common/cpucores.h -@@ -40,7 +40,7 @@ cpucores(void) - int name[2] = { CTL_HW, HW_NCPU }; - int cpus; - size_t cpus_size = sizeof(cpus); -- if (!sysctl(name, &cpus, &cpus_size, NULL, NULL) -+ if (sysctl(name, 2, &cpus, &cpus_size, NULL, 0) != -1 - && cpus_size == sizeof(cpus) && cpus > 0) - ret = (uint32_t)(cpus); - #endif |