From nobody Tue Nov 30 13:31:44 2021 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 D5B5818A84F5; Tue, 30 Nov 2021 13:31:44 +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 4J3NRN49Bpz3px1; Tue, 30 Nov 2021 13:31:44 +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 6FC7B17381; Tue, 30 Nov 2021 13:31:44 +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 1AUDViB7013761; Tue, 30 Nov 2021 13:31:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AUDVibE013760; Tue, 30 Nov 2021 13:31:44 GMT (envelope-from git) Date: Tue, 30 Nov 2021 13:31:44 GMT Message-Id: <202111301331.1AUDVibE013760@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adriaan de Groot Subject: git: 80ed4eb5ea03 - main - audio/praat: fix build on 14- 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: adridg X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 80ed4eb5ea03d06791b7e9990b027559499c5a57 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638279104; 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=nvcD0B3ch1SaunmhA+oA7iOQM/Cb30xJYKWfk61gp38=; b=aJM+5JzkCxCUUtcIF0pyqvTM7316vHKaB0zMvd6heSQPL7yYxHb1FwewsHFq+Eo2HqzQYu PQ+Mu26D3H+V8fTZ4y3X0gB5QFBE6/aMiOI+JVhiBBdHOU6s2WxZ+gKbVlg1F2jNLpwC5E NSaFjeXbpzsFOmW863bqiK9+vVM8yrEbseX25MKy5VuTX/5OrcXU169bMiqmD9rYCOHRwk 9t3JL+96S2BRp5iH1JtbS415sA/d0ZarJinnXBifABwL+WvnAEYAOOzsrvavL+I4usMlEV VRuLMv8QWBkmkmef3BoO0p9AZO7vKBU/h861RDuILd3zZdopW6rODj5Hewasrw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638279104; a=rsa-sha256; cv=none; b=xtwIx3/PKmPfvAlVJ7N/tnemIVNPs+4ZI/UMyMFpp0yOqf/6fJuiEln4xXDW12/zfuIgom qWbvGbvAukhhOiGW7HbmsHA6P8vJf54ofmLvWeyC91+8yPiUXe7LXZOoqHqDAgPOpcpnEO LtMhe5QVFh4BUOVF2W3mDWyPkct1kPYKdU48JJFM3mDNLK6wWKpXj58kBPcvvVea7oGv6I Ag6iRD29VQraZkDmOFABAP/gMqA/3NVoTH+hzqV7yyie1IqLB2F6ajE08S5vwT3xDujLae EMrUAdWfLvax+zGEEYD/A6Nnx8vMaqZP3TTKR+y82jP71MhfsFXJSHmYziBrSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=80ed4eb5ea03d06791b7e9990b027559499c5a57 commit 80ed4eb5ea03d06791b7e9990b027559499c5a57 Author: Adriaan de Groot AuthorDate: 2021-11-30 13:29:18 +0000 Commit: Adriaan de Groot CommitDate: 2021-11-30 13:29:18 +0000 audio/praat: fix build on 14- Build failures reported upstream at https://github.com/praat/praat/issues/1933 The build failure is in test-code, in a static function that does nothing useful -- looks like some C++-experimentation that is still in the source tree. Massage it away so that builds on 14- can happen. Bump PORTREVISION since on pre-14- it might now pick a different constructor, and so potentially the package changes. --- audio/praat/Makefile | 1 + audio/praat/files/patch-fon_Praat__tests.cpp | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/audio/praat/Makefile b/audio/praat/Makefile index e9c592423126..3f1ac399450e 100644 --- a/audio/praat/Makefile +++ b/audio/praat/Makefile @@ -1,6 +1,7 @@ PORTNAME= praat DISTVERSIONPREFIX= v DISTVERSION= 6.2.01 +PORTREVISION= 1 CATEGORIES= audio science MAINTAINER= adridg@FreeBSD.org diff --git a/audio/praat/files/patch-fon_Praat__tests.cpp b/audio/praat/files/patch-fon_Praat__tests.cpp new file mode 100644 index 000000000000..bf0c6515f662 --- /dev/null +++ b/audio/praat/files/patch-fon_Praat__tests.cpp @@ -0,0 +1,11 @@ +--- fon/Praat_tests.cpp.orig 2021-11-30 13:24:45 UTC ++++ fon/Praat_tests.cpp +@@ -742,7 +742,7 @@ class Vec { (public) + }; + + static Vec copy (Vec x) { +- return x; ++ return Vec(x); + } + + /*static void tryVec () {