public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/freerdp/files/, net-misc/freerdp/
Date: Wed, 22 May 2024 17:33:43 +0000 (UTC)	[thread overview]
Message-ID: <1716399204.836bf3fddd54b483b4a68a0ac7b2ec2a2b3d0805.floppym@gentoo> (raw)

commit:     836bf3fddd54b483b4a68a0ac7b2ec2a2b3d0805
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 17:31:07 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed May 22 17:33:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836bf3fd

net-misc/freerdp: fix pointer/integer type mismatch

Closes: https://bugs.gentoo.org/932407
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../files/freerdp-2.11.7-type-mismatch.patch       | 24 ++++++++++++++++++++++
 net-misc/freerdp/freerdp-2.11.7.ebuild             |  1 +
 2 files changed, 25 insertions(+)

diff --git a/net-misc/freerdp/files/freerdp-2.11.7-type-mismatch.patch b/net-misc/freerdp/files/freerdp-2.11.7-type-mismatch.patch
new file mode 100644
index 000000000000..731bbee4cb3c
--- /dev/null
+++ b/net-misc/freerdp/files/freerdp-2.11.7-type-mismatch.patch
@@ -0,0 +1,24 @@
+From b50f3818ab4dfca852e8c1dd009b6b64c31a0382 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Wed, 22 May 2024 13:23:36 -0400
+Subject: [PATCH] X11: fix pointer/integer type mismatch
+
+This was fixed on master as part of
+641022b7953bb04e80b5058cd07149d0cf454aee.
+---
+ client/X11/xf_graphics.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/client/X11/xf_graphics.c b/client/X11/xf_graphics.c
+index 5aa1fd48b5a3..a3793e64d9f1 100644
+--- a/client/X11/xf_graphics.c
++++ b/client/X11/xf_graphics.c
+@@ -438,7 +438,7 @@ static BOOL xf_Pointer_New(rdpContext* context, rdpPointer* pointer)
+ 
+ #endif
+ fail:
+-	WLog_DBG(TAG, "%s: %ld", __func__, rc ? pointer : -1);
++	WLog_DBG(TAG, "%s: %ld", __func__, rc ? pointer : NULL);
+ 	return rc;
+ }
+ 

diff --git a/net-misc/freerdp/freerdp-2.11.7.ebuild b/net-misc/freerdp/freerdp-2.11.7.ebuild
index b17a66b5c459..966ad5d7d626 100644
--- a/net-misc/freerdp/freerdp-2.11.7.ebuild
+++ b/net-misc/freerdp/freerdp-2.11.7.ebuild
@@ -106,6 +106,7 @@ src_prepare() {
 	local PATCHES=(
 		"${FILESDIR}/freerdp-2.11.2-clang.patch"
 		"${FILESDIR}/freerdp-2.11-Revert-codec-encode-messages-considering-endianness.patch"
+		"${FILESDIR}/freerdp-2.11.7-type-mismatch.patch"
 	)
 	cmake_src_prepare
 }


             reply	other threads:[~2024-05-22 17:33 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22 17:33 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18 19:46 [gentoo-commits] repo/gentoo:master commit in: net-misc/freerdp/files/, net-misc/freerdp/ Mike Gilbert
2023-12-07 21:00 Mike Gilbert
2023-06-07 10:34 Sam James
2022-05-02 21:25 Mike Gilbert
2021-10-24 14:29 Mike Gilbert
2021-10-23 16:09 Mike Gilbert
2021-08-11 15:04 Mike Gilbert
2021-07-31 19:57 Mike Gilbert
2020-08-30 21:42 Mike Gilbert
2020-07-18 13:19 Mike Gilbert
2020-06-08 17:25 Mike Gilbert
2020-05-14 22:15 Thomas Deutschmann
2020-05-09  4:15 Mike Gilbert
2020-04-10 14:49 Mike Gilbert
2019-12-12 20:15 Mike Gilbert
2019-10-07 17:18 Mike Gilbert
2018-12-04 17:31 Mike Gilbert
2018-12-02 17:15 Mike Gilbert
2018-05-16 21:19 Mike Gilbert
2017-12-14 20:04 Mike Gilbert
2017-08-26 19:05 Mike Gilbert
2017-07-28 21:03 Mike Gilbert
2017-03-20 20:58 Mike Gilbert
2015-11-08 17:44 Mike Gilbert
2015-09-16 20:57 Alexis Ballier

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=1716399204.836bf3fddd54b483b4a68a0ac7b2ec2a2b3d0805.floppym@gentoo \
    --to=floppym@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