From nobody Mon Mar 13 00:05:50 2023 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 4PZcPV6SqWz3xqck; Mon, 13 Mar 2023 00:05:50 +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 4PZcPV35dPz3Nqy; Mon, 13 Mar 2023 00:05:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665950; 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=c2/pSjU9mllB/4B05FJj/QM4AhZMFaMmCGHFkBV/Ar8=; b=jt2UdjCjtNEL6HmZajnNoLpG4Bohxrdedof8diZPcyy9MhoMOCoDP5OwpZ5xt8sQU/m1pO HzBWvflEikirM0KHkYngmhrRCp/rupW2Ot+KpqHkvTkdbhR+nd2aMUhvpNGRDNMIpLT4kU 0StRdt/m6sV0XVMLONcEN+cmIHjQrvKKPs4uVsBKidKXc+RI7ZQipqSybsqWpqk9W4Xq4m X62VpXAk22c0WZHeqvyxmozNM3ujJiB5SzGd6MgrnuCpFhguGASENyCnNgzjWQJdGOXLni ojjH1xa7G6V5TvPDtA6mbWgPXbg9NqRqFJAiBQTaHQfTUeYmLTn2gZlKlGyU6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678665950; 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=c2/pSjU9mllB/4B05FJj/QM4AhZMFaMmCGHFkBV/Ar8=; b=UAm/SvYHE18Df6jxUvi8G19W+yFSdu7+5BCTNhanBsvYHAG3JHit2GIcGZyev4UT6yPsJv tGxCdb7gR+HubuSUsfk1UdN+NgEDIxDlB3ZWXz2VbtJkwojNI+t/biSeOghoUk0j8R9LY4 cKCMatUNLm8dQcc7FTGaFEUoJPsCY1WVaSTYRc46AW6QnNEoCVWcexw//TuOAVUt8/s58a o5aYcYAgs3kDSdlRZHYdsIIo4OCAvL8giMCBLY4XzOjgSidryO8JEjnwJBQ27lbW4K8en0 SmJztmgGbwGGh/N7CHTet50+3A3zp+Kbw+8D0B+dUwSHzIczrzCN4tNr3N+5LQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678665950; a=rsa-sha256; cv=none; b=RlyfKkpRumZoSWgrPDgeNo8aKlWfhseKufvnanu6Zi0f/gh8+TqvCmvfq7Eik/CJD3+DRD h2tRP/DlkT+PcTECZ8i8CiaYd7/ePOGea7z43yAePWkx4XSOfT+uIfgSOhpzGMsozmHTjQ u5MdvhDNp9UOw/IpyHnFm/kCzATaOqCh/xQKmB7ep0UTHZraGMpX4RCDJeNJ4me8O0KeQs i5jL5L0wAoQzFX6N7vdWFqvHxFhkmqSJShVzW4VC9JMlifSkCNoQuR912q54DIeOTsUgn5 87XzdL7PGmR0gNPJplaHj4v9sPKWlvZOzO82Ik6bioSbSeACvyR/KNx60AvCiA== 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 4PZcPV1wgmzWvH; Mon, 13 Mar 2023 00:05:50 +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 32D05o8O080537; Mon, 13 Mar 2023 00:05:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32D05ojV080536; Mon, 13 Mar 2023 00:05:50 GMT (envelope-from git) Date: Mon, 13 Mar 2023 00:05:50 GMT Message-Id: <202303130005.32D05ojV080536@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: 8d14ec26dde8 - main - cad/openvsp: fix build without libomp 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8d14ec26dde8ca012fb34a2b065d651d90ac5fc5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=8d14ec26dde8ca012fb34a2b065d651d90ac5fc5 commit 8d14ec26dde8ca012fb34a2b065d651d90ac5fc5 Author: Piotr Kubaj AuthorDate: 2023-03-13 00:02:55 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-13 00:02:55 +0000 cad/openvsp: fix build without libomp CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS) src/vsp_aero/Solver/CMakeLists.txt:9 (FIND_PACKAGE) -fpermissive necessary because of: /usr/include/c++/v1/__memory/compressed_pair.h:48:9: error: invalid conversion from 'int' to 'std::__1::basic_string, std::__1::allocator >*' [-fpermissive] --- cad/openvsp/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile index f15a9a522407..2526571f8921 100644 --- a/cad/openvsp/Makefile +++ b/cad/openvsp/Makefile @@ -24,8 +24,14 @@ LIB_DEPENDS= libdrm.so:graphics/libdrm \ libfltk.so:x11-toolkits/fltk \ libcpptest.so:devel/cpptest -USES= compiler:c++11-lang cmake:noninja localbase\ +USES= cmake:noninja localbase\ gl gnome jpeg xorg +.if !exists(/usr/include/omp.h) +CXXFLAGS+= -fpermissive +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lang +.endif USE_GITHUB= yes GH_ACCOUNT= ${GH_PROJECT} GH_PROJECT= OpenVSP