From nobody Wed Feb 22 15:18:08 2023 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 4PMKXx02Lvz3t6PN; Wed, 22 Feb 2023 15:18:09 +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 4PMKXw6dZHz3sDq; Wed, 22 Feb 2023 15:18:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677079088; 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=cnmB3Co86n8tzFY7ghqUFYwBuEVndmYxy1DWm3021Ls=; b=AOO2rf5As8ZRv7SDsFhXHHwEIkRbb3bJgMtvT2zSXbOXicR0XWazNWmkpzwVN43ZyLjEy7 KRa+zpcuAaHFpts6vAMBpmQIF7QnagM3eOzMtQxjivvvyqdpaiaOEoJv1+flz4e+slDvJc UftHQcqfhpm49fO4yk1tHBLrpLoUEAAb6gG1tjFPIX52iz7GHuWjZBnNJqhHoNx+5CHRhI RuacQIa194QQPm5wopKwXiRKWGJNUKZl5sKHXgFHn+9R52l1blf6PVbT0Ce3r9ZqFtYaK8 AkMISCPUae1Mwb5BcNJOESC0JmOSP7AvgI7EMXNNuXc+8jlJjWdK+cufv3/9/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677079088; 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=cnmB3Co86n8tzFY7ghqUFYwBuEVndmYxy1DWm3021Ls=; b=uBCUUpPsWlhbwU9U+eor7kepwlEnfd9cm5bE+DFWMzEAOg1iPDtI4erP+vOXKgOW5D/DeL H4aYT0P+Eofv9l8QTeqVF2oozhJlofz5Gs05NcqAseMyoCEe5rxR6VvgtoaHPFc4S5Naaj yYNT2AqOcGjYBan7WpAefldTpa7GkAyllwZPZ13k+R0o0nCYdVpXL17ZIxmFZGLVY9+NP3 +M7CXcx3TehX3MqczaHKegeWsBNn5cY5h9dOjNP6/abYT+3Ged1ixX2ZZ+l0vH/6mxR73c vFxq6VQ9Q0cAsAdIOFpf/tzjZPcXlS77nAaIQwrgWaEu1QAerUIcpXvVcchHSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677079088; a=rsa-sha256; cv=none; b=AdaY399Bfjf+HqVF6gKoxgIL4dFHzAJPyOJ6Ak6f4ecZT5Wd10mSK78GJUSx8YqA/HmoCe Xu8ojb3li4HwU/iSnMdT3PnAH6uaE2P/qFYwjVZ8bM7ZHJ2iSu2aQeE/w19ZnTGMr2wDuJ 4Aa8X8EDEkUrTIUnVcHAP+bAyLFG+OkQgMmmqe1pG4pKsraf1MPGXrFC3isfjFMkp7FIR/ O/8l+qTGWQZYfH3+o35FvxNPENnL4OksG4Z2dWiZArjlX0oT+Q5HUWMcJJ426Yv8RhxmL4 aD/wcGOcvn5o4AxK6mMa/pwCyQ5yb5Q/pGdIpf1b5YRKTtygGTlO0R6t+vRVIw== 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 4PMKXw5gnrz15CK; Wed, 22 Feb 2023 15:18:08 +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 31MFI8hC085819; Wed, 22 Feb 2023 15:18:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31MFI8DS085818; Wed, 22 Feb 2023 15:18:08 GMT (envelope-from git) Date: Wed, 22 Feb 2023 15:18:08 GMT Message-Id: <202302221518.31MFI8DS085818@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Diane Bruce Subject: git: 370297f9fba7 - main - comms/linrad: Update to work with newer base compiler 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: db X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 370297f9fba7a4c0f72591238b1f9fb2c8bed4a1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by db: URL: https://cgit.FreeBSD.org/ports/commit/?id=370297f9fba7a4c0f72591238b1f9fb2c8bed4a1 commit 370297f9fba7a4c0f72591238b1f9fb2c8bed4a1 Author: Diane Bruce AuthorDate: 2023-02-22 15:16:33 +0000 Commit: Diane Bruce CommitDate: 2023-02-22 15:16:33 +0000 comms/linrad: Update to work with newer base compiler Latest compiler is pickier about functions without prototypes remove unused variable --- comms/linrad/Makefile | 2 +- comms/linrad/files/patch-afcsub.c | 22 ++++++++++++++++++++++ comms/linrad/files/patch-caliq.c | 11 ++++++++++- comms/linrad/files/patch-elektor.c | 17 ++++++++++++++++- comms/linrad/files/patch-eme.c | 11 +++++++++++ comms/linrad/files/patch-help.c | 2 +- comms/linrad/files/patch-libfind1.c | 2 +- comms/linrad/files/patch-wide__graph.c | 11 +++++++++++ 8 files changed, 73 insertions(+), 5 deletions(-) diff --git a/comms/linrad/Makefile b/comms/linrad/Makefile index 8739a75faf0a..02554c584573 100644 --- a/comms/linrad/Makefile +++ b/comms/linrad/Makefile @@ -1,6 +1,6 @@ PORTNAME= linrad PORTVERSION= 4.02 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= comms hamradio MASTER_SITES= http://www.nitehawk.com/sm5bsz/linuxdsp/archive/\ http://www.sm5bsz.com/linuxdsp/archive/ diff --git a/comms/linrad/files/patch-afcsub.c b/comms/linrad/files/patch-afcsub.c new file mode 100644 index 000000000000..8c8e15d61ea5 --- /dev/null +++ b/comms/linrad/files/patch-afcsub.c @@ -0,0 +1,22 @@ +--- afcsub.c.orig 2023-02-21 23:02:52 UTC ++++ afcsub.c +@@ -692,7 +692,7 @@ int make_afc_signoi(void) + + int make_afc_signoi(void) + { +-int i, k, np,j; ++int i, k, np; + float t1,t2; + // Estimate S/N for the signal we see in mix1_eval data. + // Last time we used ag.fit_points blocks of eval data to evaluate +@@ -765,10 +765,8 @@ i=np; + if(t2 > 0.25*t1)t2=0.25*t1; + k=0; + i=np; +-j=0; + while(i != fftx_na) + { +- j++; + if(mix1_eval_avgn[mix1p0+i]>0) + { + if(mix1_eval_sigpwr[mix1p0+i]>t2) diff --git a/comms/linrad/files/patch-caliq.c b/comms/linrad/files/patch-caliq.c index 4b5038ba85f3..8a9fc99241f4 100644 --- a/comms/linrad/files/patch-caliq.c +++ b/comms/linrad/files/patch-caliq.c @@ -1,6 +1,15 @@ --- caliq.c.orig 2014-11-04 10:25:00 UTC +++ caliq.c -@@ -391,7 +391,7 @@ char s[80]; +@@ -144,7 +144,7 @@ for(j=0; j= 3 && ActiveMux <= 6 ) diff --git a/comms/linrad/files/patch-eme.c b/comms/linrad/files/patch-eme.c new file mode 100644 index 000000000000..795c221acfc0 --- /dev/null +++ b/comms/linrad/files/patch-eme.c @@ -0,0 +1,11 @@ +--- eme.c.orig 2023-02-21 23:04:27 UTC ++++ eme.c +@@ -1543,7 +1543,7 @@ return (x-(int)(x))*2*PI_L; + } + + +-void calculate_moon_data() ++void calculate_moon_data(void) + { + char s[80]; + int k, day; diff --git a/comms/linrad/files/patch-help.c b/comms/linrad/files/patch-help.c index cff872107ebd..e28724faa8fe 100644 --- a/comms/linrad/files/patch-help.c +++ b/comms/linrad/files/patch-help.c @@ -9,7 +9,7 @@ line=3; write_from_msg_file(&line, lir_errcod, screen_mode, ERROR_VERNR); } -@@ -730,7 +730,7 @@ void help_message(int msg_no) +@@ -730,7 +730,7 @@ if(msg_no < 0)return; { int i, line; if(msg_no < 0)return; diff --git a/comms/linrad/files/patch-libfind1.c b/comms/linrad/files/patch-libfind1.c index 63f7baff1885..644fa1cc8a93 100644 --- a/comms/linrad/files/patch-libfind1.c +++ b/comms/linrad/files/patch-libfind1.c @@ -1,6 +1,6 @@ --- libfind1.c.orig 2014-11-04 10:25:00 UTC +++ libfind1.c -@@ -30,7 +30,8 @@ +@@ -30,7 +30,8 @@ char *dirs[]={"/lib/i386-linux-gnu", char *dirs[]={"/lib/i386-linux-gnu", "/lib/x86_64-linux-gnu", "/lib", diff --git a/comms/linrad/files/patch-wide__graph.c b/comms/linrad/files/patch-wide__graph.c new file mode 100644 index 000000000000..f1f212b97973 --- /dev/null +++ b/comms/linrad/files/patch-wide__graph.c @@ -0,0 +1,11 @@ +--- wide_graph.c.orig 2023-02-21 22:04:43 UTC ++++ wide_graph.c +@@ -1591,7 +1591,7 @@ wg.ybottom=(int)(0.35F*(float)screen_height); + } + + +-void init_wide_graph() ++void init_wide_graph(void) + { + if (read_modepar_file(GRAPHTYPE_WG) == 0) + {