From nobody Thu Apr 11 08:17:24 2024 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 4VFXcP0RnCz5GyN2; Thu, 11 Apr 2024 08:17:25 +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 4VFXcP000Hz4bZ3; Thu, 11 Apr 2024 08:17:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712823445; 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=foVLyUh7jZqxPqcVvWuLxAh9kBNmJu/JjK5lfUzWFBU=; b=RJWbaHVxFlWO2Q4HB3bBvRVu8zyc5y2TMjNz2+areoyQaDC4uBMv334LLWAWvs/xdq2sQl ZEE0s1kW+rTx1ot+M8O+pZLZbPqU/0IKsP5qUef3cXkSP94Vl+Ua3v5qt33EonqLg/P3g5 tz/enNDuElxE/RlEL4O/b/px/2oM6Dyd/AEZufFyfLsK19TYOnh1DDGvoJYopRkInOLdb3 0qUdeKh5/kbvn1iDOaEuxyXWmzMc16q7TaKBUiMDaO/wGPCMSFXMXmWgfRfLQ/KQWQy6pD uHkhLWAG4jOk5LkvNmQKwnbR1Fpnwcr+O8SWyxDSIqE2C7FxGK0K1Lk776z+KQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712823445; a=rsa-sha256; cv=none; b=QnM13z7RNmzRNBOYJOcZv1iZslkI3kFR0SQcWwk/gEOBrsSpCdMQD4cfhemli44VEQQdOb N1mdyM4ZqthdN6aKBPYxLVeeHEutvhAo0yTdrJwrS4tsWva9jzYLWvM7eY9YdG0fM+yylR JKvlfxSNZTzlQei3ttYAI5qXoYkvRaVzdAvm/mKJuSOenYLYBsTo3a/mUM1y1pNuRwCPQm DmihttwTg96uEQuYuztmST/VeN7vFVF1Gmz1PxTxXW0F9gXW3S/DooWPhXgWNCaL+AC3oT 83XEAa8rsnKsip050EVP78QFUTrrCKzjmJjhEe1W7trjA0jSJWYf7YsBW+eZYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712823445; 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=foVLyUh7jZqxPqcVvWuLxAh9kBNmJu/JjK5lfUzWFBU=; b=CHD69x4Ee99n0vpGyRfj1k2b8qFAwnxETzzzt8wsnU2zZBbEpSbV116Vr1aBd1EAG+oVbm 5Voh2jUGoKKVBK6q0wqp0Y3W2DA03xvMXv7iCBUdipveMgaOmvPor2dcMUhpQxdxXW1hex rLfmNymkodgiNOmdc4FJDsjmT/Sgif0xezJ2lo8meB96cN3xXIRExoY17iPi+uc+E7dHAe zE+1V+ujs0W1LlQmdg7Wqidztooh3dfh9dyWXy9jl3fnlpYr+OFMRoLHrqsZUbZNsn/miV DFiJFmsa86ph33LKsTlRQ164Aq2x2lIB3hWFjtZdGJYmxKS0sXkmJGSuM2SVlQ== 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 4VFXcN6hztz1Cwf; Thu, 11 Apr 2024 08:17:24 +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 43B8HOs6022107; Thu, 11 Apr 2024 08:17:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43B8HOFr022104; Thu, 11 Apr 2024 08:17:24 GMT (envelope-from git) Date: Thu, 11 Apr 2024 08:17:24 GMT Message-Id: <202404110817.43B8HOFr022104@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: ced925f70cd1 - main - science/kplib: Fix build by removing -Werror promoting a warrning to an error 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: dev-commits-ports-all+owner@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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ced925f70cd14fcb7f46ffc812d6ac24f6eced46 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ced925f70cd14fcb7f46ffc812d6ac24f6eced46 commit ced925f70cd14fcb7f46ffc812d6ac24f6eced46 Author: Yuri Victorovich AuthorDate: 2024-04-11 03:46:15 +0000 Commit: Yuri Victorovich CommitDate: 2024-04-11 08:17:15 +0000 science/kplib: Fix build by removing -Werror promoting a warrning to an error Reported by: fallout --- science/kplib/files/patch-CMakeLists.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/science/kplib/files/patch-CMakeLists.txt b/science/kplib/files/patch-CMakeLists.txt index 99cbeca9ee61..27ccdfd27aad 100644 --- a/science/kplib/files/patch-CMakeLists.txt +++ b/science/kplib/files/patch-CMakeLists.txt @@ -1,8 +1,16 @@ ---- CMakeLists.txt.orig 2022-07-21 22:39:52 UTC +- removal of -Werror is to quiet this warning promoted to error: +- error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension] +- 612 | int oppedArray[size][size]; +- | ^~~~ + +--- CMakeLists.txt.orig 2023-04-09 05:04:30 UTC +++ CMakeLists.txt -@@ -4,7 +4,7 @@ project(kplib) +@@ -2,9 +2,9 @@ project(kplib) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror -fPIC") + project(kplib) + +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror -fPIC") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -fPIC") set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g") # Debug mode. -set(CMAKE_CXX_FLAGS_RELEASE "-O3 -march=native") # Default optimization. +set(CMAKE_CXX_FLAGS_RELEASE "-O3") # Default optimization.