Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 6B5A41A921F for ; Sat, 26 Mar 2022 22:06:13 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id A508484E8E; Sat, 26 Mar 2022 22:06:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DC4B184E87 for ; Sat, 26 Mar 2022 22:06:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id iVOYjHuhgbzI for ; Sat, 26 Mar 2022 22:06:11 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5655484DB2 for ; Sat, 26 Mar 2022 22:06:11 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 43424FB24; Sat, 26 Mar 2022 22:06:11 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1648332371101200" MIME-Version: 1.0 Date: Sat, 26 Mar 2022 22:06:11 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/audio/ladspa To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20220326220611.43424FB24@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1648332371101200 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Sat Mar 26 22:06:11 UTC 2022 Modified Files: pkgsrc/audio/ladspa: distinfo Added Files: pkgsrc/audio/ladspa/patches: patch-src_plugins_sine.cpp Log Message: ladspa: fix build on SunOS To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 pkgsrc/audio/ladspa/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/audio/ladspa/patches/patch-src_plugins_sine.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1648332371101200 Content-Disposition: inline Content-Length: 1722 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/audio/ladspa/distinfo diff -u pkgsrc/audio/ladspa/distinfo:1.19 pkgsrc/audio/ladspa/distinfo:1.20 --- pkgsrc/audio/ladspa/distinfo:1.19 Mon Nov 1 20:30:27 2021 +++ pkgsrc/audio/ladspa/distinfo Sat Mar 26 22:06:10 2022 @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.19 2021/11/01 20:30:27 wiz Exp $ +$NetBSD: distinfo,v 1.20 2022/03/26 22:06:10 tnn Exp $ BLAKE2s (ladspa_sdk_1.17.tgz) = 9876c59c12ab9d15fab0fd6d9771d9a9e3b47af1fa286cdaf987d5e778ea0002 SHA512 (ladspa_sdk_1.17.tgz) = 37f94aa52b5a2f8709528989dea289eb01342f3bcb9e85d0f4829ddd9d90b2934a113db11100f09375a50f6612122b78156fec916f2c78a22406253d5cb394c7 Size (ladspa_sdk_1.17.tgz) = 71052 bytes SHA1 (patch-src_Makefile) = 7ec30356b85414d90194ad90b1ac50d1840aa947 SHA1 (patch-src_applyplugin.c) = 0a3fb3f02d46655d913249e8f6f81bad04b6e4bc +SHA1 (patch-src_plugins_sine.cpp) = e5b266e388ff8a568d598cb3e148ecc29e4e9148 Added files: Index: pkgsrc/audio/ladspa/patches/patch-src_plugins_sine.cpp diff -u /dev/null pkgsrc/audio/ladspa/patches/patch-src_plugins_sine.cpp:1.1 --- /dev/null Sat Mar 26 22:06:11 2022 +++ pkgsrc/audio/ladspa/patches/patch-src_plugins_sine.cpp Sat Mar 26 22:06:11 2022 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_plugins_sine.cpp,v 1.1 2022/03/26 22:06:11 tnn Exp $ + +cast pow(3) exponent to canonical type + +--- src/plugins/sine.cpp.orig 2021-09-10 08:50:46.000000000 +0000 ++++ src/plugins/sine.cpp +@@ -62,7 +62,7 @@ initialise_sine_table() { + g_pfSineTable[lIndex] = LADSPA_Data(sin(dShift * lIndex)); + } + if (g_fPhaseStepBase == 0) { +- g_fPhaseStepBase = (LADSPA_Data)pow(2, sizeof(unsigned long) * 8); ++ g_fPhaseStepBase = (LADSPA_Data)pow(2, (double)sizeof(unsigned long) * 8); + } + } + --_----------=_1648332371101200--