From nobody Mon Oct 25 19:36: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 CBB70181B87D; Mon, 25 Oct 2021 19:36: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 4HdQDh5Sr1z4dyS; Mon, 25 Oct 2021 19:36: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 991E06851; Mon, 25 Oct 2021 19:36: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 19PJaK1C064206; Mon, 25 Oct 2021 19:36:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19PJaKke064204; Mon, 25 Oct 2021 19:36:20 GMT (envelope-from git) Date: Mon, 25 Oct 2021 19:36:20 GMT Message-Id: <202110251936.19PJaKke064204@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 6d244f048cc5 - main - cad/pcb: fix build on non-x86 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6d244f048cc5dd91c48697d901b6fc8e95a56894 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=6d244f048cc5dd91c48697d901b6fc8e95a56894 commit 6d244f048cc5dd91c48697d901b6fc8e95a56894 Author: Piotr Kubaj AuthorDate: 2021-10-25 19:28:40 +0000 Commit: Piotr Kubaj CommitDate: 2021-10-25 19:28:40 +0000 cad/pcb: fix build on non-x86 Same patch as the one used for graphics/gts, which this port bundles. --- cad/pcb/Makefile | 3 --- cad/pcb/files/patch-gts_rounding.h | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile index dbd157bad0c4..b040cb13ce69 100644 --- a/cad/pcb/Makefile +++ b/cad/pcb/Makefile @@ -64,9 +64,6 @@ NONE_DESC= No GUI support NONE_CONFIGURE_ON= --without-gui NONE_CONFIGURE_ENV= WISH=/usr/bin/true -ONLY_FOR_ARCHS= i386 amd64 -ONLY_FOR_ARCHS_REASON= uses x86-specific libc functions, has not been ported - DOCS_INFO= pcb .include diff --git a/cad/pcb/files/patch-gts_rounding.h b/cad/pcb/files/patch-gts_rounding.h new file mode 100644 index 000000000000..bb16d8e83a34 --- /dev/null +++ b/cad/pcb/files/patch-gts_rounding.h @@ -0,0 +1,16 @@ +--- gts/rounding.h.orig Mon Jun 17 12:05:45 2002 ++++ gts/rounding.h Wed Sep 24 12:57:41 2003 +@@ -28,11 +28,11 @@ + _FPU_SETCW(fpu_round_double); } + # define FPU_RESTORE {_FPU_SETCW(fpu_init);} + #else /* not HAVE_FPU_CONTROL_H */ +-# ifdef __FreeBSD__ ++# ifdef HAVE_FROATINGPOINT_H + # include + # define FPU_ROUND_DOUBLE (fpsetprec(FP_PD)) + # define FPU_RESTORE (fpsetprec(FP_PE)) +-# else /* not __FreeBSD__ */ ++# else /* not HAVE_FROATINGPOINT_H */ + # ifdef WIN32 + # ifdef _MSC_VER + # include