From nobody Fri Jan 12 03:49:13 2024 X-Original-To: dev-commits-ports-main@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 4TB6wT3NTbz57KJQ; Fri, 12 Jan 2024 03:49:13 +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 4TB6wT2x0lz3wkZ; Fri, 12 Jan 2024 03:49:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705031353; 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=ekF8D/hbOgccZ09vVig4ThX6JceES9rdKXdT7VDSob0=; b=X8jEfT+mI1zLNvQwuB7pKvm0SLGZ/sraH0KyKZBTp6Pj40LHy0I5Z6FmhVV5rnhKa3dAy/ ElMIv1ji6N6KnWzXl0UsAi4tjrLyyRgai6rhZ2k1hQ6qtn368b83uVtEV/b3yB2Bn/UAZs fQqxOqIqgFoDD9mqf1WcIAZ03cllT514L9ZaLYL49/0IszmgjXkmB7VYHt4PTjL/PmFF4p vnyb02tiJqXXZdya56LuO/Lih974oWiSSpV2wzp2mfc9FnV6WsMCYg19CxW0gRSlSXN+In nneTUIS252A4iXb1gECsIBy2SW6caIn0CIvVvTUx1B6Jx98IQu111me9iSgCNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705031353; 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=ekF8D/hbOgccZ09vVig4ThX6JceES9rdKXdT7VDSob0=; b=PLCfIOfugSzTJYKLr83dwg/LL0eLmYTLxJv6zFA2d9Dht4whOsfzPT+jIN5B4LWyvdNkFi Tig0lNPL+2pmF8uM3RlccWCzkFdns0fCO3iclqvE6eQJN/SU4q+4emekjwiCjLQwkUtXKK USytTZhjPZt4wLTSADEcad/s3ecDXfXGeJfu4hqUYbMZxEyfQfk9oHYze7/vbXrRtvaPQE zFBO1gW0dZU7THz63icv050kPK5HfRC5HlA8ACXnH4zQdNYhdFNSY0AwxsZERE6guhch7g Zr1fry2RF6H0f+6IFyAziSyPP49qOOtJ+syaNhB5uYB9TmApVY4nbvSwDpp3wA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705031353; a=rsa-sha256; cv=none; b=YodFWYNwaebiRW+alhXgSLAmIDeW45sQJufccjI/AkOWZvB6ihwNgb0aOR131hQvsbf8jI WWFC57ieFqCMybyQlBKk8lr3453ATDnH31+O/J2bQDcP8xCvZzUJ1H8rn7ICDhxjpcA2s/ +dZArBC1dq3jZ6+D9Ia73yaeOE6kcfizt122aJNgaHCLoXBZse5h40MJerOZkMWGRq5PFC yOa5TabIfjd4usXdW4lQ9GbDEDKrNEwDZK1hJDaNvX6XTdFzjIaaC6m3G8ppN/sSJSHd0j RDYFK/FR+vmBvLgHR+IR6cXAoItylm1i48oaLH5tscLd1b3pj48gMdvlnWtlIQ== 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 4TB6wT20rzzmnM; Fri, 12 Jan 2024 03:49:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40C3nDtN062073; Fri, 12 Jan 2024 03:49:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40C3nDtd062070; Fri, 12 Jan 2024 03:49:13 GMT (envelope-from git) Date: Fri, 12 Jan 2024 03:49:13 GMT Message-Id: <202401120349.40C3nDtd062070@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: ed1519605dd1 - main - math/gismo: Fix build on non-amd64 architectures List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed1519605dd18b1ffce2a0564a190796ae97035e Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed1519605dd18b1ffce2a0564a190796ae97035e commit ed1519605dd18b1ffce2a0564a190796ae97035e Author: Yuri Victorovich AuthorDate: 2024-01-12 03:47:59 +0000 Commit: Yuri Victorovich CommitDate: 2024-01-12 03:47:59 +0000 math/gismo: Fix build on non-amd64 architectures .. by defining HOST_NAME_MAX. HOST_NAME_MAX is only used on non-amd64 architectures in gismo. Reported by: fallout --- math/gismo/files/patch-src_gsCore_gsSysInfo.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/math/gismo/files/patch-src_gsCore_gsSysInfo.cpp b/math/gismo/files/patch-src_gsCore_gsSysInfo.cpp new file mode 100644 index 000000000000..1571078b3141 --- /dev/null +++ b/math/gismo/files/patch-src_gsCore_gsSysInfo.cpp @@ -0,0 +1,15 @@ +- workaround for the compilation failure on non-amd64 architectures +- due to the use of missing value HOST_NAME_MAX only on these architectures + +--- src/gsCore/gsSysInfo.cpp.orig 2024-01-12 03:28:55 UTC ++++ src/gsCore/gsSysInfo.cpp +@@ -30,6 +30,9 @@ + # endif + #endif + ++#include ++#define HOST_NAME_MAX MAXHOSTNAMELEN ++ + namespace gismo + { +