From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/rss-glx/, x11-misc/rss-glx/files/
Date: Thu, 9 May 2024 13:18:26 +0000 (UTC) [thread overview]
Message-ID: <1715260702.203e73987e1303494cfb0eebb4f3c3c0948d47ee.juippis@gentoo> (raw)
commit: 203e73987e1303494cfb0eebb4f3c3c0948d47ee
Author: Alexander Miller <alex.miller <AT> gmx <DOT> de>
AuthorDate: Sun Mar 31 02:52:12 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> 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 <alex.miller <AT> gmx.de>
Closes: https://github.com/gentoo/gentoo/pull/36009
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
| 14 ++++++++++++++
| 1 +
2 files changed, 15 insertions(+)
--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];
--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() {
next reply other threads:[~2024-05-09 13:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-09 13:18 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-03 7:01 [gentoo-commits] repo/gentoo:master commit in: x11-misc/rss-glx/, x11-misc/rss-glx/files/ Joonas Niilola
2021-06-03 7:01 Joonas Niilola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1715260702.203e73987e1303494cfb0eebb4f3c3c0948d47ee.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox