From nobody Fri Nov 26 12:16:20 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DA15218B65AD; Fri, 26 Nov 2021 12:16:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0tyD3s3gz3DsN; Fri, 26 Nov 2021 12:16:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 60AFE441; Fri, 26 Nov 2021 12:16:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AQCGKQ8029080; Fri, 26 Nov 2021 12:16:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AQCGKDP029079; Fri, 26 Nov 2021 12:16:20 GMT (envelope-from git) Date: Fri, 26 Nov 2021 12:16:20 GMT Message-Id: <202111261216.1AQCGKDP029079@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: a1ab8186588b - main - graphics/geeqie: use actual number of cores List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a1ab8186588b303ddcdf72a7a0b53b79807839a6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637928980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aJS7VCvvPo2fbkPWmqGXJaq6nNqmVO8uguJRk+C8Uug=; b=CE9zpK/lf+i59ANtNHfGgQzz0mG1jKNcklB+c8y6rkwfHPGpV5uefCM5VQGqXxaUfLFfL9 SATrDtfyfynaAuq427mipWc/3/pKqbNwnT8RIMOKdnr7svEOLJm48LsOf6w6SHp/BWkaFY SMLWpifmGjNHbXFQPcZdomcVDmFfaB3arUM/HBod2M6GcC+6OvmAx6JD40uIFuUbzx7AQy lizbPCCdn7BK+IAYNcUqSAqdx9tq6IyldxYRp5aDKSqjsQMGKZ8QvzuwSHskhEht2GiRWf CQBwUBa4Mg6wD6iow0qZt/GbcJlQ9nsXYgXYqlFdzdpGSE9I3+xBknSmYOA6xw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637928980; a=rsa-sha256; cv=none; b=gQn3A8PaEenv2sTjZ6KUk2d0HloPEpyLbM52kefF7yXvTj93MHmu0ID9NhJA1gxkUo9osP lR0v4LaepcxuulmI8Mr+WBT7rujwdxCjMsIrcAUmnNaiPWhQdZxNCJTsA6dGMYNg+Jpcwa PERJnlMa/WTKv6EnPNYDjEUaORhQkE+EKSlsNwP4+A678Gz0wTwjLYINcgZtnN+lf72qCa zMJL8eNbRIoLGSy20FQ0Vo47GkCuURW3viaTj4SJdQlfdUOckAUPMX5EuRrbhPO0yCx/40 1TNJJJlDV79oK79Y1uaLXsydW/FDdVfS/u4S1gxU2sNndQZc5bS4K3HA05Dv2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1ab8186588b303ddcdf72a7a0b53b79807839a6 commit a1ab8186588b303ddcdf72a7a0b53b79807839a6 Author: Dmitry Marakasov AuthorDate: 2021-11-25 12:02:28 +0000 Commit: Dmitry Marakasov CommitDate: 2021-11-26 12:15:04 +0000 graphics/geeqie: use actual number of cores Suggested by: cmt@burggraben.net --- graphics/geeqie/Makefile | 2 +- graphics/geeqie/files/patch-src_misc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/geeqie/Makefile b/graphics/geeqie/Makefile index 9ccc20bf80a1..9aa5607e9431 100644 --- a/graphics/geeqie/Makefile +++ b/graphics/geeqie/Makefile @@ -2,7 +2,7 @@ PORTNAME= geeqie PORTVERSION= 1.6 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= graphics MASTER_SITES= http://www.geeqie.org/ diff --git a/graphics/geeqie/files/patch-src_misc.c b/graphics/geeqie/files/patch-src_misc.c index 568a23247350..8b2d9b58ee5d 100644 --- a/graphics/geeqie/files/patch-src_misc.c +++ b/graphics/geeqie/files/patch-src_misc.c @@ -4,7 +4,7 @@ gint get_cpu_cores(void) { -+ return 1; ++ return MAX(1, sysconf(_SC_NPROCESSORS_ONLN)); FILE *cpuinfo = fopen("/proc/cpuinfo", "rb"); char *arg = 0; size_t size = 0;