openbsd-ports/games/sudognu/patches/patch-getopt_c
2008-05-23 20:36:29 +00:00

13 lines
379 B
Plaintext

$OpenBSD: patch-getopt_c,v 1.2 2008/05/23 20:36:29 steven Exp $
--- getopt.c.orig Sun Apr 6 21:17:00 2008
+++ getopt.c Fri May 23 20:44:03 2008
@@ -84,7 +84,7 @@ int getoptions(int argc, char *argv[]) {
symmgrid = 1;
break;
case 't':
- nthread = sysconf(_SC_NPROCESSORS_ONLN);
+ nthread = 0;
break;
case 'f':
if (strlen(optarg) > MAX_STRLEN) {