openbsd-ports/games/sudognu/patches/patch-getopt_c
2009-04-05 18:59:39 +00:00

13 lines
367 B
Plaintext

$OpenBSD: patch-getopt_c,v 1.4 2009/04/05 18:59:39 steven Exp $
--- getopt.c.orig Sat Mar 21 15:44:26 2009
+++ getopt.c Sun Apr 5 20:52:13 2009
@@ -83,7 +83,7 @@ int getoptions(int argc, char *argv[]) {
}
break;
case 't':
- nthread = sysconf(_SC_NPROCESSORS_ONLN);
+ nthread = 0;
break;
case 'f':
if (strlen(optarg) > MAX_STRLEN) {