From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7B8C8158064 for ; Thu, 9 May 2024 13:18:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF7A3E2C79; Thu, 9 May 2024 13:18:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B49AE2C77 for ; Thu, 9 May 2024 13:18:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 771C53430A4 for ; Thu, 9 May 2024 13:18:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 13F011A4E for ; Thu, 9 May 2024 13:18:26 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1715260702.203e73987e1303494cfb0eebb4f3c3c0948d47ee.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/rss-glx/, x11-misc/rss-glx/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/rss-glx/files/rss-glx-0.9.1-param-bound-mismatch.patch x11-misc/rss-glx/rss-glx-0.9.1-r4.ebuild X-VCS-Directories: x11-misc/rss-glx/ x11-misc/rss-glx/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 203e73987e1303494cfb0eebb4f3c3c0948d47ee X-VCS-Branch: master Date: Thu, 9 May 2024 13:18:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 581edbce-6b7f-4adc-a4d1-124077ef044f X-Archives-Hash: eb12488ce0769c957e36c15360ccd615 commit: 203e73987e1303494cfb0eebb4f3c3c0948d47ee Author: Alexander Miller gmx de> AuthorDate: Sun Mar 31 02:52:12 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu May 9 13:18:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203e7398 x11-misc/rss-glx: Fix mismatched array bounds for function parameters Signed-off-by: Alexander Miller gmx.de> Closes: https://github.com/gentoo/gentoo/pull/36009 Signed-off-by: Joonas Niilola gentoo.org> .../rss-glx/files/rss-glx-0.9.1-param-bound-mismatch.patch | 14 ++++++++++++++ x11-misc/rss-glx/rss-glx-0.9.1-r4.ebuild | 1 + 2 files changed, 15 insertions(+) diff --git a/x11-misc/rss-glx/files/rss-glx-0.9.1-param-bound-mismatch.patch b/x11-misc/rss-glx/files/rss-glx-0.9.1-param-bound-mismatch.patch new file mode 100644 index 000000000000..883dede1c8d4 --- /dev/null +++ b/x11-misc/rss-glx/files/rss-glx-0.9.1-param-bound-mismatch.patch @@ -0,0 +1,14 @@ +Fix mismatched array bounds for the parameters of function +rsVec_cross()'s declaration and definition. + +--- a/src/rsMath.c ++++ b/src/rsMath.c +@@ -43,7 +43,7 @@ float rsVec_normalize (float *v) + return length; + } + +-void rsVec_cross (float *v, float vec1[4], float vec2[4]) ++void rsVec_cross (float *v, float vec1[3], float vec2[3]) + { + v[0] = vec1[1] * vec2[2] - vec2[1] * vec1[2]; + v[1] = vec1[2] * vec2[0] - vec2[2] * vec1[0]; diff --git a/x11-misc/rss-glx/rss-glx-0.9.1-r4.ebuild b/x11-misc/rss-glx/rss-glx-0.9.1-r4.ebuild index a38286dc8927..7d6be4bd5a63 100644 --- a/x11-misc/rss-glx/rss-glx-0.9.1-r4.ebuild +++ b/x11-misc/rss-glx/rss-glx-0.9.1-r4.ebuild @@ -50,6 +50,7 @@ PATCHES=( "${FILESDIR}"/${P}-strict-aliasing.patch "${FILESDIR}"/${P}-variable-mismatch.patch "${FILESDIR}"/${P}-macro-if-scope.patch + "${FILESDIR}"/${P}-param-bound-mismatch.patch ) src_prepare() {